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

Course overview

Agent Foundations

Free · sign in to start and track progress

1 · What agents are

  • 1What is an agent?

    Exercise answers

    • Answer: Watch the agent loop in Claude Code
    • Answer: Run the same task through the Agent SDK
  • 2Tools and the agent-computer interface
  • 3Context engineering

2 · Making agents dependable

  • 4Structured outputs and grounding
  • 5Workflow patterns
  • 6Risk and first evals
CapstoneA document review agent in Claude CodeReference implementation

Module 1 · What agents are · Lesson 1

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

70 min 1 video 3 exercises 7-question quiz Answers
Setup for the exercises:Install Claude CodeNode.js, pnpm and TypeScriptGet an OpenRouter keyOpenRouter or a local model?

By the end of this lesson you can

  • Explain the difference between an LLM call, an augmented LLM, a workflow and an agent, using precise definitions
  • Trace an agent loop turn by turn and identify the model's decisions and the harness's work in each turn
  • Compute how per-step reliability compounds across a multi-step process, and use that to argue for or against autonomy
  • Classify the steps of a business workflow as code, single call, workflow, agent or human-only, and justify each choice

On this page

  • Start with one model call
  • The augmented LLM
  • Workflows and agents
  • A loop, turn by turn
  • What a harness gives you
  • The arithmetic of autonomy
  • Conveyancing steps, classified
  • Misconceptions
  • Where this goes next
  • Summary
  • Sources & further reading
  • Quiz

In this lesson

  1. 01Start with one model call
  2. 02The augmented LLM
  3. 03Workflows and agents
  4. 04A loop, turn by turn
  5. 05What a harness gives you
  6. 06The arithmetic of autonomy
  7. 07Conveyancing steps, classified
  8. 08Misconceptions
  9. 09Where this goes next
  10. 10Summary

Sources & further reading

  • ReAct: Synergizing Reasoning and Acting in Language ModelsPaper · Yao et al. · 2022The paper that popularised interleaving reasoning with actions and observations, which is the loop every modern agent harness runs. Section 2 and Figure 1 are enough.
  • Building effective agentsLab research · Erik Schluntz, Barry Zhang · Anthropic · 2024The source of the workflow-versus-agent distinction used throughout these courses. Read the opening sections on definitions and on when (and when not) to use agents. The page now notes that some tooling details are dated.
  • Large Language Model Agents (CS294/194-196, Fall 2024)University · UC Berkeley RDIA full university course on LLM agents with recorded lectures. The early lectures on reasoning, planning and tool use give a wider view than any single blog post.
  • How the agent loop worksDocs · AnthropicHow the loop that powers Claude Code and the Claude Agent SDK actually runs, with a worked turn-by-turn example. Read "The loop at a glance" and "Turns and messages".
  • Agent SDK overviewDocs · AnthropicThe comparison table of Agent SDK, Claude Code CLI, Client SDK and Managed Agents. Useful for placing the harnesses you will use in this path.
  • Risk Outlook report: The use of artificial intelligence in the legal marketDocs · Solicitors Regulation AuthorityThe regulator's view of AI in law firms. Read the "Accountability and governance" section, which is where the supervision and self-checking warnings quoted here come from.
Free · sign in to start

Sign in to keep reading.

Free, no card. We use your account to save progress, quiz scores, bookmarks and occasionally send updates from our team.

  • 10 more sections
  • 3 hands-on exercises
  • A 7-question quiz
  • Progress, quiz scores and bookmarks