Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
worker
command
|
|
|
eval-harness
|
|
|
runner
command
|
|
|
agent_with_a2a_client
command
|
|
|
agent_with_a2a_config
command
|
|
|
agent_with_a2a_server
command
|
|
|
agent_with_agui/server
command
|
|
|
agent_with_concurrent_runs
command
agent_with_concurrent_runs shows multiple Run calls dispatched concurrently on a single Agent instance.
|
agent_with_concurrent_runs shows multiple Run calls dispatched concurrently on a single Agent instance. |
|
agent_with_conversation
command
|
|
|
agent_with_execution_config
command
Package main demonstrates execution config.
|
Package main demonstrates execution config. |
|
agent_with_hooks
command
Example agent demonstrating all middleware hook points.
|
Example agent demonstrating all middleware hook points. |
|
agent_with_json_response
command
|
|
|
agent_with_mcp_client
command
|
|
|
agent_with_mcp_config
command
|
|
|
agent_with_memory/common
Package common holds shared configuration and agent options for the agent_with_memory examples.
|
Package common holds shared configuration and agent options for the agent_with_memory examples. |
|
agent_with_memory/pgvector
command
Example agent using PostgreSQL pgvector for long-term memory.
|
Example agent using PostgreSQL pgvector for long-term memory. |
|
agent_with_memory/weaviate
command
Example agent using Weaviate for long-term memory.
|
Example agent using Weaviate for long-term memory. |
|
agent_with_observability/config
command
OTLP via agent.WithObservabilityConfig β the SDK constructs tracer, metrics, and logs (OTLP log export for the default SDK logger via the slog bridge; internal default batching/export timing).
|
OTLP via agent.WithObservabilityConfig β the SDK constructs tracer, metrics, and logs (OTLP log export for the default SDK logger via the slog bridge; internal default batching/export timing). |
|
agent_with_observability/objects
command
OTLP via pre-built observability.NewTracer, observability.NewMetrics, observability.NewLogs, then agent.WithTracer, agent.WithMetrics, agent.WithLogs.
|
OTLP via pre-built observability.NewTracer, observability.NewMetrics, observability.NewLogs, then agent.WithTracer, agent.WithMetrics, agent.WithLogs. |
|
agent_with_observability/setup
Package setup shares OTLP env parsing and base agent options for the config/ and objects/ examples.
|
Package setup shares OTLP env parsing and base agent options for the config/ and objects/ examples. |
|
agent_with_reasoning
command
|
|
|
agent_with_retriever/common
Package common holds shared configuration and agent options for the agent_with_retriever examples.
|
Package common holds shared configuration and agent options for the agent_with_retriever examples. |
|
agent_with_retriever/pgvector
command
Example agent using a PostgreSQL pgvector retriever.
|
Example agent using a PostgreSQL pgvector retriever. |
|
agent_with_retriever/weaviate
command
Example agent using a Weaviate vector retriever.
|
Example agent using a Weaviate vector retriever. |
|
agent_with_run_async
command
agent_with_run_async demonstrates RunAsync: non-blocking result channel with WithApprovalHandler for tool approvals (same as Run).
|
agent_with_run_async demonstrates RunAsync: non-blocking result channel with WithApprovalHandler for tool approvals (same as Run). |
|
agent_with_stream
command
|
|
|
agent_with_stream_conversation
command
|
|
|
agent_with_subagents
command
|
|
|
agent_with_temporal_client
command
agent_with_temporal_client demonstrates using WithTemporalClient to pass a pre-configured Temporal client to the agent.
|
agent_with_temporal_client demonstrates using WithTemporalClient to pass a pre-configured Temporal client to the agent. |
|
agent_with_tools/approval
command
|
|
|
agent_with_tools/authorizer
command
|
|
|
agent_with_tools/basic
command
|
|
|
agent_with_tools/custom
command
|
|
|
agent_with_worker/agent
command
Interactive streaming REPL for the agent_with_worker example.
|
Interactive streaming REPL for the agent_with_worker example. |
|
agent_with_worker/worker
command
|
|
|
durable_agent/agent
command
Interactive streaming REPL for the durable_agent example.
|
Interactive streaming REPL for the durable_agent example. |
|
durable_agent/worker
command
|
|
|
multiple_agents
command
|
|
|
simple_agent
command
|
|
|
internal
|
|
|
hooks
Package hooks defines agent middleware hook types used by the SDK runtime.
|
Package hooks defines agent middleware hook types used by the SDK runtime. |
|
runtime
Package runtime defines internal execution contracts for agent backends (Temporal, in-process, etc.).
|
Package runtime defines internal execution contracts for agent backends (Temporal, in-process, etc.). |
|
runtime/base
Package base provides the shared runtime struct and core execution methods used by both the local and temporal runtime backends.
|
Package base provides the shared runtime struct and core execution methods used by both the local and temporal runtime backends. |
|
runtime/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
runtime/temporal
Package temporal contains helpers for integrating this SDK with go.temporal.io (client, worker, etc.).
|
Package temporal contains helpers for integrating this SDK with go.temporal.io (client, worker, etc.). |
|
testing
Package testutil provides test helpers for the agent SDK.
|
Package testutil provides test helpers for the agent SDK. |
|
pkg
|
|
|
a2a
Package a2a defines skill-filter shapes for A2A agent connections.
|
Package a2a defines skill-filter shapes for A2A agent connections. |
|
a2a/client
Package client implements interfaces.A2AClient, interfaces.A2AStreamingClient, and interfaces.A2ATaskClient using the github.com/a2aproject/a2a-go/v2 SDK.
|
Package client implements interfaces.A2AClient, interfaces.A2AStreamingClient, and interfaces.A2ATaskClient using the github.com/a2aproject/a2a-go/v2 SDK. |
|
agent/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
conversation/inmem
Package inmem provides in-memory conversation storage.
|
Package inmem provides in-memory conversation storage. |
|
conversation/redis
Package redis provides Redis-backed conversation storage.
|
Package redis provides Redis-backed conversation storage. |
|
interfaces/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
logger
Package logger defines the SDK Logger interface and slog-backed implementations.
|
Package logger defines the SDK Logger interface and slog-backed implementations. |
|
mcp
Package mcp defines transport and tool-filter shapes for MCP server connections.
|
Package mcp defines transport and tool-filter shapes for MCP server connections. |
|
mcp/client
Package client implements interfaces.MCPClient.
|
Package client implements interfaces.MCPClient. |
|
memory/pgvector
Package pgvector provides a interfaces.Memory implementation backed by PostgreSQL with pgvector.
|
Package pgvector provides a interfaces.Memory implementation backed by PostgreSQL with pgvector. |
|
memory/weaviate
Package weaviate provides a interfaces.Memory implementation backed by Weaviate.
|
Package weaviate provides a interfaces.Memory implementation backed by Weaviate. |
|
retriever/pgvector
Package pgvector provides a retriever backed by PostgreSQL with the pgvector extension.
|
Package pgvector provides a retriever backed by PostgreSQL with the pgvector extension. |
|
retriever/weaviate
Package weaviate provides a vector retriever backed by Weaviate's nearText GraphQL API.
|
Package weaviate provides a vector retriever backed by Weaviate's nearText GraphQL API. |
|
tools
Package tools provides schema helpers for building tool parameter JSON schemas.
|
Package tools provides schema helpers for building tool parameter JSON schemas. |
Click to show internal directories.
Click to hide internal directories.