Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent provides the session-based streaming agent loop that ties llm, tools, History, and Locker together.
|
Package agent provides the session-based streaming agent loop that ties llm, tools, History, and Locker together. |
|
history/historytest
Package historytest is the conformance suite every agent.History backend runs in its tests.
|
Package historytest is the conformance suite every agent.History backend runs in its tests. |
|
history/memory
Package memory provides an in-process agent.History backend.
|
Package memory provides an in-process agent.History backend. |
|
cmd
|
|
|
aikido
command
aikido is a CLI for the aikido library: chat one-shots and agent runs over an in-memory VFS, backed by OpenRouter.
|
aikido is a CLI for the aikido library: chat one-shots and agent runs over an in-memory VFS, backed by OpenRouter. |
|
examples
|
|
|
agent-overlay
command
agent-overlay lets an agent edit a real directory through a copy-on-write overlay, prints the change list and a unified diff, and writes the changes to disk only after you confirm.
|
agent-overlay lets an agent edit a real directory through a copy-on-write overlay, prints the change list and a unified diff, and writes the changes to disk only after you confirm. |
|
agent-vfs
command
agent-vfs runs a session over an in-memory VFS with the built-in tools.
|
agent-vfs runs a session over an in-memory VFS with the built-in tools. |
|
chat-oneshot
command
chat-oneshot demonstrates a non-streaming completion via llm.Collect.
|
chat-oneshot demonstrates a non-streaming completion via llm.Collect. |
|
chatbot
command
chatbot is an interactive Q&A loop over an embedded markdown corpus.
|
chatbot is an interactive Q&A loop over an embedded markdown corpus. |
|
image-generation
command
image-generation demonstrates calling an OpenRouter image-capable model and writing the returned PNG/JPEG bytes to disk.
|
image-generation demonstrates calling an OpenRouter image-capable model and writing the returned PNG/JPEG bytes to disk. |
|
loki-agent
command
loki-agent answers questions about logs in Grafana Loki.
|
loki-agent answers questions about logs in Grafana Loki. |
|
voicebot
command
voicebot is the chatbot example with a voice: an agent over an embedded markdown corpus (a small German bathroom-planning knowledge base), served as a web page with push-to-talk, a text box and spoken answers.
|
voicebot is the chatbot example with a voice: an agent over an embedded markdown corpus (a small German bathroom-planning knowledge base), served as a web page with push-to-talk, a text box and spoken answers. |
|
internal
|
|
|
cli
Package cli wires the aikido command-line tool.
|
Package cli wires the aikido command-line tool. |
|
Package llm defines the provider-agnostic types and the Client interface every LLM provider satisfies.
|
Package llm defines the provider-agnostic types and the Client interface every LLM provider satisfies. |
|
codex
Package codex implements llm.Client against the Codex backend of a ChatGPT subscription (https://chatgpt.com/backend-api/codex/responses), the way the Codex CLI uses it.
|
Package codex implements llm.Client against the Codex backend of a ChatGPT subscription (https://chatgpt.com/backend-api/codex/responses), the way the Codex CLI uses it. |
|
llmtest
Package llmtest provides public test helpers for the llm package.
|
Package llmtest provides public test helpers for the llm package. |
|
openrouter
Package openrouter implements llm.Client against OpenRouter (https://openrouter.ai).
|
Package openrouter implements llm.Client against OpenRouter (https://openrouter.ai). |
|
Package retry runs an operation again after transient failures, with exponential backoff, jitter and a cap on every wait.
|
Package retry runs an operation again after transient failures, with exponential backoff, jitter and a cap on every wait. |
|
Package tools provides a registry, dispatch, and explicit JSON-Schema helpers for tools the LLM may call.
|
Package tools provides a registry, dispatch, and explicit JSON-Schema helpers for tools the LLM may call. |
|
shell
Package shell is a virtual bash for agents: the model writes ordinary shell (pipes, &&, loops, variables, redirects, globs) and every file the script touches is a file of a vfs.Storage, so overlays, dry runs, mounts and path policy keep working.
|
Package shell is a virtual bash for agents: the model writes ordinary shell (pipes, &&, loops, variables, redirects, globs) and every file the script touches is a file of a vfs.Storage, so overlays, dry runs, mounts and path policy keep working. |
|
Package vfs is the pluggable storage abstraction for AI-managed projects.
|
Package vfs is the pluggable storage abstraction for AI-managed projects. |
|
embedfs
Package embedfs adapts any fs.FS (including embed.FS) to vfs.Storage.
|
Package embedfs adapts any fs.FS (including embed.FS) to vfs.Storage. |
|
memory
Package memory implements an in-process vfs.Storage with case-insensitive substring search.
|
Package memory implements an in-process vfs.Storage with case-insensitive substring search. |
|
mount
Package mount combines several vfs.Storage backends into one by path prefix, so an agent sees, say, a writable workspace next to read-only reference documents:
|
Package mount combines several vfs.Storage backends into one by path prefix, so an agent sees, say, a writable workspace next to read-only reference documents: |
|
osfs
Package osfs implements vfs.Storage over a directory on the local disk.
|
Package osfs implements vfs.Storage over a directory on the local disk. |
|
overlay
Package overlay implements a copy-on-write vfs.Storage over any base vfs.Storage: a directory on disk (vfs/osfs), an embedded corpus (vfs/embedfs) or a caller's own backend.
|
Package overlay implements a copy-on-write vfs.Storage over any base vfs.Storage: a directory on disk (vfs/osfs), an embedded corpus (vfs/embedfs) or a caller's own backend. |
|
vfstest
Package vfstest is the conformance suite every vfs.Storage backend runs in its tests:
|
Package vfstest is the conformance suite every vfs.Storage backend runs in its tests: |
|
Package voice wraps one agent turn with speech in and speech out.
|
Package voice wraps one agent turn with speech in and speech out. |
Click to show internal directories.
Click to hide internal directories.