Directories
¶
| Path | Synopsis |
|---|---|
|
Package agentdef turns markdown agent definitions into a tool the main loop can call to fan work out to subagents.
|
Package agentdef turns markdown agent definitions into a tool the main loop can call to fan work out to subagents. |
|
Package auth stores one API key per provider in ~/.kaku/auth.json so a user can log in once instead of exporting an environment variable each session.
|
Package auth stores one API key per provider in ~/.kaku/auth.json so a user can log in once instead of exporting an environment variable each session. |
|
Package checkpoint snapshots the working tree into a hidden git ref so a turn that went wrong can be rewound.
|
Package checkpoint snapshots the working tree into a hidden git ref so a turn that went wrong can be rewound. |
|
Package compact keeps conversation history inside the context budget by summarizing its older part.
|
Package compact keeps conversation history inside the context budget by summarizing its older part. |
|
Package config loads kaku settings: built-in defaults, then the user's ~/.kaku/config.json, then the project's .kaku/settings.json.
|
Package config loads kaku settings: built-in defaults, then the user's ~/.kaku/config.json, then the project's .kaku/settings.json. |
|
Package engine runs the agent loop: model completions, tool dispatch, permission checks, and history maintenance.
|
Package engine runs the agent loop: model completions, tool dispatch, permission checks, and history maintenance. |
|
Package hook runs user-configured lifecycle shell commands.
|
Package hook runs user-configured lifecycle shell commands. |
|
Package image loads a local image file into the base64 form the model providers expect, downscaling oversized PNG and JPEG images so a phone-sized screenshot does not blow the token budget.
|
Package image loads a local image file into the base64 form the model providers expect, downscaling oversized PNG and JPEG images so a phone-sized screenshot does not blow the token budget. |
|
Package lsp runs language servers on the side so the agent sees diagnostics for a file it just wrote without shelling out to a build.
|
Package lsp runs language servers on the side so the agent sees diagnostics for a file it just wrote without shelling out to a build. |
|
Package mcp implements a Model Context Protocol client over stdio and streamable HTTP transports, exposing remote tools to the tool registry.
|
Package mcp implements a Model Context Protocol client over stdio and streamable HTTP transports, exposing remote tools to the tool registry. |
|
Package memory gathers project instructions for the system prompt.
|
Package memory gathers project instructions for the system prompt. |
|
Package mention expands @file references in a prompt into the file's contents, so "explain @main.go" reaches the model with the file inlined.
|
Package mention expands @file references in a prompt into the file's contents, so "explain @main.go" reaches the model with the file inlined. |
|
Package perm decides whether a tool call may run.
|
Package perm decides whether a tool call may run. |
|
Package provider defines the model provider SPI and the message types shared across the agent.
|
Package provider defines the model provider SPI and the message types shared across the agent. |
|
anthropic
Package anthropic implements provider.Provider over the Anthropic Messages API with streaming.
|
Package anthropic implements provider.Provider over the Anthropic Messages API with streaming. |
|
openai
Package openai implements provider.Provider over the OpenAI chat completions API with streaming.
|
Package openai implements provider.Provider over the OpenAI chat completions API with streaming. |
|
responses
Package responses implements provider.Provider over the OpenAI Responses API with streaming.
|
Package responses implements provider.Provider over the OpenAI Responses API with streaming. |
|
Package rpc exposes one agent conversation over a newline-delimited JSON protocol on stdin/stdout.
|
Package rpc exposes one agent conversation over a newline-delimited JSON protocol on stdin/stdout. |
|
Package serve exposes one agent conversation over HTTP with SSE streaming.
|
Package serve exposes one agent conversation over HTTP with SSE streaming. |
|
Package session persists conversations as JSONL transcripts under ~/.kaku/sessions/<project>/<id>.jsonl.
|
Package session persists conversations as JSONL transcripts under ~/.kaku/sessions/<project>/<id>.jsonl. |
|
Package skill loads markdown skill files, the bodies behind slash commands.
|
Package skill loads markdown skill files, the bodies behind slash commands. |
|
Package tool defines the tool SPI and the registry the engine draws from.
|
Package tool defines the tool SPI and the registry the engine draws from. |
|
builtin
Package builtin provides the standard toolset every kaku agent starts with.
|
Package builtin provides the standard toolset every kaku agent starts with. |
|
Package tui is the interactive terminal interface over the engine.
|
Package tui is the interactive terminal interface over the engine. |
Click to show internal directories.
Click to hide internal directories.