Guide Book
Guide Book
A reference you can read front to back or dip into. Every chapter explains the syntax, and most topics have a π Behind the scenes section you can open to see what Python is actually doing, the details classes usually skip. Look for π§ Scenario cards for real-world uses, and press Try it on any example, then open the Inspect tab to look inside.
- Chapter 1What an agent actually isA model, a tool list and a loop β the whole idea, and the three stop reasons that drive it.
- Chapter 2ContextThe window is the agent's whole world β what fills it, what it costs, and the four ways to keep it from overflowing.
- Chapter 3Designing toolsA tool is an interface for a reader who has never seen your codebase β naming, schemas, error messages, and how many tools is too many.
- Chapter 4SkillsInstructions that load on demand β the frontmatter contract, how one gets picked, and what makes a skill worth writing.
- Chapter 5MCPOne protocol between a host and a capability provider β servers, transports, the three primitives, and where the trust boundary sits.
- Chapter 6The harnessEverything around the model β CLAUDE.md, settings and permissions, hooks, and why a harness is mostly about what the agent is *not* allowed to do.
- Chapter 7Prompting an agentWhy prompting an agent differs from prompting a chatbot β goals over procedures, verification loops, and the patterns that stopped working on newer models.
- Chapter 8Subagents & delegationWhen a second agent earns its cost, what it can and cannot pass back, and the orchestration patterns that actually hold up.
- Chapter 9Prompt injection & trustEverything a tool returns is data, not instructions β why that line is the whole security model, and what to build around it.
- Chapter 10Evaluating agentsHow to know whether a change helped β building an eval, grading it, and hill-climbing without fooling yourself.