Agent Foundations
What an AI agent really is, how it uses tools and context, and how to make one dependable enough for high-stakes work.
2 modules · 6 lessons~18 hoursUpdated 2026-10-30Certificate included
- Lessons6
- Quizzes6
- Sources36
- Of study~18h
About this course
About this course
The second course in the LLM and Agent Foundations path. It builds the core mental model from first principles: an LLM call, then an LLM with tools, then a loop that decides its own next step. It then covers the engineering that makes agents dependable: tool design, context engineering for long documents, structured and grounded outputs, the standard workflow patterns, failure modes and a first small eval. Every idea is worked through on a realistic document-heavy workflow and practised in Claude Code and claude.ai on your Claude subscription.
About the running example
The examples follow a fictional property-law (conveyancing) firm in England and Wales: its agents read title registers, leases and property searches. It's a case study, chosen because its documents are long, structured and high-stakes. You don't need a legal background, and the same patterns apply to contracts, insurance claims, invoices, support tickets or patient records. In the lessons, a matter is one client's case and a solicitor is the lawyer who signs work off.
What you'll learn.
- 1Explain the difference between an LLM call, an augmented LLM, a workflow and an agent, and decide which one a real task needs
- 2Design tools for an agent, including schemas, error messages and mistake-proofing, and connect one to Claude Code as a script or MCP server
- 3Engineer the context an agent sees when it works through long documents such as contracts, reports and forms
- 4Produce schema-validated JSON with evidence quotes, and check those quotes against the source in code
- 5Map chaining, routing, parallelisation, orchestrator-workers and evaluator-optimizer onto the steps of a real business workflow
- 6Identify agent failure modes, including prompt injection from documents, and measure an agent with a 10-case eval
2 modules, 6 lessons.
7h 30m of lessons
Module 1 · 3 lessons · 3h 40m
What agents are
The mental model: from a single model call to a loop with tools, and the two things that decide how well it works: the tools it can use and the context it sees.
- 1What is an agent?From a single model call to an LLM with tools to a loop that picks its own next step, and how to tell which one a real task needs.1h 10m7-question quiz6 sources
- 2Tools and the agent-computer interfaceHow tool calling works on the wire, how to design tools a model uses correctly, and how MCP lets one tool server work in many harnesses.1h 15m7-question quiz6 sources
- 3Context engineeringWhat an agent actually sees on each turn, why more context can make it worse, and how to manage long documents such as contracts, reports and forms.1h 15m7-question quiz6 sources
Module 2 · 3 lessons · 3h 50m
Making agents dependable
Typed, evidence-backed outputs, the standard patterns for composing model calls, and the failure modes you must design and test for.
- 4Structured outputs and groundingMake an agent return typed, schema-validated JSON in which every finding carries an exact quote that your code can check against the source document.1h 15m7-question quiz6 sources
- 5Workflow patternsThe five standard ways to compose model calls (chaining, routing, parallelisation, orchestrator-workers and evaluator-optimizer), when each one pays for itself, and how each maps onto a real workflow step in Claude Code, the Agent SDK and eve.1h 15m7-question quiz6 sources
- 6Risk and first evalsHow agents fail in high-stakes work (fabrication, omission, prompt injection from documents, unapproved actions), the controls that contain each failure, and a first 10-case eval that tells you whether a change made your agent better or worse.1h 20m7-question quiz6 sources
A document review agent in Claude Code
Build a Claude Code agent that reviews ten synthetic official records with a subagent, a skill and your own lookup tool, returns schema-validated JSON with checked evidence quotes, and is measured by a 10-case eval. Runs entirely on your Claude subscription.
Finish it. Get certified.
Complete every lesson of Agent Foundations and you get a certificate with your name on it. Free, like the course.
- A public page with a certificate ID anyone can check
- Download it as a PDF
- Add it to LinkedIn in one click
Agent Foundations, answered.
Is Agent Foundations free?
Yes, for everyone: all 6 lessons, 6 quizzes, the capstone brief and the certificate are free, with no card and no trial. The hands-on exercises need the tools listed under Prerequisites.
Do I get a certificate?
Yes. Finish every lesson of Agent Foundations and you get a certificate with your name and a certificate ID, on a public page anyone can check. Finishing every course in a learning path earns the path certificate too. You can download each one as a PDF and add it to LinkedIn. They're certificates of completion from the Coders In Hoods AI Academy, not an accredited qualification.
How long does Agent Foundations take?
About 18 hours: 2 modules and 6 lessons, at your own pace. Your progress is saved to your account, on every device.
Which roles is it for?
It's on the AI Engineer and Forward Deployed Engineer and Machine Learning Engineer roadmaps: the courses those jobs ask for, in the order to take them.
What do I need before I start?
Comfortable reading and writing TypeScript and using a terminal. Have used a chat assistant such as claude.ai. A Claude subscription with Claude Code installed.
