Agentic Engineering Handbook
The definitive OpenAI, Anthropic, Google, MCP, Harness, Evals, and Production Agent Systems learning roadmap.

If this repository helps you, consider giving it a ⭐
Why This Repository?
The AI industry has entered the Agentic Era. Building production-grade AI systems now requires mastering agents, tool use, MCP, memory, long-running workflows, coding agents, agent harnesses, evals, and safety — but the knowledge is scattered across OpenAI blogs, Anthropic engineering posts, SDK docs, cookbooks, and research papers.
This repository consolidates 233 curated resources into one structured learning roadmap.
The goal: Become a world-class Agentic Engineer.
How To Use This Handbook
Pick the path that matches your starting point:
- New to agents: follow the Learning Roadmap through the core Phases 0–6, then continue to Phase 7 for advanced coursework. Treat each
Read First, Then Read, and Build Exercise as a checklist.
- Already building LLM apps: start at Phase 2 or Phase 3, then fill gaps in agent loop, tool calling, evals, and production engineering.
- Trying to build projects: use the phase-level
Build Exercise prompts, then branch into Applied Practice Tracks for coding agents, security, code review, or SRE.
- Looking for references: jump to the Full Reading Table. Read
P0 first, use P1 for implementation detail, and keep P2 as optional background.
AI Engineering Skills Map
Start with Andrew Ng’s The AI Engineering Skills Map (P0) for a broader view of the skills behind this roadmap. It identifies four areas; the connections below are this handbook’s interpretation.
| Skill Area |
Connection to This Handbook |
| Building and deploying AI applications |
Phases 1–4 cover agent building blocks and runtime design; Phase 6 adds evaluation and production practices, and Phase 7 extends into training and search. |
| Software engineering fundamentals |
Apply architecture, testing, security, and reliability tradeoffs throughout the exercises. The handbook assumes these foundations and does not replace a software engineering curriculum. |
| Using coding agents |
Phase 0 explains the agent loop; Phases 3–5 develop context management, orchestration, and coding workflows. |
| Shaping the build |
Bring product judgment, business context, and user goals to every Build Exercise and Applied Practice Track. Decide what to build and how to validate its value. |
For each project, define the user problem and success criteria, choose an appropriate scope, then use implementation and evaluation to test those decisions.
Shaping the task: Read Felix Rieseberg’s How to be more ambitious: A tutorial for humans with models (P1) for four ways to rethink AI-assisted work: speed (finish the same work faster), altitude (focus on the ultimate outcome), depth (use raw evidence, professional methods, and external validation), and range (draw on methods from other fields). Focus on changing how the work is done, beyond asking the model to sound like an expert. Treat this as practitioner guidance rather than a systematic capability evaluation.
Task design exercise: Rewrite an existing task three ways: clarify the outcome beyond the immediate deliverable, deepen the methods and evidence, and introduce a useful technique from another field. For each version, name the required data, tools, and an external check of success. As a handbook adaptation of the article’s ambitious-goal advice, set challenging, verifiable targets with explicit budgets and stopping conditions.
Enterprise delivery: Read What FDE means at OpenAI in Phase 6 for a practical connection between business context, domain expertise, production evals, and reusable solutions.
Learning Roadmap
Phase 0 — Agent Loop From Scratch
If you treat Claude Code as a coding CLI, many capabilities can feel like magic: it reads files, runs commands, edits code, delegates work, and stays oriented during complex tasks.
From an engineering perspective, the core is much simpler:
model + tools + one loop.
Understanding that loop makes the rest of the system easier to reason about:
- When the agent should plan first, and when it should act immediately
- Why an explicit todo list reduces drift in longer tasks
- Why subagents improve exploration while protecting the main context
- How skills, MCP, and hooks each add capability around the same core loop
These pages are based on the upstream English Markdown tutorials from shareAI-lab/mini-claude-code, with added Study Notes and inline source code for this handbook.
Supporting files are included in the same folder: requirements.txt, .env.example, v0_bash_agent_mini.py, and skills/.
Next reference: minion.py is a compact, single-file coding agent worth reading after this lab. It shows how an OpenAI-compatible agent loop grows to include tool calls, sessions, resume, approvals, memory, and context compaction.
Phase 1 — Agent Foundations
Build shared vocabulary for workflow vs agent, tool loop, handoff, guardrails.
Key Mental Models
Why agents matter: AI as leverage
What if your impact could grow without every new result requiring another hour of your work? In his Cornell lecture, Hyung Won Chung uses leverage—getting more output from a given input—to explain the opportunity. Drawing on Naval Ravikant’s framework, he groups leverage into human labor, capital, and code/media:
| Leverage type |
Example from the lecture |
How output scales |
| Human labor |
Organize thousands of workers to build a pyramid. |
Other people’s effort expands what one person can accomplish, with coordination overhead. |
| Capital |
Use borrowed money alongside your own funds to invest in a larger asset. |
More capital increases exposure to an asset’s gains and losses. |
| Code |
Build an app that serves another user while you sleep. |
Software can reach more users without repeating the development work for each one. |
| Media |
Record a lecture and publish it on YouTube. |
Each additional viewer can benefit without another live lecture. |
AI agents combine human labor and code leverage: they can perform delegated work while running as software that can be replicated. Chung connects this to individuals and small teams doing more, lower barriers to learning, and AI helping synthesize knowledge for scientific progress. The engineering opportunity is to turn that potential into reliable work through tools, state, verification, and recovery.
Start with your own bottleneck: Which recurring task could you delegate, reuse across projects, or make available to more people? Use that task as a candidate for the agent you build in this roadmap.
Source: Hyung Won Chung (OpenAI) — Cornell AI history lecture.
Should I build an agent? (4-question checklist from Barry Zhang’s talk - Anthropic)
| Question |
If No → Workflow |
If Yes → Agent |
| Is the task complex enough? |
Decision tree is fully mappable |
Ambiguous problem space |
| Is the task valuable enough? |
<$0.10 per run |
>$1 per run, cost doesn’t matter |
| Are all core capabilities doable? |
Weak links break the chain |
Model handles every step well |
| Is error cost low & detectable? |
High cost + hard to detect → human-in-the-loop |
Errors caught by tests/CI |
Think like the agent. Most failures come from designing with a human perspective. Put yourself inside the agent’s context window: you only see ~10K–20K tokens (system prompt + tool descriptions + recent observations). Ask: does the agent have enough information to act correctly at each step?
→ Source: How We Build Effective Agents
Read First
Then Read
Decision components: For classification, routing, and rubric-based scoring, see Decision Models — Use, Train & Evaluate in Phase 7. Read the architecture overview and API guide first; return to the training tutorial when you are ready to build your own decision model.
Prompting experiment: Read the provider guides first, including the guidance for your chosen model. Treat prompt repetition as a hypothesis to test: compare the original input with two copies on a fixed dataset, measuring accuracy, input/output tokens, cost, and latency. The paper tested early-2025 models, with stronger gains without reasoning and smaller gains when reasoning was encouraged; long repeated inputs can increase latency.
Make agent outputs easier to understand
As agents take on more execution, understanding and reviewing their results becomes a larger part of your work. Karpathy suggests four output formats you can ask an LLM to create:
| Format |
What to try |
| Clear writing |
Ask for an explanation using ASD-STE100, or a less strict style inspired by it, and judge whether it is easier to read. |
| Diagrams and images |
Ask for a diagram that makes the structure and relationships visible. |
| Interactive web pages |
Ask for HTML with controls or animations that let you explore the explanation. |
| Explainer videos |
Ask for a custom visual explanation of a topic, with narration where useful. |
These are practical suggestions for choosing a useful output format. A custom page or video can be created for one learning task and discarded afterward. Choose the format that helps you understand and check the result.
Try it: Explain the same agent workflow as plain text, a diagram, and an interactive page. Compare how easily you can find missing steps, unclear permissions, and unsupported claims; check each explanation against the actual workflow.
Source: Andrej Karpathy on understanding LLM outputs.
Build Exercise
Build a customer service/ticket triage agent with a single tool loop as the baseline, then compare it with a router → specialist → evaluator design. Use the same model, tools, task set, and structured output schemas for both. Measure task completion, cost, and latency, and inspect individual regressions before choosing an architecture. After Phase 3, repeat the comparison with domain procedures loaded as skills in the single loop.
Understand MCP server/client, remote vs local, tool loading, approval, connector boundaries.
Read First
Then Read
Event integration note: Study event discovery, subscription creation and refresh, callback verification, and unsubscribe. This guide describes ChatGPT’s MCP Events integration: it requires MCP 2.0 and currently supports webhook delivery. Test authorization, duplicate deliveries, restart recovery, and feedback loops; treat event text as data rather than instructions.
Build Exercise
Build a read-only repo/docs MCP server, then create an eval to verify the agent correctly cites documentation.
Phase 3 — Context, Memory & Skills
Learn to control context window, short/long-term memory, skills/plugins, CLAUDE.md/AGENTS.md.
Read First
Memory design reading: Distinguish cross-session memory from context compaction and weight updates. Study transcripts, memory notes, representations such as wikis, and injected context as separate layers. Background consolidation (“dreaming”) can check notes against source records and reorganize them, but requires compute and can preserve errors or create bloated representations. Evaluate stale notes, concurrent-write conflicts, and maintenance costs; the reported gains depend on the model and task.
Reading note: Read The new rules of context engineering after Effective context engineering for AI agents. When upgrading models, use evals to identify outdated instructions that can be removed, keep repository guidance focused on project-specific gotchas, and load detailed skills only when needed. Anthropic’s reported removal of over 80% of Claude Code’s system prompt without measurable loss on its coding evals is a model- and product-specific result, not a universal reduction target.
Then Read
Skill authoring practice: Read the authoring guide for discovery descriptions, task-appropriate freedom, progressive disclosure, and evaluation-driven iteration. Then inspect Vercel’s design.md as a concrete example combining a scoped workflow, design constraints, CSS resources, and visual verification. Its brand preferences and official-authorship assumptions are specific to Vercel; adapt the structure to your own product and identity.
Skills in an ML workflow: Use Hugging Face’s skill collection as a practical example of packaging dataset operations, model training, evaluation, and experiment tracking for coding agents. For the exercise below, choose a small dataset task and inspect the corresponding SKILL.md and helper scripts; compare its results and token cost with the same task without a skill.
Instruction and trust reading: Start with the introduction, then consult the Constitution’s sections on principals and conversational inputs. Study how Anthropic distinguishes operator instructions, user requests, and tool or document content when handling conflicts. These describe intended Claude behavior; use evaluations to check actual behavior in your application.
Long-context reference: Consult the Claude prompting guide for document placement, XML structure, and grounding answers in source passages; verify model-specific advice with your own evaluations.
Build Exercise
Implement the same task as a Skill/Plugin, then measure accuracy and token cost across three variants: no skill, long prompt, and skill-based.
Memory exercise: Run the same sequence of tasks across fresh sessions using search alone, search plus persistent notes, and search plus notes with background consolidation. Include changing facts and incorrect notes. Compare task success, stale-information errors, and total token cost, including memory creation and maintenance. Keep source records available for checking corrections.
Phase 4 — Harness & Long-Running Agents
Master agent runtime: event stream, thread, tool execution, state, sandbox, approval, recovery.
Read First
Architecture decision: Read When to fold subagents into your main agent loop before the orchestration guide. Consider merging specialists that share data or depend heavily on each other’s outputs, moving domain procedures into skills and actions into tools. Keep subagents where independent context, parallel work, verification, or permission boundaries provide measurable value. Change one subagent at a time and compare end-to-end task completion, cost, latency, and individual regressions across repeated runs. Treat the article’s enterprise observations as migration guidance, not evidence that a single agent universally outperforms multiple agents.
Coordination evaluation: Continue with Patterns and problems in emerging multiagent systems in Phase 6 to evaluate shared-resource coordination, correlated errors, and conflicting goals after choosing your architecture.
Then Read
Code walkthrough: Revisit minion.py after the harness readings. Trace its tool execution and approval flow, session persistence and resume, and context compaction to see how these runtime responsibilities fit together in a single-file coding agent.
Event-triggered work: See MCP Events in Phase 2 for connecting external updates to agent work through subscriptions and webhooks. Include subscription state and duplicate-event handling in the runtime design.
In an always-on service, webhooks and due timers feed a durable inbox. Each run can use saved memory, act within its permissions, and finish quietly. If a tool needs approval, save the session and release the worker; the reply becomes an event that resumes the pending call. Add an outbox when delivery needs retries or pacing.
Runtime implementation: Study OpenShell’s sandbox, gateway, and supervisor architecture to see how filesystem, process, and network policies are enforced around an agent. Follow how credentials are attached to approved requests and how policy changes are checked before granting new access.
Filesystem isolation background (P2): Follow the iximiuz Labs tutorial to understand mount namespaces, rootfs and pivot_root, mount propagation, and bind mounts. Use these mechanisms to reason about which files an agent sandbox can access and which paths are shared with its host. The tutorial explains container filesystem mechanics; a complete agent sandbox also needs process, network, and permission controls.
Long-run operating guide: See the Opus 5.5 playbook in Phase 5 for specifying when an agent should continue or stop, keeping progress in a task file, and checking evidence from delegated work.
Build Exercise
Build a mini coding harness: plan file, shell tool, apply patch, test gate, event log, and resume capability.
- Ticket monitor: Deliver a webhook twice, restart the worker with work pending, and delay approval on one ticket while another changes. Check that the monitor sends one notification per meaningful change, loses no pending tickets, and continues processing unrelated events.
- Team coordination: Compare one agent with a small team on the same independently checkable tasks under a fixed total token budget. Track accepted results, duplicate work, merge conflicts, and elapsed time. In the Fable case study, Postgres tracked claims and Git tracked submissions; Lean checked the proofs. The team reproduced a known proof with supplied milestones and lemmas, so its runtime does not predict a speedup on general coding tasks.
Phase 5 — Coding & Workspace Agents
Compare Codex vs Claude Code product/SDK forms; learn multi-agent, IDE, workspace collaboration.
Read First
Then Read
Spec-driven practice: Follow Paul Everitt’s course to define a project constitution (mission, tech stack, and roadmap), then plan, implement, and validate one feature before replanning. Apply the workflow to a new or existing codebase, and capture repeatable steps in an agent skill.
Coding-agent course: Use CS146S (Fall 2026) alongside this phase for a structured path from coding-agent internals and context engineering to repository setup, code review, security, background agents, and team workflows. Consult the syllabus for available slides, example code, and selected lecture transcripts; later materials are released during the semester.
Model-specific playbook: Use the Opus 5.5 article for completion criteria, stop conditions, persistent task checklists, evidence checks for delegated work, and reporting what could not be confirmed. For general prompting techniques, use the Claude prompting reference in Phase 1. Re-check model-specific recommendations on your own tasks.
Team lifecycle practice: Read the SDLC playbook after the spec-driven course to connect Plan, Design, Build, Test, Deploy, and Maintain. Track intent, specifications, implementation plans, code and tests, review findings, and incident records as linked artifacts. Define the authoritative record for each artifact and the human review gates; feed production findings back into the next change.
Maintenance practice: Use OpenAI’s maintenance case study to investigate dead code, stale experiments, flaky tests, and CI costs. Gather repository history, live configuration, and runtime evidence before proposing small PRs; preserve operational safeguards. Incorporate review feedback before expanding scope, and compare model configurations on your own tasks.
Review practice: Study the Claude Code team’s layered checks and risk-based human review. Define repository-specific failure modes in REVIEW.md, evaluate the reviewer on historical incidents and known-clean PRs, and measure false positives and rounds-to-pass. Cap review rounds, focus later passes on changed code, and avoid repeated findings. Its lighter approval paths depend on trusted authors and supporting controls; adapt the policy to your team’s risks.
Build Exercise
Run both OpenAI/Codex and Claude Code style workflows on the same repo: issue → plan → patch → tests → PR summary.
Phase 6 — Evals, Safety & Production
Build pre/post-launch eval loop, trace loop, safety boundaries, permissions, regression monitoring.
Read First
Evaluation foundations: Start with the two provider guides to define measurable success criteria, build representative datasets, choose grading methods, and calibrate automated scores against human judgments. Then read Demystifying evals for AI agents for multi-turn execution, tool use, and state changes. Use these foundations before the implementation case studies.
Security reading note: Focus on §3 for isolation patterns and §4.3/§4.10 for email/calendar and software-engineering agents. Guarantees depend on the threat model and enforced system constraints: fixing a plan can protect control flow while still allowing untrusted data to corrupt output content.
Multiagent reading note: Distinguish independent parallel search from work that depends on shared resources and other agents’ outputs. The experiments expose correlated actions, failures to share or assess evidence, and escalation under conflicting goals; stronger individual capability does not guarantee effective coordination. Compare final task quality as well as coordination metrics. The vulnerability-search experiments used different token budgets and search scopes, so higher discovery totals alone do not establish greater efficiency. Treat these findings as evidence from specific experimental settings.
Monitoring case study: In the Phase 4 Fable proof run, the live monitor assessed actions alone. Blocking a helper removed that helper; only blocking the lead would have stopped the run. The authors added a parallel monitor with access to reasoning after the experiment. Distinguish the controls actually tested from later changes.
Then Read
Behavioral evaluation practice: Study Bloom as a way to turn a specified behavior into generated scenarios, simulated interactions, and model-graded transcripts. Inspect sample scenarios and check grader agreement with human labels before scaling. Treat elicitation rates as results for the generated test distribution, not estimates of real-world incident frequency.
Measurement reliability: Read Infrastructure noise to understand how resource allocations, hard limits, and timeouts can change agent scores. Record and control the runtime configuration, distinguish infrastructure failures from task failures, and repeat comparisons. Read Challenges in evaluating AI systems as 2023 methodological background on contamination, formatting sensitivity, and inconsistent evaluation implementations; its examples are historical.
Human judgment reading note: Expert approval may not provide an independent check when an agent shapes the underlying analytical choices. In this study, 50 analysts using an agent matched its randomly assigned lean on 86% of four analytical choices. The researchers deliberately strengthened those leans and studied one task with one model; this is not a general real-world deferral rate. Consider how metrics, methods, and weighting encode judgment even when the calculations are correct. Presenting alternatives or eliciting the user’s view first are design hypotheses to test, not established remedies.
Auto mode reading note: Study the separation of input screening and action approval, the classifier’s restricted view of user messages and tool calls, and delegation checks. The article reports 0.4% false positives on real traffic and 17% false negatives on 52 real overeager-action examples: an engineering tradeoff, not a safety guarantee.
Paired learning path: Read the AI Engineering Loop to connect production tracing and monitoring with datasets, experiments, and evaluation. Then complete the workshop using its reference app and checkpoint tags: add tracing, version prompts, monitor behavior, build a dataset, and compare a change against a baseline. Follow each lesson’s checkpoint and verification steps.
Expert-feedback case study: Study Uber’s Redlining Agent for capturing experts’ final decisions, edited text, and reasoning; retrieving time-weighted examples; separating fixed policies from negotiable preferences; and reviewing suggestions inside Word. Its “self-learning” updates retrieved few-shot context rather than model weights. Connect this feedback memory to Phase 3 and examine the retrieval-quality and rule-adherence evaluations. The article describes the first-generation system; modern harnesses, skills, and knowledge graphs are exploration directions.
Enterprise delivery reading: Study What FDE means at OpenAI for closing the gap between model capability and reliable customer workflows. Start with business outcomes and evals built with domain experts, establish production value, then extract reusable skills, plugins, and shared runtime components. Distinguish integration and product gaps from model capability gaps that need further research. As a handbook practice, revisit custom architecture when underlying capabilities improve, checking that simplification preserves outcomes. Code reductions and efficiency gains in the article are OpenAI-reported customer results, not general deployment expectations.
Behavior and oversight reference: Revisit the paired Constitution readings in Phase 3 for intended behavior around instruction authority and human oversight. Connect those expectations to the permissions, isolation, and safety evaluations you implement here.
Isolation practice: Revisit OpenShell in Phase 4 and define the minimum file, process, and network access needed for one task. Verify that the task succeeds with allowed access, forbidden file and network requests are blocked, and a requested policy expansion goes through the intended review flow. Record the results as regression cases.
Cloud isolation background (P2): Read the Nitro overview first, then the security design whitepaper for dedicated I/O hardware, the hardware root of trust, and a minimized hypervisor. Compare this EC2 infrastructure isolation with OpenShell’s agent execution policies. Nitro Enclaves provide an additional isolated environment for sensitive processing; tool permissions, credential management, and application-level safety still need their own controls.
Lifecycle governance reference: Revisit the AI-native SDLC playbook in Phase 5 for continuous evaluation, deployment checks, review records, and turning production incidents into new intent. Use its governance and measurement sections to connect your safety checks to the team’s release and maintenance workflow.
Build Exercise
Build a smoke/macro eval suite for your agent: task success rate, tool misuse, prompt injection resistance, latency, cost, and human approval count.
Extend the suite with two interaction exercises:
- Multiagent coordination: In a sandbox, construct cases involving duplicate work, incorrect peer reports, decisive evidence held by only one agent, and conflicting objectives. Measure team task success, resource use, and whether agents stop and seek human arbitration when goals cannot be reconciled.
- Human judgment: Compare direct recommendations, eliciting the user’s initial view, and presenting alternatives with their consequences on the same task. Track changes in consequential choices and the reasons users give, alongside task quality and effort. Treat the comparison as an exploratory evaluation of these interaction designs.
Enterprise delivery exercise: Select a real business workflow and write a delivery brief covering the business outcome, current baseline, production acceptance evals, and remaining system and model capability gaps. Identify what can be reused for a second team, what must change, and how you would measure deployment effort and preserved task quality.
Phase 7 — Advanced Coursework: Agent Training & Search
Extend agent engineering into model training, reinforcement learning, and search.
CMU 11-768 extends the roadmap from evaluating agents to training and search. Its schedule starts with fundamentals, then develops three areas that make it a valuable advanced follow-on:
- Training methods: supervised fine-tuning (SFT), reinforcement learning basics, advanced RL algorithms, and RL systems.
- Search and inference: reranking, critic models, and tree search.
- Integrated practice: assignments progress through Harness → Eval → Training, connecting agent infrastructure and evaluation to learned behavior.
When to study: Phase 6 provides a useful bridge because evaluation supplies feedback for studying training and search methods. This placement is the handbook’s recommendation, not an official course prerequisite; the opening lectures can be used earlier as review.
Use both links together: Open each lecture in the schedule for its slides and readings, then watch the matching recording and follow the assignment milestones. Later scheduled topics may not yet have recordings.
Optional — Agent Systems & Inference Optimization (P2)
Harvard CS2680: Modern AI Systems — Agents and System Optimizations (Fall 2026) complements CMU’s training and search focus with agent and inference-system optimization. Follow its public slides, readings, notes, and assignments to study task success, cost, and latency across the agent loop and serving stack: batching and scheduling, KV-cache and prefix reuse, routing, quantization, and speculative decoding.
The five assignments progress from observing an agent to building its loop, optimizing token use, serving an open-weight model, and optimizing the full stack. The systems-heavy second half makes this an advanced elective; the course expects CS61 plus at least one graduate-level computer systems course and familiarity with Python/PyTorch. Lectures are not recorded. Materials are released during the semester; self-study requires your own API and compute resources.
Decision Models — Use, Train & Evaluate (P1)
Study these four resources together to move from understanding decision-model architecture to using, training, and evaluating a decision component. This is component-level decision modeling, rather than full agent training.
Start with Clef’s architecture: a prefill-only backbone pass followed by parallel schema-choice scoring, with a decision head and LoRA adapters trained using cross-entropy, Brier loss, and a secondary RLCD objective. Treat the reported benchmark and latency results as Cloudflare’s measurements to validate on your own workload. Next, study predicates, fixed-choice classification, and ordered scoring in the API guide, including how they differ from structured generation and tool calls. Then follow the Unsloth tutorial and notebook through dataset preparation, 4-bit LoRA and decision-head training, probability calibration, separate test-set evaluation, and model saving. The Decisions API is currently in public beta; check the guide for supported models and availability.
Practice: Compare a hosted decision API and a locally trained decision model on a labeled request-routing task. Measure accuracy, probability calibration, latency, and cost; choose review thresholds based on false-positive and false-negative costs, and handle low confidence, out-of-scope inputs, and refusals. Keep the final test set separate from training, calibration, and threshold selection. Calibration on one dataset does not guarantee reliable probabilities on your own traffic. Unlike the feedback retrieval in Uber’s Redlining Agent in Phase 6, this Unsloth workflow trains model parameters and a decision head.
Then Read — Post-Training Case Study (P1)
Rufus-Air: An Open LLM Post-Training Recipe (Amazon) connects the course’s training topics to an end-to-end recipe on GLM-4.5-Air-Base: SFT → Reasoning RL → Coding RL → Instruction-Following RL → General Agent → Coding Agent → Search Agent → RLHF.
Focus on §2 for stage ordering and reward reliability, §3.5–3.7 for agent training in tool-use, coding, and search environments, and §4 for multi-turn rollouts, sandbox reliability, and consistent training/inference formats. Some conclusions come from engineering experience rather than full ablations; treat the stage order as a reference recipe to evaluate for your own setting.
Training Knowledge Work Agents with SkyRL (P1)
Before scaling a run, check whether the agent can execute the task, receive the intended reward, and learn to solve a small training subset. Mercor and SkyRL tested their recipe on a 35B model before scaling to 397B. They then changed the tool environment from Archipelago to OpenCode and measured how much of the gain transferred. Follow one released evaluation trace alongside the training script to see which parts of the workflow the reward captures. Training guide · Code and evaluation artifacts
Further Reading — AI Research Automation (P2)
When AI builds itself examines evidence that AI is accelerating AI development, remaining gaps in research judgment, and possible futures. Read it as background on research automation and governance: full recursive self-improvement is a prospective scenario, not an achieved capability.
Further Reading — Scientific Modeling (P2)
Teaching AI to build scientific models connects agent search to building, constraining, and interpreting scientific models. Here, models describe real-world systems; they are not necessarily language models. Study why multiple parameter settings and model structures can fit the same observations, and how disagreement between plausible models can guide the next experiment. Evidence for automated model discovery is still largely based on rediscovering known models, with limited evidence on problems without known answers.
Scientific modeling exercise: Ask an agent to propose multiple models that explain the same dataset, compare their fit and complexity, and design an experiment whose outcomes would distinguish them. Record which conclusions the data supports and which remain uncertain; a good fit alone does not establish the underlying mechanism.
Applied Practice Tracks
Use these tracks after the core roadmap when you want to practice agentic engineering in real engineering workflows.
| Track |
Start Here |
Why It Matters |
| Code modernization |
How to prepare for AI-driven code modernization projects |
Defines migration targets, automated acceptance evidence, and risk-based promotion policies; validates the workflow on a small pilot before scaling. |
| Agentic coding workflow |
Coding Agents 101, How Claude Code works in large codebases, How Anthropic teams use Claude Code |
Turns agent theory into day-to-day engineering habits: prompting, checkpoints, verification, parallel work, and team rollout. |
| Spec-driven building |
AI-native SDLC playbook, Spec-Driven Development course, Vercel design.md, The spec is dead, long live the spec!, CS146S: The Modern Software Developer — Fall 2026 |
Treats specs, prompts, and assignments as executable source material for agents. |
| Context failure modes |
How Long Contexts Fail, Context Rot, Progressive disclosure |
Helps diagnose context poisoning, distraction, confusion, context degradation, and retrieval overload. |
| Evals and observability |
Demystifying evals for AI agents, Agent observability powers agent evaluation, Agent Evaluation Readiness Checklist |
Builds the feedback loop for traces, datasets, graders, offline/online evals, and regression gates. |
| Deep research agents |
Deep research, Open Deep Research, Alibaba-NLP/DeepResearch |
Practices long-running research agents: planning, search, MCP, citations, report synthesis, and benchmark-driven improvement. |
| MCP operations |
Designing MCP Gateway: Uber’s MCP Management Platform, Build a Remote MCP server, Introducing the MCP Registry |
Covers remote servers and enterprise MCP operations: control/data planes, owner-approved tool enablement, incremental discovery, and response projection. |
| Agent security |
Design Patterns for Securing LLM Agents against Prompt Injections, OWASP Top Ten, SAST vs. DAST vs. RASP, Copilot Remote Code Execution via Prompt Injection |
Combines prompt-injection isolation patterns and their security/utility tradeoffs with classic AppSec and tool-permission failure modes. |
| Code review systems |
How the Claude Code team does code review, How to Review Code Effectively, AI-Assisted Assessment of Coding Practices in Modern Code Review, AI Code Review Implementation Best Practices |
Connects human review quality with layered AI checks, incident-based reviewer evals, review convergence, and risk-based approval policies. |
| Legal AI agents |
Contract review and redlining |
Trace each proposed edit to a clause and a playbook rule, then measure what counsel accepts or revises. |
| Production and SRE agents |
ML and LLM system design, Introduction to Site Reliability Engineering, Observability Basics You Should Know |
Extends agents beyond coding into incidents, observability, root-cause analysis, on-call, and production operations. |
Legal AI Agents
Start with one contract-review task where counsel can judge both the proposed edit and its justification. Uber’s redlining workflow is a useful first read for seeing how lawyers review changes in Word and how their corrections inform later suggestions. Uber’s Redlining Agent
Build a clause review. Suppose a sample agreement says “Customer must notify Supplier within 10 days” and your fictional buyer playbook specifies 30 days for this notice. Have the agent quote the clause, point to the playbook entry, and propose changing “10 days” to “30 days.” Give the reviewer the original and proposed wording side by side and record their decision and rationale. Include an agreement that already allows 30 days to test whether the agent leaves a compliant clause alone.
Evaluate with counsel. On held-out agreements, count missed deviations and unnecessary edits separately. Check whether the quoted text supports each finding, then record how often reviewers accept a suggestion as written and how long review takes per agreement. Read Harvey Tenet alongside this exercise. Harvey reports gains of 9 percentage points on LAB and 2 on LAB Contracts in the share of tasks meeting every criterion, illustrating why it helps to report results by workflow. Harvey Tenet Research Preview
Decide whether to train. Inspect recurring misses. If the trace shows the agent retrieved the wrong playbook entry, test a retrieval fix first. If it repeatedly misapplies the correct entry, compare a post-trained candidate against the existing workflow on the same held-out agreements, with the same tools, scoring criteria, and cost accounting. Phase 7 training guide
Full Reading Table
Priority guide: P0 = must-read (architectural/conceptual), P1 = highly useful (implementation detail), P2 = optional context (background/releases).
| Priority |
Title |
Vendor |
Topic |
Key Idea |
Date |
| P0 |
Evaluation best practices |
OpenAI |
Evals; Datasets; Continuous evaluation |
Connect objectives, representative datasets, metrics, comparisons, and continuous evaluation; calibrate automated scoring with human feedback. |
Current docs |
| P0 |
Define success criteria and build evaluations |
Anthropic |
Evals; Success criteria; Graders |
Define measurable targets and select code, human, or model-based grading; validate grader reliability before scaling. |
Current docs |
| P0 |
Claude prompting best practices |
Anthropic |
Prompting; Tool use; Context |
Current reference for clear instructions, examples, XML structure, long context, tool use, agentic systems, and model-specific prompting; validate advice on the chosen model. |
Current docs |
| P0 |
The AI Engineering Skills Map |
Andrew Ng |
Skills; Learning roadmap; Product judgment |
Frames AI engineering around building AI applications, software fundamentals, coding agents, and shaping what to build. |
2026-08-14 |
| P0 |
CMU 11-768: AI Agents — Course Schedule |
CMU |
Course; Agents; Tool use; Planning; Memory; Training |
Graduate course schedule with lecture slides, readings, and assignment milestones; use alongside the companion lecture recordings, after completing the core roadmap (Phases 0–6). |
Fall 2026 |
| P0 |
CMU 11-768: AI Agents — Lecture Recordings |
CMU |
Course; Agents; Video lectures |
Companion lecture recordings for the Fall 2026 course; follow the course schedule for slides and references. |
Fall 2026 |
| P0 |
OpenAI for Developers in 2025 |
OpenAI |
Agents; MCP; Platform |
Annual overview: systematic walkthrough of Responses API, Agents SDK, AgentKit, Codex, MCP, Apps SDK, and AGENTS.md. |
2025-12-30 |
| P0 |
New tools for building agents |
OpenAI |
Agents; Responses API; Tools |
Key starting point for OpenAI’s agent platform: Responses API, built-in web/file/computer tools, Agents SDK, tracing/observability. |
2025-03-11 |
| P0 |
Introducing AgentKit |
OpenAI |
Agents; Evals; AgentKit |
AgentKit, expanded evals, agent RFT: the official agent toolchain from prototype to production. |
2025-10-06 |
| P0 |
Prompt guidance |
OpenAI |
Prompting; Models; Agent UX |
Official model-specific prompting guidance for outcome-first prompts, reasoning effort, preambles, and validation rules in tool-heavy workflows. |
Current docs |
| P0 |
System Prompts |
Anthropic |
System prompts; Claude; Behavior |
Claude web/mobile system prompt release notes; useful for studying production prompting patterns and behavioral scaffolding. |
Current docs |
| P0 |
Agents SDK overview |
OpenAI |
Agents; SDK |
Official SDK entry point: concepts and boundaries of agent, tool, handoff, guardrail, and tracing. |
Current docs |
| P0 |
Introducing the Model Context Protocol |
Anthropic |
MCP; Standards |
The origin article for MCP: an open standard connecting AI assistants to data, tools, and systems. |
2024-11-25 |
| P0 |
Building effective agents |
Anthropic |
Agents; Patterns; Frameworks |
Essential agent primer: workflow vs agent, prompt/tool/retrieval, orchestrator-worker, evaluator-optimizer patterns. |
2024-12-19 |
| P0 |
Coding Agents 101: The Art of Actually Getting Things Done |
Cognition |
Coding agents; Workflows; Practice |
Product-agnostic guide to prompting, delegation, verification, environment setup, security, and cost management for coding agents. |
2025-06 |
| P0 |
minion.py |
Sentdex |
Agent loop; Coding agents; |
|
|
README 内容过长,已截取前 64 KB。完整内容请前往 GitHub 仓库查看。
评论