mirror of
https://github.com/anthropics/claude-cookbooks.git
synced 2025-10-06 01:00:28 +03:00
* Add Claude Code SDK tutorials and examples This PR adds comprehensive tutorials and examples for the Claude Code SDK, including: - Research agent implementation with web search capabilities - Chief of Staff agent with multi-agent coordination - Observability agent with Docker configuration - Supporting utilities and documentation The examples demonstrate key SDK features: - Multi-turn conversations with ClaudeSDKClient - Custom output styles and slash commands - Hooks for automated actions and governance - Script execution via Bash tool - Multi-agent orchestration patterns --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: rodrigo olivares <rodrigoolivares@anthropic.com> Co-authored-by: Alex Notov <zh@anthropic.com>
821 B
821 B
Observability Agent Architecture
graph TD
User[User] --> Agent[Observability Agent]
Agent --> GitHub[GitHub MCP Server]
Agent --> Tools[Tools]
Tools --> WebSearch[WebSearch]
Tools --> Read[Read Files]
GitHub --> Docker[Docker Container]
Docker --> API[GitHub API]
style Agent fill:#f9f,stroke:#333,stroke-width:3px
style GitHub fill:#bbf,stroke:#333,stroke-width:2px
Communication Flow Diagram
sequenceDiagram
participant User
participant Agent
participant MCP as GitHub MCP
participant API as GitHub API
User->>Agent: Query about repo
Agent->>MCP: Connect via Docker
Agent->>MCP: Request data
MCP->>API: Fetch info
API-->>MCP: Return data
MCP-->>Agent: Process results
Agent-->>User: Display answer