Build with AI: APIs, agents and small apps

Call model APIs, get structured output, search your own documents, build tool-using agents and ship a small tested app.

Chat assistants are useful, but at some point you want AI inside your own tools: an app that reads your documents, sorts your data or takes actions for you. Getting there means learning what the chat window hid from you. Models forget everything between calls, output needs a schema before code can use it, and agents need limits or they loop. Prompt injection can turn your own app against you. This course teaches each of these with small builds, using an AI coding assistant to write most of the code while you learn to read it, test it and ship it.

What you'll be able to do

Syllabus

Module 1: Make your first call to a model API

You will learn what you send to a model API and what comes back, how to keep your key safe, and how to read token usage so you can work out the cost before you build.

Module 2: Get output your code can use

Set fixed rules with a system prompt, ask for JSON that matches a schema, and deal with the bad, empty or malformed replies that real traffic brings.

Module 3: Answer questions from your own documents

You will build search over your own files. You turn text into embeddings, split and store your documents, find the parts that match a question, and have the model answer only from those parts.

Module 4: Let the model call your functions

Give a model tools it can ask to use, and describe them well enough that it uses them correctly. Your code checks every tool call before acting on it, the same way it would check any untrusted input.

Module 5: Build an agent that knows when to stop

You will turn tool calling into an agent loop and set hard limits on steps, time and spend. You will also learn the ways agents fail and how to keep a person in charge of actions that matter.

Module 6: Build a small app with an AI coding assistant

You'll scope an app small enough to finish and write a spec before asking for any code. Then you'll build it in small, checked steps with version control, and debug without going round in circles.

Module 7: Test the output before you trust it

Stop relying on spot checks. Build a test set from real cases, score outputs with exact checks, rules and model graders, and compare versions before you ship a change.

Module 8: Keep it cheap, fast and safe

Make your app cheaper and faster without losing quality, defend it against prompt injection, and handle keys, personal data and logs properly before real users arrive.

Frequently asked questions

How long does the course take?

About twelve hours of lessons and builds across eight modules, plus the final project. Most people take six to eight weeks at two to three hours a week.

Do I need to know how to code?

You need to be willing to read code and run it. An AI coding assistant writes most of it, and each lesson explains what the code should do in plain words first. Some prior experience with any programming language makes the course faster.

Which model provider should I use?

Any major provider works, such as OpenAI, Anthropic or Google. The ideas are the same across them. Models, prices and limits change often, so the course shows you where to look them up rather than quoting them.

What will it cost to run the exercises?

You pay the model provider for what you use. The builds are small, and you set a monthly spending limit in lesson 1.1 before making any calls. Check current pricing on the provider's page.

How is this different from Automate your work with AI and no-code tools?

That course builds automations in tools such as Zapier, Make and n8n without code. This one works directly with model APIs and code, which gives you more control and more responsibility for security and testing.

Explore more

Junxiong-WFG Organisation is an authorised representative of AIA Financial Advisers Private Limited (Reg. No. 201715016G).