All content
207 pages · 5 levels
Concepts
- What is an AI agent?
- Building agents in ChatGPT - so why a platform?
- Block I · Agent harness
- The LLM Call
- Message History
- System Prompt
- Tools & Loop
- Going deeper
- Deep dive
- Try it interactively
- When does the LLM pick a tool?
- Tool descriptions are decisive
- Anatomy of a tool_use block
- Parallel tool calls
- Direct answer vs. tool call
- The agent loop step by step
- The messages array after one roundtrip
- Phase 4 vs. Phase 5 - recognition vs. execution
- Routing - five questions, five right picks
- Multi-step task - sequence from the model
- The loop is agnostic - 2 vs. 5 tools
- Parallel tool calls - one iteration, many calls
- Tool shyness - measure the hit rate, tune the prompt
- Quiz
- Quiz
- Quiz
- Guardrails
- Block II · Extensions
- Memory
- Sidecars
- Tool calling in production
- Tiny Agents and the Compression Boundary
- Guardrails in production
- The damage catalogue
- The map: where, when, what, how
- The gatekeeper: build forms and data path
- The detectors: four families and their real numbers
- The entry gate: normalise, mask, mark
- The exit gate: the last look before delivery
- The handbrake: hard rules at the action level
- The limits: what the attack challenges really show
- MCP servers
- Channels & triggers
- Swarm
- Block III · Inference