# Agentic AI: from your first agent to production

Read these guides in order to go from what an agent is to running agents in production. Each stage builds on the one before it.

## Stage 1: Foundations

1. **[Agentic AI](/topics/agentic-ai)**  
   A practical guide to agentic AI: what AI agents are, how they plan and use tools, the protocols, frameworks and patterns behind them, and safe operation.
2. **[ReAct loop](/tools/react-loop)**  
   ReAct interleaves reasoning, actions and observations so an AI agent can think, use a tool, read the result and adjust. Learn how the loop works.
3. **[Function calling (tool use)](/tools/function-calling)**  
   Function calling lets a language model request a tool with structured arguments. Learn how tool schemas, the call loop, parallel calls and validation work.
4. **[Structured outputs](/tools/structured-outputs)**  
   Structured outputs make a language model return data that matches a JSON Schema. Learn constrained decoding, schema design, validation and when to use it.
5. **[MCP (Model Context Protocol)](/tools/mcp)**  
   MCP is the open standard that connects AI models and agents to tools, data and prompts. Learn how servers, clients, transports and auth work, with examples.

## Stage 2: Building agents

6. **[LangGraph](/tools/langgraph)**  
   LangGraph builds AI agents and workflows as graphs of nodes, edges and shared state, with checkpoints and human approval. Learn how it works and when to use it.
7. **[Claude Agent SDK](/tools/claude-agent-sdk)**  
   The Claude Agent SDK exposes the agent loop, tools, sub-agents, hooks and permissions behind Claude Code for your own agents. Learn when to use it.
8. **[Multi-agent systems](/tools/multi-agent-systems)**  
   Multi-agent systems split work among several AI agents with different roles. Learn the main architectures, when they beat a single agent, and their costs.
9. **[Orchestrator-workers](/tools/orchestrator-workers)**  
   In the orchestrator-workers pattern a lead agent splits a task, sends parts to worker agents in parallel and combines results. Learn when it pays off.
10. **[Agent memory](/tools/agent-memory)**  
   Agent memory lets AI agents keep context within a task and across sessions. Learn short-term and long-term memory, retrieval, summarisation and privacy design.

## Stage 3: Running them in production

11. **[Evals](/tools/evals)**  
   Evals are systematic tests of AI behaviour: datasets, graders and metrics run before and after every change. Learn offline and online evals for agents.
12. **[Tracing for AI agents](/tools/tracing)**  
   Tracing records every model call, tool call and handoff in an AI agent run as linked spans. Learn what to capture, OpenTelemetry and how to debug runs.
13. **[Guardrails](/tools/guardrails)**  
   Guardrails are the checks around an AI model that block unsafe input, invalid output and risky actions. Learn the layers, techniques and how to tune them.
14. **[Prompt-injection defense](/tools/prompt-injection-defense)**  
   Prompt injection hides instructions in content an AI agent reads, to hijack its actions. Learn direct and indirect attacks and layered defenses.
15. **[Sandboxing for AI agents](/tools/sandboxing)**  
   Sandboxing runs an AI agent's code, commands and browsing in an isolated environment with limited files, network and credentials. Learn the options.
16. **[Human-in-the-loop](/tools/human-in-the-loop)**  
   Human-in-the-loop designs keep people in control of AI agents through approvals, edits and escalation. Learn where to place checkpoints in agent workflows.
17. **[Cost and latency budgets](/tools/cost-and-latency-budgets)**  
   Cost and latency budgets cap how much time, tokens and money an AI agent may spend per task. Learn how to set and enforce them without losing quality.

## How to use this path

Read the steps in order; each guide links onward to related topics, so you can go deeper wherever you need to. If you already know a stage, skip to the next one. All learning paths are listed on [Learning paths](/paths).
