Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent defines the Agent interface and the LLM-driven agent that turns a model and a tool registry into a runnable conversation.
|
Package agent defines the Agent interface and the LLM-driven agent that turns a model and a tool registry into a runnable conversation. |
|
examples
|
|
|
gemini/multi-agent
command
Command gemini-multi-agent is a runnable example of two cooperating atto agents driven by the gemini adapter and the goakt-backed actor runner.
|
Command gemini-multi-agent is a runnable example of two cooperating atto agents driven by the gemini adapter and the goakt-backed actor runner. |
|
gemini/single-agent
command
Command gemini is a runnable example of an atto agent backed by the native llm/gemini adapter, driven by the goakt-backed actor runner.
|
Command gemini is a runnable example of an atto agent backed by the native llm/gemini adapter, driven by the goakt-backed actor runner. |
|
quickstart
command
Command quickstart is a self-contained example of building and running an atto agent.
|
Command quickstart is a self-contained example of building and running an atto agent. |
|
internal
|
|
|
actor
Package actor groups the runtime actors and helpers used by the runner: the per-session SessionActor that owns conversational state, the long-lived ModelActor that fronts an llm.LLM adapter with retry, and the [Worker] goroutine that drives a single invocation end to end.
|
Package actor groups the runtime actors and helpers used by the runner: the per-session SessionActor that owns conversational state, the long-lived ModelActor that fronts an llm.LLM adapter with retry, and the [Worker] goroutine that drives a single invocation end to end. |
|
proto
Package proto defines the in-process message types exchanged between the runner, the per-invocation worker actor, the per-session actor, and the model actor.
|
Package proto defines the in-process message types exchanged between the runner, the per-invocation worker actor, the per-session actor, and the model actor. |
|
Package llm defines the streaming LLM interface implemented by every model adapter and the request and chunk types exchanged across it.
|
Package llm defines the streaming LLM interface implemented by every model adapter and the request and chunk types exchanged across it. |
|
anthropic
Package anthropic is the llm.LLM adapter that talks to Anthropic's Messages API.
|
Package anthropic is the llm.LLM adapter that talks to Anthropic's Messages API. |
|
azure
Package azure is a convenience wrapper around llm/openai preconfigured for Azure OpenAI.
|
Package azure is a convenience wrapper around llm/openai preconfigured for Azure OpenAI. |
|
gemini
Package gemini is the llm.LLM adapter that talks to Google's Gemini API.
|
Package gemini is the llm.LLM adapter that talks to Google's Gemini API. |
|
ollama
Package ollama is a convenience wrapper around llm/openai preconfigured for [Ollama]'s OpenAI-compatible endpoint.
|
Package ollama is a convenience wrapper around llm/openai preconfigured for [Ollama]'s OpenAI-compatible endpoint. |
|
openai
Package openai is the llm.LLM adapter that talks to OpenAI's Chat Completions API.
|
Package openai is the llm.LLM adapter that talks to OpenAI's Chat Completions API. |
|
vllm
Package vllm is a convenience wrapper around llm/openai preconfigured for [vLLM]'s OpenAI-compatible endpoint.
|
Package vllm is a convenience wrapper around llm/openai preconfigured for [vLLM]'s OpenAI-compatible endpoint. |
|
Package runner is the user-facing entry point of atto.
|
Package runner is the user-facing entry point of atto. |
|
Package session defines the conversational types exchanged between users, agents, models and tools: messages, events, mutable state and state deltas.
|
Package session defines the conversational types exchanged between users, agents, models and tools: messages, events, mutable state and state deltas. |
|
Package store defines the SessionStore interface used by the runtime to persist conversational history and state across invocations.
|
Package store defines the SessionStore interface used by the runtime to persist conversational history and state across invocations. |
|
bolt
Package bolt provides a store.SessionStore backed by a single BoltDB file via go.etcd.io/bbolt.
|
Package bolt provides a store.SessionStore backed by a single BoltDB file via go.etcd.io/bbolt. |
|
inmemory
Package inmemory provides a process-local store.SessionStore.
|
Package inmemory provides a process-local store.SessionStore. |
|
postgres
Package postgres provides a store.SessionStore backed by PostgreSQL via github.com/jackc/pgx/v5.
|
Package postgres provides a store.SessionStore backed by PostgreSQL via github.com/jackc/pgx/v5. |
|
storetest
Package storetest provides a shared compliance suite that every store.SessionStore implementation must pass.
|
Package storetest provides a shared compliance suite that every store.SessionStore implementation must pass. |
|
Package tool defines the Tool interface, helpers for declaring tools from typed Go functions, a Registry for resolving tools by name, and a JSON-schema validator that the agent loop applies to tool-call arguments before dispatch.
|
Package tool defines the Tool interface, helpers for declaring tools from typed Go functions, a Registry for resolving tools by name, and a JSON-schema validator that the agent loop applies to tool-call arguments before dispatch. |
Click to show internal directories.
Click to hide internal directories.