The Claude stack map
Every layer above the model is optional; each one you adopt moves work from your code to Anthropic's. Pick a layer to see what it is, when to choose it and what stays yours.
API
Messages API
The model through the Client SDK, with tool use, structured outputs, caching and batch.
Pick it when
The path is known, the domain is not code, or you need full control of prompts and tools.
You own
Loop, tools, retries, state.
Watch
You rebuild what the harness gives free.
From the Chapter 19 decision guide.
Which layer should I build on?
Pick the lowest layer that does the job, the same rule as Chapter 6, applied to one vendor. Answer one question at a time.
Question 1
Is the job centered on a repository: CI triage, review, issue to PR, scheduled reports?
Path taken
No answers yet.
One harness per job type
Two harnesses for one job means two permission models to audit.
Three reference setups
Components, guardrails and the numbers to measure for each setup are in the book.
Claude CodeIssue-to-PR agent in GitHub Actions
A label-triggered workflow that turns a maintainer-labeled issue into a pull request a human merges. Read in Ch 19, Reference setups
Agent SDKInternal docs-and-actions assistant
An Agent SDK service that answers from internal docs and files tickets through one write tool. Read in Ch 19, Reference setups
PluginsTeam skills library as a plugin
An internal marketplace that ships the team's skills, subagents and policy hooks to every clone. Read in Ch 19, Reference setups
Before canary: the must-pass checks
0 of 19 done
The 19 checks Appendix A marks (must) for any agent, Claude or not. Tick what your agent already passes; the rest is your backlog before canary. Chapter 19's Claude setup checklist is in the book. Read it in the book
Saved in this browser only, when storage is available.
Claude Kit
Included with Book + Kit ($19)Kit files and the official page each follows. File docs: the kit's README.md.
| File | Official docs |
|---|---|
| CLAUDE.md | code.claude.com/docs/en/memory |
| .claude/settings.json | code.claude.com/docs/en/settingscode.claude.com/docs/en/permissions |
| .claude/hooks/policy.py | code.claude.com/docs/en/hooks |
| .claude/hooks/test_policy.py | code.claude.com/docs/en/hooks |
| .claude/hooks/format.py | code.claude.com/docs/en/hooks |
| .claude/skills/release-notes/ | code.claude.com/docs/en/skillsagentskills.io/specification |
| .claude/agents/reviewer.md | code.claude.com/docs/en/sub-agents |
| .github/workflows/claude-issue-to-pr.yml | code.claude.com/docs/en/github-actionsgithub.com/anthropics/claude-code-action/blob/main/docs/usage.md |
| agent-sdk/harness.py | code.claude.com/docs/en/agent-sdk/python |
| mcp/server.py | github.com/modelcontextprotocol/python-sdk |
Claude reading path
Chapter 19 leans on the vendor-neutral chapters. This is the Claude row of the Start here table: about 2 h 30 min; a skim takes about a third of the reading time.
Read
- Ch 0Start here: the pilot-to-production gap5 min
- Ch 1What an agent actually is10 min
- Ch 2Workflows before agents14 min
- Ch 3Tools, skills and plugins14 min
- Ch 4MCP: the integration layer13 min
- Ch 10Observability and cost10 min
- Ch 11Security for agents and MCP14 min
- Ch 19Building on Claude: Code, Agent SDK and the cloud21 min
- App AAgent production readiness checklist6 min
Skim
- Ch 5Context engineering and memory3 min
- Ch 6The framework landscape4 min
- Ch 8Reliability: loops, limits and humans4 min
- Ch 9Evals and end-to-end testing5 min
- Ch 15The software factory: from idea to merged PR6 min
- Ch 16Ship, watch, improve: closing the loop5 min
- Ch 18Use cases, impacts and what comes next7 min
- Ch 20Field notes 2026: what the year taught1 min