Directories
¶
| Path | Synopsis |
|---|---|
|
Package acp is the agent side of the Agent Client Protocol (https://agentclientprotocol.com), protocol version 1: newline-delimited JSON-RPC 2.0 over stdio.
|
Package acp is the agent side of the Agent Client Protocol (https://agentclientprotocol.com), protocol version 1: newline-delimited JSON-RPC 2.0 over stdio. |
|
Package agent runs the step loop: query the model, execute tool calls, repeat.
|
Package agent runs the step loop: query the model, execute tool calls, repeat. |
|
Package config loads agent settings from an optional YAML file layered over defaults.
|
Package config loads agent settings from an optional YAML file layered over defaults. |
|
Package eventlog fans run events out to sinks: the --json JSONL stream and the opt-in SQLite event log.
|
Package eventlog fans run events out to sinks: the --json JSONL stream and the opt-in SQLite event log. |
|
Package hooks runs user-configured commands before and after tool calls, and stop hooks that verify a run before it ends successfully.
|
Package hooks runs user-configured commands before and after tool calls, and stop hooks that verify a run before it ends successfully. |
|
hookstest
Package hookstest provides a portable hook program for tests: the test binary re-executes itself, so tests need no shell or jq.
|
Package hookstest provides a portable hook program for tests: the test binary re-executes itself, so tests need no shell or jq. |
|
Package lsp is a small Language Server Protocol client: it starts the configured servers lazily over stdio, keeps the files it has shown them in sync with disk, and collects diagnostics, definitions and references.
|
Package lsp is a small Language Server Protocol client: it starts the configured servers lazily over stdio, keeps the files it has shown them in sync with disk, and collects diagnostics, definitions and references. |
|
lsptest
Package lsptest is a fake language server for tests: the test binary re-executes itself, so tests need no real language server.
|
Package lsptest is a fake language server for tests: the test binary re-executes itself, so tests need no real language server. |
|
Package mcptools connects explicitly configured local MCP servers.
|
Package mcptools connects explicitly configured local MCP servers. |
|
Package model talks to LLM providers using a single OpenAI-shaped message format.
|
Package model talks to LLM providers using a single OpenAI-shaped message format. |
|
Package outschema loads a user-supplied JSON Schema for --output-schema and validates a run's structured result against it.
|
Package outschema loads a user-supplied JSON Schema for --output-schema and validates a run's structured result against it. |
|
Package sandboxnet implements the sandbox network allowlist: entry parsing and matching, and the filtering HTTP proxy that sandboxed commands use.
|
Package sandboxnet implements the sandbox network allowlist: entry parsing and matching, and the filtering HTTP proxy that sandboxed commands use. |
|
Package skills discovers Agent Skills (folders holding a SKILL.md) in the project's and the user's .agents/skills directories, renders the catalog added to the system prompt, and loads a skill's instructions or one of its bundled files for the skill tool.
|
Package skills discovers Agent Skills (folders holding a SKILL.md) in the project's and the user's .agents/skills directories, renders the catalog added to the system prompt, and loads a skill's instructions or one of its bundled files for the skill tool. |
|
Package snapshot captures and restores the files under a working directory for opt-in workspace snapshots (--snapshots) and --rewind.
|
Package snapshot captures and restores the files under a working directory for opt-in workspace snapshots (--snapshots) and --rewind. |
|
Package telemetry exports runs as OpenTelemetry traces over OTLP/HTTP.
|
Package telemetry exports runs as OpenTelemetry traces over OTLP/HTTP. |
|
Package tools implements the agent's file and shell tools, sandboxed to a root directory.
|
Package tools implements the agent's file and shell tools, sandboxed to a root directory. |
|
Package trajectory records an agent run as JSON.
|
Package trajectory records an agent run as JSON. |
|
Package transcript renders a saved trajectory as a Markdown transcript for people: the task, each step's assistant text, tool calls and results, the run's plan, compactions, model switches and resume boundaries, and the outcome.
|
Package transcript renders a saved trajectory as a Markdown transcript for people: the task, each step's assistant text, tool calls and results, the run's plan, compactions, model switches and resume boundaries, and the outcome. |
|
Package update replaces the running binary with the latest GitHub release.
|
Package update replaces the running binary with the latest GitHub release. |
Click to show internal directories.
Click to hide internal directories.