Directories
¶
| Path | Synopsis |
|---|---|
|
Package api is the contract between Blitz's front ends and its engine: the Backend a front end drives, and the values, events and errors that cross it.
|
Package api is the contract between Blitz's front ends and its engine: the Backend a front end drives, and the values, events and errors that cross it. |
|
Package client is a workspace held by the Blitz service, reached over its socket: an api.Backend, so front ends drive it exactly as they drive a local *engine.Workspace.
|
Package client is a workspace held by the Blitz service, reached over its socket: an api.Backend, so front ends drive it exactly as they drive a local *engine.Workspace. |
|
Package config loads Blitz's settings: one TOML file, .env.toml, in ~/.blitz (or $MODENV_PREFIX, or --config), with a workspace's own settings laid over it from ~/.blitz/workspaces, API keys resolved from the OS keychain, and environment variables applied last.
|
Package config loads Blitz's settings: one TOML file, .env.toml, in ~/.blitz (or $MODENV_PREFIX, or --config), with a workspace's own settings laid over it from ~/.blitz/workspaces, API keys resolved from the OS keychain, and environment variables applied last. |
|
Package engine is Blitz without a user interface: it opens a workspace (registries, tools, sessions, the model and the engine) and exposes what a front end needs as an api.Backend.
|
Package engine is Blitz without a user interface: it opens a workspace (registries, tools, sessions, the model and the engine) and exposes what a front end needs as an api.Backend. |
|
agents
Package agents loads the agents a workspace offers: the built-in ones and Markdown files with YAML frontmatter from ~/.blitz/agents (and the project's, when it's trusted), each a name, a description, a system prompt, the tools it may use and optionally its own model (spec_agents_014).
|
Package agents loads the agents a workspace offers: the built-in ones and Markdown files with YAML frontmatter from ~/.blitz/agents (and the project's, when it's trusted), each a name, a description, a system prompt, the tools it may use and optionally its own model (spec_agents_014). |
|
agents/builtin
Package builtin holds the agents Blitz ships with, as Markdown files embedded in the binary.
|
Package builtin holds the agents Blitz ships with, as Markdown files embedded in the binary. |
|
audit
Package audit writes an append-only JSONL record of what tools did and what the user approved or denied.
|
Package audit writes an append-only JSONL record of what tools did and what the user approved or denied. |
|
breaker
Package breaker is a small circuit breaker for dependencies that fail persistently (MCP servers, model APIs): after a run of failures calls are refused for a cooldown that grows with each failed trial.
|
Package breaker is a small circuit breaker for dependencies that fail persistently (MCP servers, model APIs): after a run of failures calls are refused for a cooldown that grows with each failed trial. |
|
commands
Package commands loads custom slash commands: Markdown files whose body is a prompt, from the user's and the project's command directories, plus the bundled ones.
|
Package commands loads custom slash commands: Markdown files whose body is a prompt, from the user's and the project's command directories, plus the bundled ones. |
|
memory
Package memory loads project instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, BLITZ.md), the files they import, and rule files, which are added to the agents' system prompt.
|
Package memory loads project instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, BLITZ.md), the files they import, and rule files, which are added to the agents' system prompt. |
|
runtime
Package runtime runs the agent: it wraps Google's ADK runner, builds the agent tree with its tools and sub-agents, runs a prompt as a turn within its limits, delivers steering mid-turn, answers side questions without touching history, compacts history, and records usage and traces.
|
Package runtime runs the agent: it wraps Google's ADK runner, builds the agent tree with its tools and sub-agents, runs a prompt as a turn within its limits, delivers steering mid-turn, answers side questions without touching history, compacts history, and records usage and traces. |
|
session
Package session stores conversations: each session's metadata and its messages and events on disk, snapshots to branch from, search over a session's history, and the store ADK reads the conversation from (spec_sessions_017).
|
Package session stores conversations: each session's metadata and its messages and events on disk, snapshots to branch from, search over a session's history, and the store ADK reads the conversation from (spec_sessions_017). |
|
skills
Package skills loads the skills a workspace offers: a SKILL.md with frontmatter and instructions, optionally scripts, from the built-in set, ~/.blitz/skills and (when trusted) the project; and the policy that caps what their scripts may do (spec_skills_013).
|
Package skills loads the skills a workspace offers: a SKILL.md with frontmatter and instructions, optionally scripts, from the built-in set, ~/.blitz/skills and (when trusted) the project; and the policy that caps what their scripts may do (spec_skills_013). |
|
skills/builtin
Package builtin holds the skills Blitz ships with (a SKILL.md each), embedded in the binary.
|
Package builtin holds the skills Blitz ships with (a SKILL.md each), embedded in the binary. |
|
tools
Package tools is everything the agent can do and the rules it does it under: file tools through the workspace's sandbox (with checkpoints for undo), shell commands under the command policy and the OS sandbox, approvals and permission rules, web fetch and search, MCP servers, skill scripts, images, the task list and questions to the user (spec_filetools_006, spec_shell_007, spec_approvals_005).
|
Package tools is everything the agent can do and the rules it does it under: file tools through the workspace's sandbox (with checkpoints for undo), shell commands under the command policy and the OS sandbox, approvals and permission rules, web fetch and search, MCP servers, skill scripts, images, the task list and questions to the user (spec_filetools_006, spec_shell_007, spec_approvals_005). |
|
workers
Package workers reads workers: scheduled workflows a workspace defines in workers/<name>/WORKER.md (ROADMAP item 24).
|
Package workers reads workers: scheduled workflows a workspace defines in workers/<name>/WORKER.md (ROADMAP item 24). |
|
Package i18n translates user-interface text.
|
Package i18n translates user-interface text. |
|
Package images prepares pictures for vision models and keeps them out of session files.
|
Package images prepares pictures for vision models and keeps them out of session files. |
|
Package legal holds Blitz's license terms, embedded in every program: the Apache License 2.0, the NOTICE (Blitz's copyright and Code Puppy's MIT notice) and the notices of the third-party software the programs include.
|
Package legal holds Blitz's license terms, embedded in every program: the Apache License 2.0, the NOTICE (Blitz's copyright and Code Puppy's MIT notice) and the notices of the third-party software the programs include. |
|
Package loginitem starts the Blitz service (blitzd) at login and controls it: a launchd agent on macOS, a systemd user unit on Linux.
|
Package loginitem starts the Blitz service (blitzd) at login and controls it: a launchd agent on macOS, a systemd user unit on Linux. |
|
Package observability provides the diagnostic log and OpenTelemetry export.
|
Package observability provides the diagnostic log and OpenTelemetry export. |
|
Package redact masks secrets in text before it is written to disk.
|
Package redact masks secrets in text before it is written to disk. |
|
Package secrets keeps Blitz's secrets (API keys) out of its settings files: in the macOS Keychain, in the Secret Service on Linux (GNOME Keyring, KWallet), or, where neither is available, in an owner-only file beside the settings.
|
Package secrets keeps Blitz's secrets (API keys) out of its settings files: in the macOS Keychain, in the Secret Service on Linux (GNOME Keyring, KWallet), or, where neither is available, in an owner-only file beside the settings. |
|
Package socket is where the per-user Blitz service listens and how clients reach it: a Unix socket that only its user can open.
|
Package socket is where the per-user Blitz service listens and how clients reach it: a Unix socket that only its user can open. |
|
Package textutil holds small string helpers shared by tools and the TUI.
|
Package textutil holds small string helpers shared by tools and the TUI. |
Click to show internal directories.
Click to hide internal directories.