Use when reviewing, debugging, or building AI agents with the Claude Agent SDK (TypeScript or Python).
Covers the Agent class, query(), agent.stream(), tool_use, tool schemas, maxIterations, subagents,
hooks (PreToolCall, PostToolCall, StopHook), MCP integration, multi-agent coordination, structured output,
context window management, stop_reason handling, agentic loop architecture, testing, and observability.
Do NOT activate for general Claude API usage without agents, simple messages.create() calls,
or non-agent Anthropic SDK usage — use the claude-api skill for those.
2026-06-04