Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
agent-cli
command
|
|
|
examples
|
|
|
a2a/client
command
Package main demonstrates calling a remote A2A agent from an agent-sdk-go client.
|
Package main demonstrates calling a remote A2A agent from an agent-sdk-go client. |
|
a2a/content_team/copywriter
command
Package main runs a Copywriter A2A agent that drafts social media posts.
|
Package main runs a Copywriter A2A agent that drafts social media posts. |
|
a2a/content_team/hashtag
command
Package main runs a Hashtag Guru A2A agent that optimizes posts with hashtags and tips.
|
Package main runs a Hashtag Guru A2A agent that optimizes posts with hashtags and tips. |
|
a2a/content_team/orchestrator
command
Package main runs the Content Director that orchestrates a team of specialist A2A agents (Copywriter, Reviewer, Hashtag Guru) to produce polished social media posts for a given topic.
|
Package main runs the Content Director that orchestrates a team of specialist A2A agents (Copywriter, Reviewer, Hashtag Guru) to produce polished social media posts for a given topic. |
|
a2a/content_team/reviewer
command
Package main runs a Reviewer A2A agent that edits and improves social media posts.
|
Package main runs a Reviewer A2A agent that edits and improves social media posts. |
|
a2a/server
command
Package main demonstrates exposing an agent-sdk-go agent as an A2A server.
|
Package main demonstrates exposing an agent-sdk-go agent as an A2A server. |
|
advanced_agent_streaming
command
|
|
|
agent
command
|
|
|
agent-token-usage-simple
command
|
|
|
agent_config_yaml
command
|
|
|
context
command
|
|
|
custom_functions
command
|
|
|
datastore/postgres
command
|
|
|
datastore/supabase
command
|
|
|
embedding/advanced
command
|
|
|
evaluation
command
|
|
|
gcs_storage_test
command
Package main provides a simple GCS storage test for image generation.
|
Package main provides a simple GCS storage test for image generation. |
|
gcs_storage_yaml_test
command
Package main demonstrates YAML-based image generation with GCS storage and the embedded web UI.
|
Package main demonstrates YAML-based image generation with GCS storage and the embedded web UI. |
|
graphrag
command
Example program to test GraphRAG functionality
|
Example program to test GraphRAG functionality |
|
graphrag-agent
command
Example program demonstrating an agent using GraphRAG to answer questions about entities and relationships stored in a knowledge graph.
|
Example program demonstrating an agent using GraphRAG to answer questions about entities and relationships stored in a knowledge graph. |
|
graphrag-memory-agent
command
Package main demonstrates using GraphRAG as persistent memory for an agent.
|
Package main demonstrates using GraphRAG as persistent memory for an agent. |
|
guardrails
command
|
|
|
http-streaming
command
|
|
|
image_generation
command
Package main demonstrates image generation capabilities using the Agent SDK.
|
Package main demonstrates image generation capabilities using the Agent SDK. |
|
image_generation_ui
command
Package main demonstrates image generation with the embedded web UI.
|
Package main demonstrates image generation with the embedded web UI. |
|
llm/anthropic
command
|
|
|
llm/anthropic/bedrock
command
|
|
|
llm/anthropic/vertex
command
|
|
|
llm/azureopenai
command
|
|
|
llm/deepseek
command
|
|
|
llm/deepseek/agent
command
|
|
|
llm/deepseek/reasoning
command
|
|
|
llm/deepseek/streaming
command
Package main demonstrates real-time streaming with DeepSeek LLM using the agent framework's RunStream capability.
|
Package main demonstrates real-time streaming with DeepSeek LLM using the agent framework's RunStream capability. |
|
llm/deepseek/tools
command
|
|
|
llm/gemini
command
|
|
|
llm/gemini/structured_output
command
|
|
|
llm/ollama
command
|
|
|
llm/ollama/agent_integration
command
|
|
|
llm/ollama/structured_output
command
|
|
|
llm/openai
command
|
|
|
llm/openai/reasoning
command
|
|
|
llm/openai/retry
command
|
|
|
llm/vllm
command
|
|
|
llm/vllm/agent_integration
command
|
|
|
llm/vllm/structured_output
command
|
|
|
logging
command
|
|
|
mcp
command
|
|
|
mcp/client
command
|
|
|
mcp/custom-transport
command
|
|
|
mcp/http-test-agent
command
Simple agent that connects to an MCP server over HTTP for testing.
|
Simple agent that connects to an MCP server over HTTP for testing. |
|
mcp/quickstart/builder
command
|
|
|
mcp/quickstart/presets
command
|
|
|
mcp/quickstart/simple
command
|
|
|
mcp/server-http
command
|
|
|
mcp/server-stdio
command
|
|
|
memory
command
|
|
|
microservices/basic_microservice
command
|
|
|
microservices/debug_test
command
|
|
|
microservices/mixed_agents
command
|
|
|
microservices/remote_client
command
|
|
|
microservices/remote_timeout
command
|
|
|
microservices/service_manager
command
|
|
|
microservices/simple_mixed
command
|
|
|
microservices/streaming_agent
command
|
|
|
microservices/test_basic
command
|
|
|
multi_turn_editing_yaml_test
command
Package main demonstrates YAML-based multi-turn image editing with the embedded web UI.
|
Package main demonstrates YAML-based multi-turn image editing with the embedded web UI. |
|
multi_turn_image_editing
command
Package main demonstrates multi-turn image editing capabilities using the Agent SDK.
|
Package main demonstrates multi-turn image editing capabilities using the Agent SDK. |
|
orchestration/agent_handoff
command
|
|
|
orchestration/code_orchestration
command
|
|
|
orchestration/llm_orchestration
command
|
|
|
simple_agent
command
|
|
|
simple_yaml_agent
command
|
|
|
streaming
command
|
|
|
streaming_intermediate_messages
command
|
|
|
structured_output
command
|
|
|
subagents
command
|
|
|
subagents/depth_validation
command
|
|
|
subagents/streaming
command
Package main demonstrates real-time streaming from sub-agents to parent agents using Claude 3.5 Sonnet with extended thinking enabled.
|
Package main demonstrates real-time streaming from sub-agents to parent agents using Claude 3.5 Sonnet with extended thinking enabled. |
|
tools/github_extractor
command
|
|
|
tools/huggingface_models
command
|
|
|
tracing
command
|
|
|
ui
command
|
|
|
vectorstore/weaviate
command
|
|
|
internal
|
|
|
testutil
Package testutil provides shared, scriptable test doubles for the SDK's own tests.
|
Package testutil provides shared, scriptable test doubles for the SDK's own tests. |
|
a2a
Package a2a provides Google A2A (Agent-to-Agent) protocol support for agent-sdk-go.
|
Package a2a provides Google A2A (Agent-to-Agent) protocol support for agent-sdk-go. |
|
consolidation
Package consolidation reviews an agent's accumulated memory when it is idle and distils it into durable facts.
|
Package consolidation reviews an agent's accumulated memory when it is idle and distils it into durable facts. |
|
eval
Package eval provides provider-neutral evaluation of agents.
|
Package eval provides provider-neutral evaluation of agents. |
|
eval/sdk
Package sdk adapts agent-sdk-go agents and tool decorators to pkg/eval.
|
Package sdk adapts agent-sdk-go agents and tool decorators to pkg/eval. |
|
graphrag
Package graphrag provides graph-based retrieval-augmented generation capabilities.
|
Package graphrag provides graph-based retrieval-augmented generation capabilities. |
|
graphrag/weaviate
Package weaviate provides a Weaviate-based implementation of the GraphRAG interface.
|
Package weaviate provides a Weaviate-based implementation of the GraphRAG interface. |
|
hooks
Package hooks runs user-supplied callbacks at points in an agent's lifecycle, and bundles related callbacks into named plugins.
|
Package hooks runs user-supplied callbacks at points in an agent's lifecycle, and bundles related callbacks into named plugins. |
|
llm/bedrock
Package bedrock implements the agent-sdk-go LLM interface on top of Amazon Bedrock's provider-agnostic Converse API (bedrockruntime.Converse).
|
Package bedrock implements the agent-sdk-go LLM interface on top of Amazon Bedrock's provider-agnostic Converse API (bedrockruntime.Converse). |
|
llm/cachepolicy
Package cachepolicy describes what prompt caching a provider actually supports, so callers are not misled about whether caching happened.
|
Package cachepolicy describes what prompt caching a provider actually supports, so callers are not misled about whether caching happened. |
|
run
Package run gives an agent run an identity, a registry and a cancel switch.
|
Package run gives an agent run an identity, a registry and a cancel switch. |
|
session
Package session gives a conversation a durable identity, metadata and scoped state.
|
Package session gives a conversation a durable identity, metadata and scoped state. |
|
skill
Package skill loads SKILL.md capability bundles from disk and exposes them to an agent.
|
Package skill loads SKILL.md capability bundles from disk and exposes them to an agent. |
|
tools/graphrag
Package graphrag provides tools for interacting with GraphRAG knowledge graphs.
|
Package graphrag provides tools for interacting with GraphRAG knowledge graphs. |
Click to show internal directories.
Click to hide internal directories.