Directories
¶
| Path | Synopsis |
|---|---|
|
Package claude provides the client implementation for communicating with the Claude CLI.
|
Package claude provides the client implementation for communicating with the Claude CLI. |
|
mcp
Package mcp provides in-process MCP (Model Context Protocol) server support.
|
Package mcp provides in-process MCP (Model Context Protocol) server support. |
|
subprocess
Package subprocess provides subprocess communication with the Claude CLI.
|
Package subprocess provides subprocess communication with the Claude CLI. |
|
examples
|
|
|
basic-query
command
Package main demonstrates a basic one-shot query using the Claude Agent SDK.
|
Package main demonstrates a basic one-shot query using the Claude Agent SDK. |
|
chatapp
command
Package main demonstrates a simple chat application with the Claude Agent SDK.
|
Package main demonstrates a simple chat application with the Claude Agent SDK. |
|
configuration
command
Package main demonstrates all configuration options for the Claude Agent SDK.
|
Package main demonstrates all configuration options for the Claude Agent SDK. |
|
custom-tools
command
Package main demonstrates custom tool registration and execution with the Claude Agent SDK.
|
Package main demonstrates custom tool registration and execution with the Claude Agent SDK. |
|
debugging-diagnostics
command
Package main demonstrates debugging and diagnostics with the Claude Agent SDK.
|
Package main demonstrates debugging and diagnostics with the Claude Agent SDK. |
|
demo
command
Package main provides a demo CLI tool showcasing the agent-sdk-go internal packages.
|
Package main provides a demo CLI tool showcasing the agent-sdk-go internal packages. |
|
error-handling
command
Package main demonstrates error handling patterns with the Claude Agent SDK.
|
Package main demonstrates error handling patterns with the Claude Agent SDK. |
|
file-checkpointing
command
Package main demonstrates file checkpointing with the Claude Agent SDK.
|
Package main demonstrates file checkpointing with the Claude Agent SDK. |
|
hooks-lifecycle
command
Package main demonstrates hook lifecycle patterns with the Claude Agent SDK.
|
Package main demonstrates hook lifecycle patterns with the Claude Agent SDK. |
|
mcp_tools
command
Package main demonstrates SDK MCP tool functionality for agent-sdk-go.
|
Package main demonstrates SDK MCP tool functionality for agent-sdk-go. |
|
multi-turn
command
Package main demonstrates multi-turn conversations using the Claude Agent SDK.
|
Package main demonstrates multi-turn conversations using the Claude Agent SDK. |
|
partial-streaming
command
Package main demonstrates partial message streaming with the Claude Agent SDK.
|
Package main demonstrates partial message streaming with the Claude Agent SDK. |
|
permission-modes
command
Package main demonstrates permission mode patterns with the Claude Agent SDK.
|
Package main demonstrates permission mode patterns with the Claude Agent SDK. |
|
plugins
command
Package main demonstrates plugin configuration with the Claude Agent SDK.
|
Package main demonstrates plugin configuration with the Claude Agent SDK. |
|
programmatic-subagents
command
Package main demonstrates programmatic subagents with the Claude Agent SDK.
|
Package main demonstrates programmatic subagents with the Claude Agent SDK. |
|
research-agent
command
Package main demonstrates a multi-agent research system with the Claude Agent SDK.
|
Package main demonstrates a multi-agent research system with the Claude Agent SDK. |
|
sandbox-security
command
Package main demonstrates sandbox security settings with the Claude Agent SDK.
|
Package main demonstrates sandbox security settings with the Claude Agent SDK. |
|
sdk-mcp-server
command
Package main demonstrates creating SDK MCP servers with the Claude Agent SDK.
|
Package main demonstrates creating SDK MCP servers with the Claude Agent SDK. |
|
session-control
command
Package main demonstrates session control patterns with the Claude Agent SDK.
|
Package main demonstrates session control patterns with the Claude Agent SDK. |
|
streaming
command
Package main demonstrates streaming responses from Claude using the Agent SDK.
|
Package main demonstrates streaming responses from Claude using the Agent SDK. |
|
structured-output
command
Package main demonstrates structured output with the Claude Agent SDK.
|
Package main demonstrates structured output with the Claude Agent SDK. |
|
internal
|
|
Click to show internal directories.
Click to hide internal directories.