awesome-claude
A curated, production-first guide to Claude — models, API specs, agents, MCP, Claude Code, and the Anthropic certification program.
Technical specifications, architecture components, learning paths, exam preparation, and passing criteria — all in one guide. This list is opinionated and production-first. It documents what a team actually needs to design, ship, operate, and govern systems built on Claude — and, separately, what an individual needs to pass Anthropic's proctored certification exams. Two things are deliberately kept apart, because conflating them is the single most common mistake people make:
Summary extracted from the README.
🤖 Awesome Claude Awesome
A curated, production-first guide to Claude — models, API specs, agents, MCP, Claude Code, and the official Anthropic certification program.
Technical specifications, architecture components, learning paths, exam preparation, and passing criteria — all in one guide.
📖 About
This list is opinionated and production-first. It documents what a team actually needs to design, ship, operate, and govern systems built on Claude — and, separately, what an individual needs to pass Anthropic's proctored certification exams.
Two things are deliberately kept apart, because conflating them is the single most common mistake people make:
- Anthropic Academy — free, open to anyone, issues course completion certificates.
- The Claude Certification Program — paid, proctored via Pearson VUE, gated behind the Claude Partner Network, issues certifications.
A completion certificate is not a certification. See Certification Program.
Legend: ⭐ recommended default · 🔓 open source · 💰 paid · ☁️ managed service · 🆓 free · 🧪 beta · 📄 official Anthropic source
Verify before you rely. Model IDs, pricing, and beta headers change. Every table here links to the canonical Anthropic source; treat this repo as a map, not as the territory.
📑 Table of Contents
Contributing · Author · License
🧠 Models & Specifications
Rule of thumb: default to the current Opus for anything intelligence-sensitive; drop to Sonnet for high-volume production; use Haiku only for simple, latency-critical classification. Never downgrade for cost without measuring — that is a product decision, not an engineering one.
Current Model Family
| Model | Model ID | Context | Max Output | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Claude Fable 5 | claude-fable-5 |
1M | 128K | $10.00 | $50.00 |
| Claude Opus 5 ⭐ | claude-opus-5 |
1M | 128K | $5.00 | $25.00 |
| Claude Opus 4.8 | claude-opus-4-8 |
1M | 128K | $5.00 | $25.00 |
| Claude Opus 4.7 | claude-opus-4-7 |
1M | 128K | $5.00 | $25.00 |
| Claude Opus 4.6 | claude-opus-4-6 |
1M | 128K | $5.00 | $25.00 |
| Claude Sonnet 5 | claude-sonnet-5 |
1M | 128K | $3.00 | $15.00 |
| Claude Sonnet 4.6 | claude-sonnet-4-6 |
1M | 128K | $3.00 | $15.00 |
| Claude Haiku 4.5 | claude-haiku-4-5 |
200K | 64K | $1.00 | $5.00 |
Model IDs are complete as written — never append a date suffix to an alias. Prices are Anthropic first-party rates; Bedrock and Vertex are partner-operated with separate pricing.
📄 Models overview · Pricing · Migration guide
Choosing a Model
| Workload | Model | Why |
|---|---|---|
| Long-horizon agentic coding, large refactors | claude-opus-5 ⭐ |
Strongest agentic execution; completes rather than stubs |
| Hardest reasoning, overnight autonomous runs | claude-fable-5 |
Highest capability tier; thinking always on |
| High-volume production, near-Opus coding quality | claude-sonnet-5 |
Best speed/intelligence ratio |
| Classification, extraction, routing | claude-haiku-4-5 |
Cheapest and fastest; 200K context |
| Cost-sensitive batch jobs | Any + Batches API | 50% discount, async, ≤24h |
Live Capability Discovery
Don't hardcode capability assumptions — query the Models API. Fields are max_input_tokens (context window) and max_tokens (output cap); there is no context_window field.
m = client.models.retrieve("claude-opus-5")
m.max_input_tokens # 1000000
m.max_tokens # 128000
m.capabilities["thinking"]["types"]["adaptive"]["supported"]
m.capabilities["effort"]["max"]["supported"]
Deprecated & Retired
| Model | Status | Replacement |
|---|---|---|
claude-opus-4-1 |
Deprecated (retires 2026-08-05) | claude-opus-5 |
claude-sonnet-4-0, claude-opus-4-0 |
Deprecated | claude-sonnet-5 / claude-opus-5 |
claude-3-haiku-20240307 |
Deprecated (retires 2026-04-19) | claude-haiku-4-5 |
claude-3-7-sonnet-*, claude-3-5-*, claude-3-opus-* |
Retired (404) | Current family |
⚙️ API Platform Reference
Everything goes through
POST /v1/messages. Tools, structured outputs, thinking, and caching are features of that one endpoint — not separate APIs. Internalize this; exam questions test it.
Core Surfaces
| Surface | Endpoint | Use when |
|---|---|---|
| Messages | POST /v1/messages |
Everything — single calls, workflows, custom agents |
| Message Batches | POST /v1/messages/batches |
Async, non-latency-sensitive, 50% cheaper, ≤100k requests |
| Files | POST /v1/files 🧪 |
Reuse a document across many requests without re-upload |
| Token Counting | POST /v1/messages/count_tokens |
Estimate cost/size before sending — never use tiktoken |
| Models | GET /v1/models |
Live capability and context-window discovery |
| Managed Agents | POST /v1/agents, /v1/sessions 🧪 |
Anthropic runs the loop and hosts the sandbox |
Official SDKs
| Language | Package | Tool Runner | Managed Agents |
|---|---|---|---|
| Python | anthropic |
✅ @beta_tool |
✅ |
| TypeScript | @anthropic-ai/sdk |
✅ betaZodTool |
✅ |
| Go | anthropic-sdk-go |
✅ toolrunner |
✅ |
| Java / Kotlin / Scala | com.anthropic:anthropic-java |
✅ annotated classes | ✅ |
| Ruby | anthropic |
✅ BaseTool |
✅ |
| C# | Anthropic (NuGet) |
✅ BetaToolRunner |
✅ |
| PHP | anthropic-ai/sdk |
✅ BetaRunnableTool |
✅ |
| cURL / raw HTTP | — | n/a | ✅ |
Claude Agent SDK ≠ Tool Runner. The Tool Runner (
client.beta.messages.tool_runner) is a thin loop helper in the regular SDK over tools you define. The Claude Agent SDK (claude-agent-sdk) is Claude Code packaged as a library, with built-in Read/Write/Bash/Grep tools. Both are harness-only — you host them. Only Managed Agents adds managed deployment.
Authentication
Credential resolution order (first match wins): ANTHROPIC_API_KEY → ANTHROPIC_AUTH_TOKEN → active OAuth profile from ant auth login → Workload Identity Federation → default profile on disk.
| Method | Best for | Notes |
|---|---|---|
| API key | Scripts, CI with secrets manager | ANTHROPIC_API_KEY |
OAuth profile (ant auth login) |
Local development | Stored under ~/.config/anthropic/; SDKs pick it up with a zero-arg client |
| Workload Identity Federation | CI, servers, containers | Auto-detected when all four ANTHROPIC_FEDERATION_* vars are set |
⚠️ The #1 auth trap: a stale exported
ANTHROPIC_API_KEYsilently overrides every OAuth profile — even an empty one. Runant auth statusto see which source won.
Error Codes
| Code | Type | Retryable | Typical cause |
|---|---|---|---|
| 400 | invalid_request_error |
No | Bad params, removed params on newer models |
| 401 | authentication_error |
No | Missing/invalid key; OAuth token sent via x-api-key |
| 403 | permission_error |
No | Key lacks model or feature access |
| 404 | not_found_error |
No | Typo'd or retired model ID |
| 413 | request_too_large |
No | Body exceeds size limit |
| 429 | rate_limit_error |
✅ | Check retry-after header |
| 500 | api_error |
✅ | Anthropic-side issue |
| 529 | overloaded_error |
✅ | Capacity — back off |
Catch a chain of typed exceptions from most-specific to least, not one broad class — the SDK defines a distinct class per status precisely so you can distinguish retryable from terminal.
📄 Errors · Rate limits
🧩 Thinking, Effort & Context
This is the highest-drift area of the API and the densest source of exam questions. Patterns you remember from 2025 are wrong.
Thinking Modes by Model
| Model | Config | Omitting thinking |
budget_tokens |
Sampling params |
|---|---|---|---|---|
| Fable 5 | {type: "adaptive"} or omit; disabled → 400 |
Runs adaptive (always on) | Removed → 400 | Removed → 400 |
| Opus 5 | adaptive or omit; disabled only at effort ≤ high |
Runs adaptive | Removed → 400 | Removed → 400 |
| Opus 4.8 / 4.7 | adaptive is the only on-mode |
Runs without thinking | Removed → 400 | Removed → 400 |
| Sonnet 5 | adaptive is the only on-mode |
Runs adaptive | Removed → 400 | Removed → 400 |
| Opus 4.6 / Sonnet 4.6 | adaptive recommended |
No thinking | Deprecated (escape hatch) | Allowed |
| Sonnet 4.5 / Haiku 4.5 | {type: "enabled", budget_tokens: N} |
No thinking | Required, ≥1024, < max_tokens |
Allowed |
Effort
output_config: {effort: "low"|"medium"|"high"|"xhigh"|"max"} — nested inside output_config, never top-level. Default is high.
| Level | Use for |
|---|---|
max |
Correctness matters more than cost; can overthink |
xhigh |
Most coding and agentic work — the Claude Code default |
high |
Default; intelligence-sensitive work generally |
medium |
Cost-sensitive, trading some intelligence |
low |
Subagents, simple tasks, latency-critical paths |
Thinking Display
display defaults to "omitted" on Fable 5 / Opus 5 / 4.8 / 4.7 / Sonnet 5 — thinking blocks stream with empty text. If you surface reasoning in a UI, set display: "summarized" explicitly, or users see a long pause before output. display affects visibility only; thinking happens and is billed identically either way.
Context Management — Three Distinct Features
| Feature | What it does | Config |
|---|---|---|
| Compaction 🧪 | Summarizes earlier history server-side | context_management.edits: [{type: "compact_20260112"}] + beta compact-2026-01-12 |
| Context editing 🧪 | Clears stale tool results / thinking blocks | edits: [{type: "clear_tool_uses_20250919"}] + beta context-management-2025-06-27 |
| Memory | Persists state across sessions | memory_20250818 tool, or Managed Agents memory stores |
Compaction summarizes; context editing prunes; memory persists. Mixing up their beta headers is a classic 400.
Compaction pitfall: append the full
response.contentback tomessageson every turn — not just the text. Compaction blocks must round-trip or the state is silently lost.
Prompt Caching
Caching is a prefix match. Any byte change anywhere in the prefix invalidates everything after it. Render order is tools → system → messages.
| Aspect | Value |
|---|---|
| Breakpoints per request | Max 4 (cache_control: {type: "ephemeral"}) |
| TTL | 5 minutes (default) or "1h" |
| Write cost | 1.25× (5m) / 2× (1h) |
| Read cost | ~0.1× |
| Break-even | 2 requests (5m TTL) / 3 requests (1h TTL) |
| Min cacheable prefix | 512 tok (Opus 5, Fable 5) · 1024 (Opus 4.8, Sonnet 5/4.6/4.5) · 2048 (Opus 4.7) · 4096 (Opus 4.6/4.5, Haiku 4.5) |
The minimum is not monotonic across generations — a 3K-token prompt caches on Opus 5 and silently won't on Opus 4.6.
Silent cache invalidators to grep for:
| Pattern | Why it breaks |
|---|---|
datetime.now() / Date.now() in the system prompt |
Prefix differs every request |
uuid4() / request IDs early in content |
Same |
json.dumps(d) without sort_keys=True; iterating a set |
Non-deterministic bytes |
| Session/user ID interpolated into system prompt | No cross-user sharing |
tools=build_tools(user) varying per user |
Tools render at position 0 — nothing caches |
Verify with usage.cache_read_input_tokens. If it's zero across repeated identical-prefix requests, an invalidator is at work.
📄 Prompt caching · Context editing · Compaction · Adaptive thinking
🛠️ Tool Use & Server Tools
Server-Side Tools (run on Anthropic's infrastructure)
| Tool | type |
Key params | Result block |
|---|---|---|---|
| Web search | web_search_20260209 |
max_uses, allowed_domains, user_location |
web_search_tool_result |
| Web fetch | web_fetch_20260209 |
max_uses, citations, max_content_tokens |
web_fetch_tool_result |
| Code execution | code_execution_20260521 |
none | bash_code_execution_tool_result |
| Tool search (regex) | tool_search_tool_regex_20251119 |
mark others defer_loading: true |
tool_search_tool_result |
| Tool search (BM25) | tool_search_tool_bm25_20251119 |
same | tool_search_tool_result |
| Advisor 🧪 | advisor_20260301 |
model (must be ≥ executor) |
advisor_tool_result |
The _20260209 web tools have built-in dynamic filtering — code execution runs under the hood, so do not separately declare code_execution alongside them.
Client-Side Tools (you execute them)
| Tool | type / name |
Notes |
|---|---|---|
| Bash | bash_20250124 / bash |
Schema-less — never pass input_schema |
| Text editor | text_editor_20250728 / str_replace_based_edit_tool |
type and name must match as a pair |
| Memory | memory_20250818 / memory |
You implement the /memories backend |
| Computer use 🧪 | computer_20251124 |
Self-hosted or Anthropic-hosted |
⚠️ Security. Bash commands and file paths are untrusted model output. Allowlist executables, reject shell operators, resolve every path to canonical form and verify it stays inside your project root. A blocklist is not sufficient.
Structured Outputs
Two independent features, often confused:
| Feature | Parameter | Guarantees |
|---|---|---|
| JSON outputs | output_config: {format: {type: "json_schema", schema: {...}}} |
The response matches your schema |
| Strict tool use | strict: true on the tool definition |
Tool parameters validate exactly |
strict: true goes on the tool object alongside name/description/input_schema — not on tool_choice. Schema needs additionalProperties: false and required. The old top-level output_format parameter is deprecated.
Not supported in schemas: recursion, minimum/maximum, minLength/maxLength, additionalProperties set to anything but false.
Tool Choice
| Value | Behavior |
|---|---|
{"type": "auto"} |
Claude decides (default) |
{"type": "any"} |
Must use at least one tool |
{"type": "tool", "name": "..."} |
Must use that specific tool |
{"type": "none"} |
Cannot use tools |
Add "disable_parallel_tool_use": true to any of them to cap at one tool per response.
Parallel Tool Use
One assistant message may contain multiple tool_use blocks. Execute concurrently, then return all tool_result blocks in a single user message — splitting them across messages silently trains Claude to stop making parallel calls. For a failed tool, return tool_result with is_error: true; never drop it.
Programmatic Tool Calling
Claude writes a script in the code-execution container that calls your tools as functions. Intermediate results stay in the container instead of the context window; only the script's final output returns. Declare code_execution_20260120 and set "allowed_callers": ["code_execution_20260120"] on your custom tool. Incompatible with strict: true, disable_parallel_tool_use, forced tool_choice, and MCP tools.
📄 Tool use overview · Structured outputs · Programmatic tool calling
🤖 Agents & Orchestration
Start simple. Most "agent" problems are solved by workflows. Reach for an agent only when the task is genuinely open-ended and model-driven. This is Anthropic's own published guidance and it is heavily represented in the architect exam.
Should You Build an Agent?
All four must be true:
| Criterion | Question |
|---|---|
| Complexity | Multi-step and hard to fully specify in advance? |
| Value | Does the outcome justify higher cost and latency? |
| Viability | Is Claude actually capable at this task type? |
| Cost of error | Can errors be caught and recovered (tests, review, rollback)? |
The Four Ways to Build an Agent
The distinction that matters: who supplies the harness (loop + context management) and who supplies the deployment.
| # | Approach | You write | Harness & deployment | Use when |
|---|---|---|---|---|
| 1 | Manual loop | The while stop_reason == "tool_use" loop |
You build; you host | You want total control of the loop |
| 2 | Tool Runner ⭐ | Just the tool functions | SDK harness; you host | Custom-tool agent without hand-writing the loop |
| 3 | Managed Agents 🧪 | Agent config + tool results | Anthropic harness and sandbox | Persisted/versioned configs, long sessions, scheduled runs |
| 4 | Claude Agent SDK | A prompt + options | Claude Code harness; you host | Batteries-included coding/filesystem agent |
Options 1, 2, and 4 leave deployment to you. Only option 3 adds managed deployment.
"I need control" is rarely a reason to skip the Tool Runner. Its per-turn hooks give you approval gates, error interception, result modification (e.g. adding
cache_control), retries, streaming, and compaction. Drop to a manual loop only for a custom transport or a control flow the hooks genuinely don't fit.
Managed Agents Architecture
| Concept | Endpoint | What it is |
|---|---|---|
| Agent | /v1/agents |
Persisted, versioned config: model, system, tools, MCP servers, skills |
| Session | /v1/sessions |
One stateful run referencing an agent + environment |
| Environment | /v1/environments |
Reusable template for container provisioning |
| Vault | /v1/vaults |
Credentials — injected at egress, never visible in the sandbox |
| Memory store | /v1/memory_stores |
Workspace-scoped persistence across sessions |
| Deployment | /v1/deployments |
Cron schedule — each firing creates a session |
The mandatory flow is Agent (once) → Session (every run). model/system/tools live on the agent, never on the session. Creating an agent per run is the #1 anti-pattern: it accumulates orphaned objects, pays create latency every time, and defeats versioning.
Session lifecycle: rescheduling → running ↔ idle → terminated.
The idle-break gate. Do not break your event loop on
session.status_idlealone — sessions idle transiently while awaiting a tool confirmation or custom tool result. Break onsession.status_terminated, or on idle wherestop_reason.type !== "requires_action".
Multi-Agent Patterns
| Pattern | Shape | Good for |
|---|---|---|
| Orchestrator–worker | Coordinator delegates to subagents | Fan-out over independent items |
| Writer–verifier | One generates, a fresh-context agent checks | Quality gates; beats self-critique |
| Judge panel | N independent attempts, scored, synthesized | Wide solution spaces |
| Pipeline | Each item flows through stages independently | Throughput without barriers |
| Loop-until-dry | Keep spawning finders until K rounds find nothing new | Unknown-size discovery |
Coordinators declare a roster via multiagent: {type: "coordinator", agents: [...]} — a top-level agent field, not a tools[] entry. Max 20 unique agents, 25 concurrent threads, one level of delegation (enforced, not flattened).
Agent Design: Bash vs Dedicated Tools
A bash tool gives Claude breadth but hands your harness an opaque command string. Promote an action to a dedicated tool when you need to gate it (hard-to-reverse actions), enforce an invariant (staleness checks on edits), render it (custom UI), or parallelize it (mark read-only tools parallel-safe).
📄 Building effective agents ⭐ · Multi-agent research system · Managed Agents
🔌 Model Context Protocol (MCP)
MCP is an open standard for connecting LLMs to tools, data, and prompts. Anthropic created it and donated it to the ecosystem; it is now the de-facto integration layer across vendors.
Core Concepts
| Primitive | Direction | Purpose |
|---|---|---|
| Tools | Server → model | Callable functions the model may invoke |
| Resources | Server → model | Read-only context (files, records, docs) |
| Prompts | Server → user | Reusable, user-triggered templates |
| Sampling | Server → client | Server asks the client's model to complete something |
| Roots | Client → server | Filesystem boundaries the server may operate in |
Transports
| Transport | Use for |
|---|---|
stdio |
Local servers running as a subprocess |
| Streamable HTTP | Remote/hosted servers ⭐ |
| SSE | Legacy remote transport — superseded by Streamable HTTP |
Using MCP from the Messages API
The MCP connector needs both halves — declaring servers alone is a validation error:
client.beta.messages.create(
model="claude-opus-5", max_tokens=1024,
betas=["mcp-client-2025-11-20"],
mcp_servers=[{"type": "url", "url": "https://example/mcp", "name": "example-mcp"}],
tools=[{"type": "mcp_toolset", "mcp_server_name": "example-mcp"}],
messages=[...],
)
mcp_server_name must match a name in mcp_servers, and every declared server must be referenced by exactly one toolset.
MCP Authentication in Managed Agents
The agent declares {type, name, url} — no auth. Credentials live in a vault and attach to the session via vault_ids. Anthropic matches credentials to servers by URL (normalized: scheme/host lowercased, default ports and trailing slashes stripped) and auto-refreshes OAuth tokens.
⚠️ MCP auth tokens ≠ REST API tokens. Hosted MCP servers typically want OAuth bearer tokens, not the service's native API key. A Notion
ntn_integration token authenticates Notion's REST API but will not work as an MCP vault credential.
📄 MCP specification 🔓 · MCP servers registry 🔓 · MCP connector
💻 Claude Code
Claude Code is Anthropic's agentic coding tool, available as a CLI, desktop app (Mac/Windows), web app, and IDE extensions (VS Code, JetBrains).
Extension Surfaces
| Surface | Location | Purpose |
|---|---|---|
CLAUDE.md |
Repo root, ~/.claude/ |
Persistent project instructions loaded every session |
| Skills | .claude/skills/<name>/SKILL.md |
Packaged workflows, progressively disclosed |
| Slash commands | .claude/commands/*.md |
User-invocable prompts (/deploy, /review) |
| Subagents | .claude/agents/*.md |
Named agents with own model, tools, system prompt |
| Hooks | .claude/settings.json |
Deterministic shell execution on lifecycle events |
| MCP servers | .mcp.json, settings |
External tools and data |
| Output styles | Settings | Change the harness's response persona |
| Plugins | Marketplace | Bundled skills + commands + agents + MCP |
Settings Precedence
Enterprise managed policy → CLI flags → .claude/settings.local.json → .claude/settings.json → ~/.claude/settings.json.
Hook Events
| Event | Fires | Common use |
|---|---|---|
PreToolUse |
Before a tool runs | Block/approve; policy enforcement |
PostToolUse |
After a tool runs | Auto-format, lint, run tests |
UserPromptSubmit |
On prompt submit | Inject context |
SessionStart |
Session begins | Load environment state |
Stop / SubagentStop |
Turn ends | Notifications, cleanup |
PreCompact |
Before compaction | Persist state |
Hooks are how you get deterministic behavior. "Always run the formatter after an edit" belongs in a PostToolUse hook, not in CLAUDE.md — the harness executes hooks, whereas instructions are only advisory to the model. Exam questions probe exactly this distinction.
Subagent Design
| Field | Purpose |
|---|---|
name |
Invocation handle |
description |
When the orchestrator should delegate to it |
tools |
Allowlist — omit to inherit all |
model |
Per-agent override (low effort subagents are cheap) |
isolation: worktree |
Own git worktree for parallel file mutation |
Subagents keep tool output out of the parent's context — that context saving is the primary reason to use them, not parallelism alone.
📄 Claude Code docs · Hooks reference · Subagents · Agent SDK
📦 Agent Skills
A Skill is a folder containing SKILL.md plus optional scripts and references. Only the skill's name and description sit in context by default; Claude reads the full body when the task calls for it. That progressive disclosure is the entire point — it keeps the fixed context small.
SKILL.md Anatomy
---
name: pdf-report
description: Use when generating branded PDF reports from tabular data.
---
## Instructions
...steps, constraints, examples...
The description is the routing signal. Write it as a trigger condition ("Use when the user asks for X"), not a summary of capability — a description that only says what the skill does will under-trigger.
Skills via the Messages API
Not the Managed Agents surface. Requires both beta flags plus the code-execution tool:
client.beta.messages.create(
model="claude-opus-5", max_tokens=16000,
betas=["code-execution-2025-08-25", "skills-2025-10-02"],
container={"skills": [{"type": "anthropic", "skill_id": "pptx", "version": "latest"}]},
tools=[{"type": "code_execution_20260521", "name": "code_execution"}],
messages=[{"role": "user", "content": "Create a 3-slide deck about Q3"}],
)
Pre-built Anthropic skills: pptx, xlsx, docx, pdf. Max 20 skills per agent (prebuilt + custom combined). Generated files come back as file IDs — download via the Files API.
📄 Agent Skills · Skills cookbook 🔓
☁️ Deployment & Platform Availability
Platform Options
| Platform | Operated by | Model IDs | Notes |
|---|---|---|---|
| Claude API | Anthropic | claude-opus-5 |
Full feature set, same-day releases |
| Claude Platform on AWS | Anthropic | claude-opus-5 (bare) |
SigV4 auth, AWS IAM, Marketplace billing, same-day parity |
| Amazon Bedrock | AWS | anthropic.claude-opus-5 |
Partner-operated, feature subset, separate pricing |
| Google Vertex AI | claude-opus-5 |
GCP ADC auth, region required |
|
| Microsoft Foundry | Microsoft | claude-opus-5 |
Billed via Microsoft Marketplace at API rates |
Claude Platform on AWS is not Amazon Bedrock. The former is Anthropic-operated with bare model IDs and full parity; the latter is AWS-operated with
anthropic.-prefixed IDs and a feature subset. Confusing them is a frequent exam distractor.
Feature Availability Matrix
✅ GA · 🧪 beta · ❌ unsupported
| Feature | Claude API | Platform on AWS | Bedrock | Vertex | Foundry |
|---|---|---|---|---|---|
| Messages, streaming, tool use | ✅ | ✅ | ✅ | ✅ | ✅ |
| Adaptive thinking / effort | ✅ | ✅ | ✅ | ✅ | 🧪 |
| Prompt caching | ✅ | ✅ | ✅ | ✅ | 🧪 |
| Automatic prompt caching | ✅ | ✅ | ❌ | ❌ | 🧪 |
| Web search | ✅ | ✅ | ❌ | ✅ (basic only) | 🧪 |
| Web fetch | ✅ | ✅ | ❌ | ❌ | 🧪 |
| Code execution | ✅ | ✅ | ❌ | ❌ | 🧪 |
| Message Batches | ✅ | ✅ | ❌ | ❌ | ❌ |
| Files API | 🧪 | 🧪 | ❌ | ❌ | 🧪 |
| Models API | ✅ | ✅ | ❌ | ❌ | ❌ |
| MCP connector | 🧪 | 🧪 | ❌ | ❌ | 🧪 |
| Managed Agents | 🧪 | 🧪 | ❌ | ❌ | ❌ |
| Programmatic tool calling | ✅ | ✅ | ❌ | ❌ | 🧪 |
| Fast mode | 🧪 | ❌ | ❌ | ❌ | ❌ |
| Task budgets | 🧪 | 🧪 | ❌ | ❌ | ❌ |
Provider Clients
Use the platform's dedicated client class — not the first-party client with a base_url override.
| Platform | Python |
|---|---|
| Claude Platform on AWS | AnthropicAWS() — needs AWS_REGION + ANTHROPIC_AWS_WORKSPACE_ID |
| Bedrock | AnthropicBedrockMantle(aws_region=...) |
| Vertex AI | AnthropicVertex(project_id=..., region=...) |
| Foundry | AnthropicFoundry(api_key=..., resource=...) |
💬 Prompt Engineering
Prompting Claude 4.6+ models is different from prompting older models. They follow instructions far more literally, so prompts written to overcome earlier reluctance now overtrigger.
Dial Back Aggressive Instructions
| Before (worked on older models) | Now |
|---|---|
CRITICAL: You MUST use this tool when... |
Use this tool when... |
Default to using [tool] |
Use [tool] when it would improve X |
If in doubt, use [tool] |
(delete — no longer needed) |
If a model is overtriggering, the fix is almost always to soften the language, not to add more guardrails.
Techniques That Still Earn Their Keep
| Technique | When |
|---|---|
| Be explicit about the goal, not the steps | Newer models degrade under over-prescriptive scaffolding |
| Give the reason behind the request | The model connects the task to relevant context instead of guessing intent |
| XML tags for structure | Long prompts with distinct sections |
| Multishot examples | Format-sensitive output; positive examples beat "don't do X" |
| Explicit trigger conditions in tool descriptions | Measurably lifts should-call rate on recent Opus models |
Prefill replacement via output_config.format |
Prefills 400 on Opus 4.6+ and Sonnet 4.6+ |
Model-Specific Behavioral Tuning
| Behavior | Model | Fix |
|---|---|---|
| Longer responses than expected | Opus 5 | Add a conciseness instruction — lowering effort does not reliably shorten output |
| Over-verification | Opus 5 | Delete "double-check your work" instructions — it verifies unprompted; the instruction causes over-verification |
| Task scope expansion | Opus 5 | Add explicit scope-discipline wording |
| Delegates to subagents too readily | Opus 5 | Cap spawn count; remove "delegate more" guidance written for 4.8 |
| Under-reaches for tools/memory/subagents | Opus 4.8 | Add explicit "when to use this" triggering, in the tool description too |
| Measured code-review recall drops | 4.7+ | Remove "only high-severity" filters; report everything with confidence + severity, filter downstream |
| Default cream/serif design house style | Opus 4.7 | Specify a concrete palette, or have it propose 4 directions first |
📄 Prompt engineering overview · Prompt library · Anthropic Cookbook 🔓
💰 Cost & Performance Engineering
The Levers, in Order of Impact
| Lever | Typical saving | Tradeoff |
|---|---|---|
| Prompt caching | Up to ~90% on cached prefix | Requires a stable prefix |
| Batches API | 50% flat | Async, up to 24h |
| Right-sizing the model | 3–5× between tiers | Quality — measure, don't assume |
Lowering effort |
Large on agentic loops | Intelligence on hard tasks |
| Task budgets 🧪 | Bounded agentic spend | Model may finish less thoroughly |
| Context editing / compaction | Prevents runaway context growth | Loses detail |
Tool search + defer_loading |
Smaller fixed prompt | Extra search round trip |
Task Budgets vs max_tokens
max_tokens |
task_budget 🧪 |
|
|---|---|---|
| Enforced? | Yes — hard per-response cap | No — a suggestion |
| Model aware of it? | No | Yes — sees a countdown |
| Scope | One response | The whole agentic loop |
| Minimum | — | 20,000 tokens |
task_budget lets the model pace itself and finish gracefully; max_tokens cuts it off mid-thought. Use both.
Token Counting
Always use POST /v1/messages/count_tokens. Never tiktoken — it is OpenAI's tokenizer and undercounts Claude by ~15–20% on prose and far more on code. Token counts are model-specific; pass the model you'll actually call.
Streaming Rules
max_tokens |
Requirement |
|---|---|
| ≤ ~16,000 | Non-streaming fine |
| > ~16,000 | Stream — non-streaming hits SDK HTTP timeouts |
| Up to 128,000 | Supported on all current models except Haiku 4.5 (64K) |
🔐 Security, Safety & Governance
Trust Boundaries
| Boundary | Rule |
|---|---|
| Model output → your system | Every tool input is untrusted. Validate, allowlist, canonicalize paths. |
| Secrets → sandbox | Never put keys in system prompts or messages — they persist in event history and compaction summaries. Use vault environment_variable credentials (substituted at egress) or keep the call host-side behind a custom tool. |
| User content → prompt | Prompt injection is real. Prefer role: "system" messages (non-spoofable) over <system-reminder> text inside user turns. |
| Agent → external world | Gate hard-to-reverse actions behind explicit confirmation (permission_policy: always_ask). |
Refusals and Fallbacks
Frontier models run safety classifiers. A declined request returns HTTP 200 with stop_reason: "refusal" and a stop_details category — code that reads content[0] unconditionally will break.
if response.stop_reason == "refusal":
handle_refusal(response.stop_details)
else:
...
Opt into server-side fallbacks by default on frontier models: fallbacks: "default" with beta server-side-fallback-2026-07-01 routes by refusal category automatically, so you never maintain a model list.
Governance Controls
| Control | Mechanism |
|---|---|
| Data retention | Org-level configuration; Fable 5 requires 30-day retention (not available under ZDR) |
| Data residency | inference_geo top-level request parameter |
| Access scoping | Workspaces, per-workspace API keys, OAuth scopes (org:admin on a dedicated profile) |
| Egress control | Environment networking: {type: "limited", allowed_hosts: [...]} |
| Auditability | request_id on every response; Managed Agents session traces in Console |
| Permission policies | always_allow / always_ask per tool |
📄 Usage policy · Trust center · Responsible scaling policy
🧪 Evaluation & Observability
If you ship without evals you don't have a product — you have a demo.
What to Measure
| Layer | Signal |
|---|---|
| Correctness | Task success rate against a golden set |
| Cost | usage.input_tokens + cache_* + output_tokens per task, not per call |
| Latency | Time-to-first-token and total wall clock separately |
| Cache health | cache_read_input_tokens ratio across repeated prefixes |
| Tool behavior | Should-call rate, wrong-tool rate, parallel-call rate |
| Agentic | Turns per task, subagent spawn count, retries, early stops |
Practical Patterns
| Pattern | Description |
|---|---|
| LLM-as-judge | A separate model scores outputs against a rubric — use a fresh context, not self-critique |
| Adversarial verification | Spawn N skeptics prompted to refute a finding; kill it if a majority refute |
| Perspective-diverse verify | Give each verifier a distinct lens (correctness, security, perf, reproducibility) |
| Rubric-graded outcomes | Managed Agents user.define_outcome — the harness iterates until the rubric passes |
| Regression suite | Freeze prompts + inputs; re-run on every model migration |
Re-baseline on every model migration. Tokenizers change between generations (Opus 4.7 introduced one producing ~1×–1.35× the tokens of 4.6). Never carry token counts,
max_tokens, or cost dashboards across a model change without re-runningcount_tokens.
🎓 Certification Program
Read this first. Anthropic runs two entirely separate tracks, and mixing them up wastes money and time.
| Anthropic Academy | Claude Certification Program | |
|---|---|---|
| Cost | 🆓 Free | 💰 $99–$175 per exam |
| Open to | Anyone | Claude Partner Network members only |
| Format | Self-paced courses | Proctored exam via Pearson VUE |
| Credential | Course completion certificate | Certification |
| Registration | anthropic.skilljar.com | Anthropic Partner Academy |
A course completion certificate is not a certification. If someone asks whether you're "Claude certified," they mean the second column.
The Prerequisite That Blocks Most People
Certification is open to organizations in the Claude Partner Network and counts toward partner program standing. You cannot register as an unaffiliated individual — registration runs through the Anthropic Partner Academy, which is tied to the Partner Network. Joining the network starts free at the Registered level.
Sequence:
- Your organization joins the Claude Partner Network (free at Registered tier).
- You get access to the Anthropic Partner Academy.
- You complete self-paced preparation courses there.
- You schedule through Pearson VUE. First-time Pearson candidates receive login credentials by email before scheduling.
The Four Exams
| Exam | Code | Role | Level | Price |
|---|---|---|---|---|
| Claude Certified Associate — Foundations | CCAO-F |
Associate | Foundations | $99 |
| Claude Certified Developer — Foundations | CCDV-F |
Developer | Foundations | $125 |
| Claude Certified Architect — Foundations | CCAR-F |
Architect | Foundations | $125 |
| Claude Certified Architect — Professional | CCAR-P |
Architect | Professional | $175 |
Exam codes are confirmed on Pearson VUE's Anthropic page 📄. Pricing is as widely reported by preparation providers in 2026 — confirm current pricing at registration, as introductory and partner-tier discounts have applied at various points.
Shared Exam Format
| Attribute | Value |
|---|---|
| Duration | 120 minutes |
| Passing score | 720 on a 100–1,000 scaled scale |
| Delivery | Pearson VUE — online proctored (OnVUE) or test center |
| Book | Closed book — no Claude, no documentation, no external tools |
| Validity | 12 months, with a free on-time renewal |
| Attempts | Up to 4 per exam per rolling 12-month period |
Provenance note. Duration, passing score, and question counts are consistently reported across independent preparation providers but are not all published on Anthropic's public marketing pages. The authoritative figures are in the exam guide inside the Partner Academy for your specific exam. Read it — blueprints are versioned (v0.2 was current as of mid-2026) and weightings shift between revisions.
📄 Pearson VUE — Claude Certification Program · Anthropic Partner Academy · Claude Partner Network
🗺️ Certification Paths & Eligibility
Which Exam Should You Take?
| You are... | Start with | Then |
|---|---|---|
| Sales engineer, consultant, PM advising on Claude | CCAO-F Associate |
CCAR-F if you move into design |
| Engineer building on the Claude API day-to-day | CCDV-F Developer |
CCAR-F for system-level design |
| Solutions architect designing agentic systems | CCAR-F Architect |
CCAR-P Professional |
| Principal / staff engineer owning production Claude platforms | CCAR-F → CCAR-P |
— |
Role Focus
| Role | Centre of gravity | Typical questions |
|---|---|---|
| Associate | Capability, positioning, appropriate use, safety posture | "Which Claude capability fits this business requirement?" |
| Developer | API surface, SDK usage, tool wiring, debugging | "This request returns 400 on Opus 5. Why?" |
| Architect (Foundations) | System design, agentic architecture, reliability | "Which orchestration pattern fits this workload?" |
| Architect (Professional) | Tradeoffs at scale, cost/governance/multi-tenant design | "This design costs 4× budget at 10k req/day. What changes?" |
Readiness Self-Check
You are ready for Foundations level when, without looking anything up, you can:
- Name the current model IDs and their context/output limits
- Explain why
budget_tokensreturns 400 on Opus 5 and what replaces it - Describe the prompt-caching prefix rule and name three silent invalidators
- Distinguish compaction from context editing from memory, including their beta headers
- Explain the four ways to build an agent and who owns harness vs deployment
- Wire an MCP connector request correctly from memory (both halves)
- Say which of Bedrock / Vertex / Platform-on-AWS supports the Batches API
You are ready for Professional when you can additionally:
- Design a multi-tenant agent platform with per-tenant credential isolation
- Estimate cost for a described workload and name the top three levers to halve it
- Choose between Tool Runner, Managed Agents, and a manual loop for a described constraint set, and defend it
- Diagnose an agentic reliability failure from a described symptom (deadlocked session, silent truncation, cache misses)
- Explain the idle-break gate and the SSE reconnect-with-consolidation pattern
📐 Exam Blueprints & Domains
⚠️ Blueprints are versioned and change. The weightings below reflect the Architect blueprint as widely reported for Exam Guide v0.2 (mid-2026). Always pull the current guide from the Partner Academy before you study — an outdated blueprint is worse than none.
Claude Certified Architect — Foundations (CCAR-F)
Approximately 60 questions across five domains:
| # | Domain | Weight | What it covers |
|---|---|---|---|
| 1 | Agentic Architecture & Orchestration | 27% | When to build an agent, orchestrator–worker, subagents, session lifecycle, Managed Agents vs self-hosted |
| 2 | Claude Code Configuration & Workflows | 20% | CLAUDE.md, hooks, subagents, settings precedence, skills, plugins |
| 3 | Prompt Engineering & Structured Output | 20% | Instruction design, output_config.format, strict tools, prefill replacement |
| 4 | Tool Design & MCP Integration | 18% | Tool surface design, server vs client tools, MCP primitives, transports, auth |
| 5 | Context Management & Reliability | 15% | Caching, compaction, context editing, memory, error handling, retries |
Nearly half the exam (47%) sits in agentic architecture plus Claude Code workflows. Weight your study accordingly — this is the single most actionable fact in the blueprint.
Studying the Other Three
Anthropic publishes a per-exam guide in the Partner Academy; the Associate, Developer, and Professional blueprints are not consistently reported by third parties, so do not study from a secondhand blueprint for those. Use this repo's technical sections as the knowledge base and the official guide as the map.
Reasonable expectations by role, based on the published role definitions:
| Exam | Emphasis likely to dominate |
|---|---|
CCAO-F Associate |
Capability/positioning, safe and appropriate use, solution fit, platform overview |
CCDV-F Developer |
Messages API surface, SDK idioms, tool use, structured outputs, debugging, cost mechanics |
CCAR-P Professional |
Everything in CCAR-F at greater depth, plus scale, governance, multi-tenancy, and cost tradeoffs |
Mapping Blueprint → This Repo
| Domain | Study here |
|---|---|
| Agentic Architecture & Orchestration | Agents & Orchestration |
| Claude Code Configuration & Workflows | Claude Code, Agent Skills |
| Prompt Engineering & Structured Output | Prompt Engineering, Tool Use |
| Tool Design & MCP Integration | Tool Use & Server Tools, MCP |
| Context Management & Reliability | Thinking, Effort & Context, API Platform Reference |
| Cost mechanics (all exams) | Cost & Performance Engineering |
| Platform selection | Deployment & Platform Availability |
📅 Study Plans
The single highest-yield preparation activity is building something real. Every reported exam blueprint is weighted toward design decisions and production tradeoffs, which do not survive flashcard study.
4-Week Plan — Architect Foundations (CCAR-F)
| Week | Focus | Do this |
|---|---|---|
| 1 | Platform fundamentals | Read the Claude API docs end to end. Build a tool-use loop by hand, then rebuild it with the Tool Runner. Run count_tokens on real prompts. Instrument usage on every call. |
| 2 | Agentic architecture (27%) | Build an orchestrator–worker system with 3+ subagents. Then build the same thing on Managed Agents. Deliberately break the idle-break gate and observe the deadlock. |
| 3 | Claude Code + MCP (38% combined) | Write a CLAUDE.md, two skills, a slash command, a subagent, and a PostToolUse hook. Build an MCP server exposing a tool, a resource, and a prompt. Wire it into both Claude Code and the Messages API. |
| 4 | Reliability, cost, review | Add caching to a real prompt and verify cache_read_input_tokens. Force a 400 for each removed parameter. Take the Partner Academy practice assessment. Re-read the official exam guide. |
2-Week Intensive — Developer Foundations (CCDV-F)
| Days | Focus |
|---|---|
| 1–3 | Messages API surface: streaming, system prompts, vision, PDFs, stop reasons |
| 4–6 | Tool use: definitions, tool choice, parallel calls, error results, Tool Runner |
| 7–8 | Structured outputs and strict tools; deliberately violate the schema constraints |
| 9–10 | Caching, batches, files, token counting — measure everything |
| 11–12 | Error handling: trigger each status code intentionally; write the typed-exception chain |
| 13–14 | Review + practice assessment |
1-Week Plan — Associate Foundations (CCAO-F)
| Day | Focus |
|---|---|
| 1 | Model family, capabilities, pricing tiers, when to use which |
| 2 | What Claude can and cannot do; appropriate use and safety posture |
| 3 | Platform options and their tradeoffs (API / AWS / Bedrock / Vertex / Foundry) |
| 4 | Agents, MCP, and Claude Code at a conceptual level |
| 5 | Cost mechanics: caching, batches, model right-sizing |
| 6 | Governance: data retention, residency, workspaces, usage policy |
| 7 | Practice assessment + gap review |
Build-Along Projects (ranked by exam yield)
| Project | Covers |
|---|---|
| Multi-agent research system with a writer–verifier loop | Agentic architecture, subagents, reliability |
| MCP server with tools + resources + prompts, wired into Claude Code | MCP, Claude Code, tool design |
| RAG pipeline with citations and an LLM-judge eval harness | Structured output, evaluation, cost |
Managed Agent on a cron deployment writing to /mnt/session/outputs/ |
Managed Agents, sessions, files, scheduling |
| Cost-optimization pass on an existing prompt (caching + batching + right-sizing) | Cost engineering, caching internals |
✅ Success Criteria & Passing Guide
The Scoring Model
Scores are scaled 100–1,000 with a pass at 720. A scaled score is not a percentage — it is normalized for form difficulty, so you cannot derive "how many questions do I need right" from 720. Treat the practical target as comfortably above 80% on practice material, not 72%.
Practically: with roughly 60 questions in 120 minutes you have ~2 minutes per question. That is generous for recall questions and tight for long scenario questions — which is exactly why time management (below) matters more than raw knowledge for most borderline candidates.
What "Ready" Looks Like
| Signal | Threshold |
|---|---|
| Practice assessment score | ≥ 85% consistently, not once |
| Scenario questions | You can justify why the other three options are wrong, not just pick the right one |
| Speed | ≤ 90 seconds average on recall questions, leaving buffer for scenarios |
| Blind recall | You can write the model table, the thinking matrix, and the cache-minimum table from memory |
| Build evidence | You have shipped at least one agentic system end to end |
If you can select the correct answer but cannot articulate why the distractors fail, you are pattern-matching to practice questions and will not transfer to the live form.
The Highest-Yield Facts to Over-Learn
These recur across every reported blueprint and are cheap to memorize:
| Fact | Detail |
|---|---|
| Model IDs | Exact strings, no date suffixes on aliases |
| Context / output | 1M / 128K for current family; Haiku 4.5 is 200K / 64K |
effort location |
Inside output_config, five levels, default high |
| Thinking defaults | On by default on Opus 5 / Fable 5 / Sonnet 5; off by default on Opus 4.8 / 4.7 |
| Removed params | budget_tokens, temperature, top_p, top_k, assistant prefill → 400 on Opus 4.7+ |
| Cache rule | Prefix match; 4 breakpoints; render order tools → system → messages |
| Cache minimums | 512 / 1024 / 2048 / 4096 by model — not monotonic |
| Agent flow | Agent once → Session every run; model/system/tools on the agent |
| Idle-break gate | Break on terminated, or idle where stop_reason.type !== "requires_action" |
| MCP connector | Needs mcp_servers and a matching mcp_toolset |
| Batches | 50% off, ≤100k requests / 256 MB, ≤24h, results 29 days, not on Bedrock/Vertex |
| Refusals | HTTP 200 + stop_reason: "refusal" — not an exception |
| Platform on AWS ≠ Bedrock | Bare IDs + full parity vs anthropic. prefix + subset |
Common Reasons Candidates Fail
| Failure mode | Fix |
|---|---|
| Studied from 2025-era material | Adaptive thinking, removed sampling params, and prefill removal all postdate it |
| Memorized features, never built | Scenario questions ask for tradeoffs, not definitions |
| Skipped Claude Code | It's ~20% of the architect exam and is often treated as "just a CLI" |
| Confused the two Anthropic tracks | Academy completion ≠ certification |
| Studied a stale blueprint | Guides are versioned; pull the current one from the Partner Academy |
| Ran out of time on scenarios | Flag and move; see the playbook below |
| Ignored cost/limits | Pricing, context windows, rate limits, and batch discounts are testable |
🧾 Exam Day Playbook
Before the Day
- Confirm your Pearson VUE account and that your name matches your government ID exactly
- For OnVUE: run the system test on the same machine, network, and room you'll use
- Clear your desk completely; know your proctor's rules on water, breaks, and dual monitors
- Re-read the official exam guide one final time — not new material
- Sleep. Cramming the night before reliably underperforms a rested 90 minutes.
Time Management
With ~60 questions in 120 minutes:
| Pass | Budget | Action |
|---|---|---|
| Pass 1 | ~70 min | Answer everything you know in ≤ 90s. Flag anything slower. Never leave a blank. |
| Pass 2 | ~35 min | Work the flagged scenario questions with the full remaining budget |
| Pass 3 | ~15 min | Review flags only. Change an answer only if you can name the specific fact that makes your first choice wrong. |
Answering Strategy
- Read the last sentence first. Scenario stems bury the actual question at the end; knowing what's asked makes the stem scannable.
- Identify the constraint. Most architecture questions hinge on one constraint — cost, latency, data residency, isolation, or reversibility. Find it, and two options usually disqualify themselves.
- Eliminate on hard facts. An option naming a removed parameter, a wrong beta header, an unsupported platform feature, or a date-suffixed alias is wrong regardless of how sensible the rest sounds.
- Prefer the simpler tier. When a workflow and an agent both work, the workflow is usually the intended answer — that is Anthropic's own published guidance.
- Watch for "MOST" and "BEST." Multiple options may work; you're being asked to rank them against the stated constraint.
- Beware plausible-but-outdated. Distractors are frequently correct for an older model. Check the model named in the stem.
Closed-Book Discipline
The exam is proctored with no Claude, no documentation, and no external tools. Practice at least your final two mock exams under the same conditions — the performance gap between open-book and closed-book practice is the most commonly underestimated variable.
🎯 Question Patterns & Traps
These are patterns synthesized from the published blueprint and the API's real failure modes — not leaked items. If you can answer every one cold, you are prepared.
Pattern 1 — The 400 Diagnosis
A request to
claude-opus-5withthinking: {type: "disabled"}andoutput_config: {effort: "xhigh"}returns 400. Why?
Disabling thinking on Opus 5 is permitted only at effort high or lower. Fix: raise thinking or lower effort. Trap: the same request succeeds on Opus 4.8.
Pattern 2 — The Silent Cache Miss
An agent's
cache_read_input_tokensis always 0 despite an identical system prompt. Why?
Look for something volatile in the prefix — a timestamp, a UUID, unsorted JSON, or a per-user tool set. Trap: "add more cache_control breakpoints" is always wrong here; the prefix itself differs.
Pattern 3 — The Deadlocked Session
A Managed Agents client stops receiving output mid-run and the session shows idle. What happened?
The agent emitted a custom_tool_use or an always_ask tool_use and is waiting for the client. The client broke its loop on session.status_idle. Fix: gate on stop_reason.type !== "requires_action". Trap: "the session crashed" — idle is not terminated.
Pattern 4 — Agent vs Workflow
A task has fixed, known steps but calls three APIs in sequence. Agent or workflow?
Workflow with tool use. It fails the "hard to fully specify in advance" criterion. Trap: the presence of tools does not make something an agent.
Pattern 5 — Platform Feature Availability
A design requires the Batches API for 50% cost savings and must run on Amazon Bedrock. Is it viable?
No — Batches is not available on Bedrock or Vertex. Either move to the Claude API / Platform on AWS, or drop batching. Trap: Platform on AWS does support it; Bedrock does not, and they are different products.
Pattern 6 — MCP Wiring
mcp_serversis declared with a valid URL but the model never calls the tools. Why?
Missing the mcp_toolset entry in tools referencing the server by name — a validation error. Under limited networking, also check allow_mcp_servers or allowed_hosts.
Pattern 7 — Prefill Removal
Existing code prefills the assistant turn with
{"name": "to force JSON. It 400s after migration. What's the replacement?
output_config.format with a JSON schema. For skipping preambles, a system-prompt instruction. For labels, a tool with an enum.
Pattern 8 — Context Strategy Selection
A support agent must remember a user's preferences between separate conversations. Compaction, context editing, or memory?
Memory. Compaction summarizes within a session; context editing prunes within a session; only memory persists across sessions.
Pattern 9 — Cost Right-Sizing
A classification workload runs 2M requests/day on Opus 5 and blows the budget. Best first move?
Model right-sizing to Haiku 4.5, then batching if latency permits. Trap: lowering effort on Opus is a smaller lever than a tier change for simple classification.
Pattern 10 — Deterministic Behavior in Claude Code
"Run the formatter after every file edit, without fail." Where does this go?
A PostToolUse hook in .claude/settings.json. Trap: CLAUDE.md is advisory to the model; hooks are executed by the harness. "Without fail" means hook.
Pattern 11 — The Refusal Path
A security-tooling request to a frontier model returns HTTP 200 but empty content. What's the bug?
Not a bug — stop_reason: "refusal". The code reads content[0] without checking stop_reason. Add refusal handling and opt into fallbacks: "default".
Pattern 12 — Agent Lifecycle Anti-Pattern
A cron job calls
agents.create()thensessions.create()on every firing. What's wrong?
Agents are persistent, versioned resources. Create once, store the ID, reference it. This orphans agents, pays create latency, and defeats version pinning. For a cron shape, use a deployment instead of a client-side scheduler.
🔁 Retakes, Renewal & Scoring
Retake Policy
| Attempt | Wait before next attempt |
|---|---|
| After 1st | 14 days |
| After 2nd | 30 days |
| After 3rd | 90 days |
| Maximum | 4 attempts per exam per rolling 12-month period |
Source: Pearson VUE — Anthropic 📄.
If You Fail
- Read the score report. It reports performance by domain — that map is the study plan.
- Do not immediately rebook. The 14-day wait exists for a reason; a same-week retake on unchanged preparation usually repeats the result.
- Convert weak domains into builds, not re-reading. If Agentic Architecture was weak, ship an orchestrator–worker system; don't re-skim the docs.
- Take a fresh mock under closed-book conditions before rebooking.
Renewal
Certifications are valid for 12 months with a free on-time renewal. Set a calendar reminder at 10 months. Let it lapse and you re-take at full price.
Because the model family and API surface move quickly, treat renewal as a genuine re-study of the deltas — the migration guide is the highest-yield document for that.
📚 Courses & Learning Resources
Official Anthropic (free)
| Resource | Type | Notes |
|---|---|---|
| Anthropic Academy 🆓 ⭐ | Course catalog | Open to anyone; completion certificates |
| Building with the Claude API 🆓 | Course (~8h) | The backbone course for the Developer exam |
| Introduction to MCP 🆓 | Course | MCP primitives and transports |
| Advanced MCP 🆓 | Course | Server authoring, sampling, roots |
| Claude Code in Action 🆓 | Course | Practical Claude Code workflows |
| Anthropic Cookbook 🔓 ⭐ | Notebooks | Runnable patterns — RAG, tools, evals, vision |
| Claude Quickstarts 🔓 | Templates | Reference apps to fork |
| Anthropic Courses repo 🔓 | Notebooks | Prompt engineering, tool use, evals |
Official Documentation
| Resource | Use for |
|---|---|
| Claude Developer Platform docs 📄 ⭐ | The canonical API reference |
| Claude Code docs 📄 | Hooks, skills, subagents, settings |
| MCP specification 📄 🔓 | Protocol semantics |
| Model migration guide 📄 | Breaking changes — highest-yield doc for renewals |
| Anthropic engineering blog 📄 | Building effective agents, multi-agent systems, context engineering |
| Anthropic news 📄 | Model launches and program changes |
Certification-Specific
| Resource | Notes |
|---|---|
| Anthropic Partner Academy 📄 ⭐ | The authoritative source for exam guides and practice assessments |
| Pearson VUE — Anthropic 📄 | Scheduling, retake policy, OnVUE requirements |
| Claude Partner Network 📄 | Eligibility prerequisite |
Community Preparation (unofficial)
Third-party guides are useful for orientation and mock questions, but they are not authoritative and have already published conflicting figures (notably on exam pricing). Cross-check every specific number against the Partner Academy guide.
| Resource | Notes |
|---|---|
| Claude Certification Guide | Free mock exams and study guides |
| FlashGenius — Claude Certifications | Four-exam overview |
| Claude Directory — Architect exam guide | Domain weightings, prep approach |
🧭 Reference Cheat Sheets
Beta Headers
| Header | Enables |
|---|---|
managed-agents-2026-04-01 |
Agents, sessions, environments, vaults, memory stores, deployments |
skills-2025-10-02 |
Skills API |
files-api-2025-04-14 |
Files API |
compact-2026-01-12 |
Compaction |
context-management-2025-06-27 |
Context editing |
mcp-client-2025-11-20 |
MCP connector |
code-execution-2025-08-25 |
Code execution in the skills flow |
task-budgets-2026-03-13 |
Task budgets |
fast-mode-2026-02-01 |
Fast mode |
server-side-fallback-2026-07-01 |
fallbacks: "default" |
mid-conversation-tool-changes-2026-07-01 |
Cache-preserving tool set changes |
Headers GA'd and safe to remove: effort-2025-11-24, fine-grained-tool-streaming-2025-05-14, interleaved-thinking-2025-05-14, token-efficient-tools-2025-02-19, output-128k-2025-02-19.
Stop Reasons
| Value | Meaning |
|---|---|
end_turn |
Finished naturally |
max_tokens |
Hit the output cap — increase or stream |
stop_sequence |
Hit a custom stop sequence |
tool_use |
Wants a tool — execute and continue |
pause_turn |
Server-tool loop paused — re-send to resume |
refusal |
Safety decline — check stop_details |
model_context_window_exceeded |
Context window exhausted (≠ max_tokens) |
Managed Agents Event Types
| Event | Meaning |
|---|---|
agent.message |
Agent text output |
agent.tool_use / agent.tool_result |
Built-in toolset activity |
agent.custom_tool_use |
You must respond with user.custom_tool_result |
session.status_running / _idle / _terminated |
Lifecycle transitions |
span.model_request_end |
Carries model_usage for cost tracking |
session.thread_created |
Subagent thread spawned |
Usage Fields
| Field | Cost multiplier |
|---|---|
input_tokens |
1× (uncached remainder only) |
cache_creation_input_tokens |
1.25× (5m) / 2× (1h) |
cache_read_input_tokens |
~0.1× |
output_tokens |
Output rate |
Total prompt size = input_tokens + cache_creation_input_tokens + cache_read_input_tokens. Reading input_tokens alone dramatically understates a cached agent's context.
The ant CLI
ant auth login # OAuth profile
ant auth status # which credential source won
ant models list
ant beta:agents create < agent.yaml --transform id -r
ant beta:sessions:events stream --session-id "$SID"
Use the CLI for the control plane (agents, environments — version-controlled YAML applied from CI) and the SDK for the data plane (sessions, events, driven by your application).
🌍 Community & Open Source
| Project | Description |
|---|---|
| modelcontextprotocol/servers 🔓 ⭐ | Reference MCP server implementations |
| anthropics/anthropic-cookbook 🔓 ⭐ | Official runnable patterns |
| anthropics/anthropic-quickstarts 🔓 | Reference applications |
| anthropics/courses 🔓 | Notebook-based curriculum |
| anthropics/skills 🔓 | Agent Skills examples |
| anthropics/claude-code 🔓 | Claude Code issues and releases |
| Anthropic Discord | Community support |
| Anthropic status | Incident and uptime tracking |
Notable Engineering Writeups
| Source | Topic | Takeaway |
|---|---|---|
| Anthropic ⭐ | Building effective agents | Start simple — most "agent" problems are workflows |
| Anthropic ⭐ | Multi-agent research system | Orchestrator–worker, and where multi-agent actually pays off |
| Anthropic | Claude Code best practices | Practical harness configuration |
| Anthropic | Customer stories | Reported enterprise outcomes |
🤝 Contributing
Contributions are very welcome — this list is only as good as the people maintaining it.
Before opening a PR, please check that your entry:
- ✅ Is accurate and current — the API surface moves fast; stale facts are worse than missing ones
- ✅ Is production-relevant — something a team would actually deploy, not a weekend demo
- ✅ Links to the canonical source — Anthropic docs over a blog summary of Anthropic docs
- ✅ Is not already listed under another section
- ✅ Follows the existing table format with a one-line, non-marketing description
- ✅ For certification content: distinguishes official from community-reported facts, and never reproduces real exam questions
⚠️ Exam integrity. This repo does not accept braindumps, recalled exam items, or any content that violates the Pearson VUE candidate agreement. Study patterns and blueprints only.
How to contribute:
# 1. Fork and clone
git clone https://github.com/<your-username>/awesome-claude.git
cd awesome-claude
# 2. Create a branch
git checkout -b add-awesome-resource
# 3. Edit README.md, then commit
git commit -am "Add <Resource> to <Section>"
# 4. Push and open a pull request
git push origin add-awesome-resource
Found a dead link, an outdated model ID, or a changed exam figure? Open an issue — corrections are as valuable as additions.
⭐ Star History
If this list is useful to you, please consider starring it — it helps other engineers find it.
👤 Author
Seyhun Akyürek
📄 License
Released under the MIT License.
Copyright © 2026 Seyhun Akyürek
All trademarks, product names and logos belong to their respective owners. This is an independent, community-maintained resource. It is not affiliated with, endorsed by, or sponsored by Anthropic PBC or Pearson VUE. Certification details are summarized for orientation only — the Anthropic Partner Academy exam guide is the authoritative source.
Made with ❤️ for the Claude engineering community