Documentation
¶
Index ¶
- func NewAPIClient(baseURL string, timeout time.Duration) *api.Client
- func NewAgent(options ...agent.Option) (*agent.Agent, error)
- func NewAgentTaskService(logger logging.Logger) (*task.AgentTaskService, error)
- func NewAgentTaskServiceWithAdapter(logger logging.Logger, service task.AgentAdapterService) *task.AgentTaskService
- func NewTaskAPI(client *api.Client) *api.TaskAPI
- func NewTaskExecutor() *executor.TaskExecutor
- func NewTaskService(logger logging.Logger) interfaces.TaskService
- func WithGuardrails(guardrails interfaces.Guardrails) agent.Option
- func WithLLM(llm interfaces.LLM) agent.Option
- func WithMemory(memory interfaces.Memory) agent.Option
- func WithOrgID(orgID string) agent.Option
- func WithTools(tools ...interfaces.Tool) agent.Option
- func WithTracer(tracer interfaces.Tracer) agent.Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIClient ¶ added in v0.0.2
NewAPIClient creates a new API client for making API calls
func NewAgentTaskService ¶ added in v0.0.3
func NewAgentTaskService(logger logging.Logger) (*task.AgentTaskService, error)
Creates a new agent task service
func NewAgentTaskServiceWithAdapter ¶ added in v0.0.3
func NewAgentTaskServiceWithAdapter(logger logging.Logger, service task.AgentAdapterService) *task.AgentTaskService
Creates a new agent task service with a custom adapter
func NewTaskAPI ¶ added in v0.0.3
NewTaskAPI creates a new task API client
func NewTaskExecutor ¶ added in v0.0.2
func NewTaskExecutor() *executor.TaskExecutor
NewTaskExecutor creates a new task executor
func NewTaskService ¶ added in v0.0.3
func NewTaskService(logger logging.Logger) interfaces.TaskService
NewTaskService creates a new task service with in-memory storage
func WithGuardrails ¶
func WithGuardrails(guardrails interfaces.Guardrails) agent.Option
WithGuardrails sets the guardrails for the agent
func WithMemory ¶
func WithMemory(memory interfaces.Memory) agent.Option
WithMemory sets the memory for the agent
func WithTools ¶
func WithTools(tools ...interfaces.Tool) agent.Option
WithTools sets the tools for the agent
func WithTracer ¶
func WithTracer(tracer interfaces.Tracer) agent.Option
WithTracer sets the tracer for the agent
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
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. |
|
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. |
|
datastore
|
|
|
Package eval provides provider-neutral evaluation of agents.
|
Package eval provides provider-neutral evaluation of agents. |
|
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. |
|
Package graphrag provides graph-based retrieval-augmented generation capabilities.
|
Package graphrag provides graph-based retrieval-augmented generation capabilities. |
|
weaviate
Package weaviate provides a Weaviate-based implementation of the GraphRAG interface.
|
Package weaviate provides a Weaviate-based implementation of the GraphRAG interface. |
|
grpc
|
|
|
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. |
|
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). |
|
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. |
|
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. |
|
Package session gives a conversation a durable identity, metadata and scoped state.
|
Package session gives a conversation a durable identity, metadata and scoped state. |
|
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. |
|
graphrag
Package graphrag provides tools for interacting with GraphRAG knowledge graphs.
|
Package graphrag provides tools for interacting with GraphRAG knowledge graphs. |
|
vectorstore
|
|
Click to show internal directories.
Click to hide internal directories.