Learn & Build Agents

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

    How teams do it

    Companies and researchers who explained in public how they build and evaluate agents. Each case links to a lesson.

    On each card, what the source says is kept apart from my reading. Only numbers the source published, with link and date.

    17 cases

    OpenAI (Ryan Lopopolo) · feb/2026

    Harness engineering: leveraging Codex in an agent-first world ↗

    • Building the agent
    • Trust in production
    What the source says

    In five months, three engineers steered agents that wrote about a million lines and 1,500 PRs, with no hand-written code. "Humans steer. Agents execute." The AGENTS.md is about 100 lines long and works as an index.

    My reading

    The work becomes setting up the agent's environment: a short map, rules in linters and tests, and verification loops.

    Related lesson: Traces and failure modes →

    Anthropic · jan/2026

    Demystifying evals for AI agents ↗

    • Foundations
    • Trust in production
    What the source says

    Defines task, trial and grader, and separates pass@k (getting it right at least once in k trials) from pass^k (getting it right every time). At 75% per trial, pass^3 is close to 42%.

    My reading

    For an agent that serves customers, the measure that matters is getting it right every time: pass^k.

    Related lesson: Why the answer varies →

    Anthropic · sep/2025

    Effective context engineering for AI agents ↗

    • Building the agent
    What the source says

    Context engineering is curating the set of tokens the model reads at inference. With more tokens, the ability to recall the context drops ("context rot"). The goal is the smallest possible set of high-signal tokens.

    My reading

    Fitting in the window is not the criterion. The criterion is helping decide the answer.

    Related lesson: Search and RAG →

    OpenAI · apr/2025 and may/2025

    Sycophancy in GPT-4o and Expanding on what we missed ↗

    • Building the agent
    • Trust in production
    What the source says

    A GPT-4o update made the model sycophantic and was rolled back starting April 28. Offline evals and A/B tests looked good; there was no specific sycophancy eval.

    My reading

    An eval only protects what it measures. A change in behavior calls for a new test case and someone reading conversations.

    Related lesson: Prompts in production: versions and regressions →

    Cemri et al., UC Berkeley · mar/2025

    Why Do Multi-Agent LLM Systems Fail? ↗

    • Agentic architectures
    • Trust in production
    What the source says

    More than 1,600 annotated traces from 7 multi-agent frameworks. The MAST taxonomy has 14 failure modes in 3 categories: system design issues, inter-agent misalignment and task verification. It was built from 150 traces, with a kappa agreement of 0.88 between experts.

    My reading

    Naming the failure comes before fixing it. The three categories also work as starting labels for a single agent.

    Related lesson: Traces and failure modes →

    Anthropic · nov/2024

    Introducing the Model Context Protocol ↗

    • Building the agent
    What the source says

    An open standard for connecting AI assistants to the systems where data lives. Each new source required its own implementation; MCP proposes a single protocol, with an open specification, SDKs and servers.

    My reading

    MCP pays off when several agents use the same tools. With a single agent, calling the tool directly is simpler.

    Related lesson: MCP: tools for any agent →

    Anthropic · sep/2024

    Introducing Contextual Retrieval ↗

    • Building the agent
    What the source says

    Adding context to each chunk reduced retrieval failures (top-20) by 35%; with contextual BM25, 49%; with reranking, 67%. A knowledge base under 200 thousand tokens can go whole into the prompt.

    My reading

    RAG is the answer for a large knowledge base. For a small one, start with the whole document and caching.

    Related lesson: Search and RAG →