Learn & Build Agents

    ↑ ↓ to choose · Enter to open · Esc to close

    Learn & Build Agents

    Understand how an AI agent works from the inside: short lessons in animated diagrams where you switch parts on and off and see what changes.

    Start with lesson 1 →

    Your progress stays in this browser only. No login and no cookies.

    Customerin the chatAgentthe loop: model and toolsModel (LLM)decides the next stepPromptwho it is, rules, toneMemorythe conversation so farLoopyour codeToolsstore functionsStore systemorders and policyLimitsin codeSupport repapproves what goes overwhere is 4805?in transit"arrives on the 22nd"
    Switch a piece off

    Remove a piece of the agent and see what changes in the answer.

    The example in every lesson: the support agent of a fictional online store, with synthetic data. Who writes this and how the site handles sources →
    • 25 lessons
    • 73 hands-on steps
    • 148 sources cited
    • 17 real cases

    Where to start, depending on your role

    01

    Foundations

    Where to start: what an agent is and what happens in a call to the LLM.

    02

    Building the agent

    From a bare model to an agent with tools, a loop and the code around it.

    Tools and the loop

    How the store agent looks things up and acts: the model asks for the tool, your code runs it, and the result goes into the conversation for the next turn. Turn off the description, step through the turns and break the refund.12 min · Beginner · 9 steps

    Workflow or agent

    The same support service built two ways, in the same places on screen. Send the same messages to both and see who decides the path, who fails silently and what freedom costs.11 min · Beginner · 9 steps

    The harness: the code around the model

    The agent worked on the happy path. Now break it on purpose: take down the API, freeze the tool, trap the loop, and see which piece catches each failure.12 min · Intermediate · 9 steps

    The agent's architecture

    The pieces from the earlier lessons become files in a project. Click a file and light up the agent piece it implements; then see the map that guides whoever writes the code.9 min · Beginner · 8 steps

    Context and memory

    The customer comes back the next day and asks "what about that exchange?". The model only knows what is in the call's context: what to put there, what to summarize, what to keep between conversations and what never to keep.11 min · Intermediate · 8 steps

    Search and RAG

    The return policy fits whole in the context, and then search does not pay off. When the base grows, RAG comes in: chunks, vectors, the question's neighbors, and the trap of the passage that is similar but wrong.14 min · Intermediate · 9 steps

    Search that gets it right

    Search by meaning misses the error code the customer typed. How to measure the search before the answer, combine word and meaning, reorder with a reranker, and when to let the agent search on its own.12 min · Intermediate · 9 steps

    MCP: tools for any agent

    The store wants the same buscar_pedido in the chat, in the team assistant and on WhatsApp. Write it three times, or once in an MCP server? And what changes when any agent can connect.12 min · Intermediate · 9 steps
    03

    Agentic architectures

    When to use a workflow, an agent or several agents.

    04

    Trust in production

    How to know it works, and find where it broke.

    05

    From prototype to product

    The PM questions that decide whether it is worth it.