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

Understand what goes into and comes back from a model API call, store your key safely, and read token usage so you can predict cost before you build.

Module 2: Get output your code can use

Use system prompts to set fixed rules, request JSON that matches a schema, and handle the bad, empty or malformed responses that real traffic produces.

Module 3: Answer questions from your own documents

Build retrieval over your own files: turn text into embeddings, split and store documents, search for the relevant parts, and make the model answer only from what it found.

Module 4: Let the model call your functions

Give a model tools it can request, describe them so it uses them correctly, and treat every tool call as untrusted input that your code checks before acting.

Module 5: Build an agent that knows when to stop

Turn tool calling into an agent loop, set hard limits on steps, time and spend, recognise the ways agents fail, and keep a person in charge of actions that matter.

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

Scope an app small enough to finish, write a spec before asking for code, build in small checked steps with version control, and debug without going in circles.

Module 7: Test the output before you trust it

Replace spot checks with evaluations: 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

Bring down cost and wait time without losing quality, defend against prompt injection, and handle keys, personal data and logs responsibly 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).