32 Articles · 8 Tasks
Foundations
F1 Messages API (5)
F1.1
arrow_forward
The Messages API Is Stateless — Every Request Stands Alone
Messages API Request Structure
F1.2
arrow_forward
Two Roles, No Exceptions
Message Roles
F1.3
arrow_forward
Four Content Block Types, Each With a Direction
Content Block Types
F1.4
arrow_forward
Reading the Response: stop_reason Is Your Control Signal
Response Structure
F1.5
arrow_forward
Tokens: The Currency of Every API Call
Tokens and Context Window
F2 Tool Use (5)
F2.1
arrow_forward
The Tool Use Dance: Six Steps, Three API Calls
Tool Use Complete Flow
F2.2
arrow_forward
Defining Tools: Name, Description, and Input Schema
Tool Definition Format
F2.3
arrow_forward
The tool_use Block: What the Model Sends When It Wants a Tool Called
tool_use Content Block
F2.4
arrow_forward
Sending Tool Results Back: The tool_result Block
tool_result Content Block
F2.5
arrow_forward
Virtual Tools: Hijacking tool_use for Guaranteed JSON
tool_use as Structured Output
F3 MCP (5)
F3.1
arrow_forward
MCP: One Protocol to Connect Them All
What is MCP
F3.2
arrow_forward
Tools, Resources, and Prompts: MCP's Three Primitives
MCP Three Primitives
F3.3
arrow_forward
The camelCase Trap: MCP Tool Definitions vs Claude API
MCP Tool Definition Format
F3.4
arrow_forward
Don't Disguise Errors as Empty Results
MCP CallToolResult
F3.5
arrow_forward
stdio for Local, HTTP for Remote: Choosing MCP Transports
MCP Server Transport Methods
F4 Claude Code (4)
F4.1
arrow_forward
Claude Code: A CLI Tool, Not an IDE
What is Claude Code
F4.2
arrow_forward
Grep Searches Content, Glob Searches Paths
Built-in Tools
F4.3
arrow_forward
Three Levels of CLAUDE.md: User, Project, Directory
Configuration Hierarchy
F4.4
arrow_forward
Four Permission Modes: From Full Control to Full Automation
Permission Modes
F5 Agent SDK (5)
F5.1
arrow_forward
Agent SDK: Claude Code's Agentic Powers, Programmable
What is Agent SDK
F5.2
arrow_forward
query() vs ClaudeSDKClient: Stateless vs Stateful
Core Interfaces
F5.3
arrow_forward
ClaudeAgentOptions: Configuring What an Agent Can Do
ClaudeAgentOptions
F5.4
arrow_forward
When Statefulness Actually Matters
query vs ClaudeSDKClient
F5.5
arrow_forward
Sub-Agents: Coordinator Delegates, Specialists Execute
Sub-Agents in Agent SDK
F6 JSON Schema (2)
F7 Prompt Basics (3)
F8 Agentic Concepts (3)