Coders In Hoods
  • Courses
  • Roles
  • Blog
  • Setup

Coders In Hoods AI Academy

Every course is free. Sign in to start, and your progress, quiz scores and bookmarks follow you.

AI Academy

  • Courses
  • Paths
  • Setup guides
  • How we teach

Role roadmaps

  • AI Engineer
  • Forward Deployed Engineer
  • Machine Learning Engineer
  • All roles

Coders In Hoods

  • The agency
  • Coaching for teams
  • Blog
  • LinkedIn
  • X (Twitter)

Contact

codersinhoods@gmail.com

© Coders In Hoods · since 2019

  1. AI Academy
  2. /
  3. Path 1
  4. /
  5. Agent Foundations
BeginnerFree coursePath 1 · LLM and Agent Foundations · Part 2 of 3

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

See the curriculum
  • 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.

Outcomes

What you'll learn.

  1. 1Explain the difference between an LLM call, an augmented LLM, a workflow and an agent, and decide which one a real task needs
  2. 2Design tools for an agent, including schemas, error messages and mistake-proofing, and connect one to Claude Code as a script or MCP server
  3. 3Engineer the context an agent sees when it works through long documents such as contracts, reports and forms
  4. 4Produce schema-validated JSON with evidence quotes, and check those quotes against the source in code
  5. 5Map chaining, routing, parallelisation, orchestrator-workers and evaluator-optimizer onto the steps of a real business workflow
  6. 6Identify agent failure modes, including prompt injection from documents, and measure an agent with a 10-case eval
Curriculum

2 modules, 6 lessons.

7h 30m of lessons

  1. 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.

    1
    1. 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
    2. 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
    3. 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
  2. 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.

    2
    1. 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
    2. 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
    3. 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
Capstone

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.

Open the project brief
Certificate · free

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
It also counts towards the LLM and Agent Foundations path certificate, for finishing all 3 courses in Path 1.
Sample
FAQ

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.

Role roadmaps

Part of these roadmaps

  • Become an AI Engineer
  • Become a Forward Deployed Engineer
  • Become a Machine Learning Engineer

Before you start

Prerequisites

  • 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
Path 1

More in LLM and Agent Foundations.

See the whole path
Next in LLM and Agent Foundations · Course 3Building Agents with Claude and eveBuild real agents on production harnesses: Claude Code, the Claude Agent SDK and Vercel's eve, with skills, subagents and human approval built in.
  • IntermediateAI · Transformers

    LLMs for Engineers

    How large language models are built, trained and run, so you can reason about their behaviour, cost and failure modes in production.

    9 lessons ~18hFree