Directories
¶
| Path | Synopsis |
|---|---|
|
Package agents drives the "bee agents" parallel-agent mode.
|
Package agents drives the "bee agents" parallel-agent mode. |
|
Package approval gates dangerous shell commands behind a user decision.
|
Package approval gates dangerous shell commands behind a user decision. |
|
Package ask lets a tool pose a multiple-choice question to the user and block until they pick.
|
Package ask lets a tool pose a multiple-choice question to the user and block until they pick. |
|
Package auth implements OAuth 2.0 PKCE flow scaffolding for bee.
|
Package auth implements OAuth 2.0 PKCE flow scaffolding for bee. |
|
Package bench measures how a model+config combination behaves when driving bee through real coding tasks.
|
Package bench measures how a model+config combination behaves when driving bee through real coding tasks. |
|
Package bgreg is the per-session status sidecar registry for background bees.
|
Package bgreg is the per-session status sidecar registry for background bees. |
|
Package caveman injects token-compression rules into the system prompt.
|
Package caveman injects token-compression rules into the system prompt. |
|
Package commands implements a slash-command registry for the bee TUI.
|
Package commands implements a slash-command registry for the bee TUI. |
|
Package config holds the bee runtime configuration schema and loader.
|
Package config holds the bee runtime configuration schema and loader. |
|
Package cost tracks per-turn token usage and dollar cost across providers.
|
Package cost tracks per-turn token usage and dollar cost across providers. |
|
Package goal powers the "/goal" completion-condition feature: an agent loop that keeps running turns until a fast model judges a user-specified condition met.
|
Package goal powers the "/goal" completion-condition feature: an agent loop that keeps running turns until a fast model judges a user-specified condition met. |
|
Background-task helpers.
|
Background-task helpers. |
|
Package jsonmode emits NDJSON events for bee's --json output mode.
|
Package jsonmode emits NDJSON events for bee's --json output mode. |
|
Package knowledge implements bee's per-project on-disk knowledge store.
|
Package knowledge implements bee's per-project on-disk knowledge store. |
|
claude.go is the native Anthropic Messages provider.
|
claude.go is the native Anthropic Messages provider. |
|
mockprov
Package mockprov is a scripted, deterministic llm.Provider for tests.
|
Package mockprov is a scripted, deterministic llm.Provider for tests. |
|
wire
anthropic_messages.go covers Anthropic's native Messages API (POST /v1/messages, SSE streaming).
|
anthropic_messages.go covers Anthropic's native Messages API (POST /v1/messages, SSE streaming). |
|
Package loop also provides conversation compaction helpers.
|
Package loop also provides conversation compaction helpers. |
|
Package prompt builds the system prompt for a bee turn.
|
Package prompt builds the system prompt for a bee turn. |
|
Package safety contains defense-in-depth guards for tool calls: secret redaction on tool output, and path / shell-command checks that refuse to read or mutate obviously sensitive targets even when the sandbox allows it.
|
Package safety contains defense-in-depth guards for tool calls: secret redaction on tool output, and path / shell-command checks that refuse to read or mutate obviously sensitive targets even when the sandbox allows it. |
|
Package sandbox implements the two-axis sandbox model (Scope x ApprovalMode).
|
Package sandbox implements the two-axis sandbox model (Scope x ApprovalMode). |
|
Package sentinel centralizes the loop-control markers an unattended bee agent uses to signal turn outcomes back to the orchestrator.
|
Package sentinel centralizes the loop-control markers an unattended bee agent uses to signal turn outcomes back to the orchestrator. |
|
Package session implements append-only JSONL rollouts plus parent-pointer tree reconstruction for bee sessions.
|
Package session implements append-only JSONL rollouts plus parent-pointer tree reconstruction for bee sessions. |
|
Package skills defines skill types and the contract a skill executor satisfies.
|
Package skills defines skill types and the contract a skill executor satisfies. |
|
bundled
Package bundled embeds default skills shipped with the bee binary.
|
Package bundled embeds default skills shipped with the bee binary. |
|
Package tools defines the Tool interface and an in-memory registry.
|
Package tools defines the Tool interface and an in-memory registry. |
|
apply_patch
Package apply_patch implements the unified-diff mutation tool.
|
Package apply_patch implements the unified-diff mutation tool. |
|
ask_user
Package ask_user implements the ask_user tool: the model asks the user a multiple-choice question and blocks on the answer.
|
Package ask_user implements the ask_user tool: the model asks the user a multiple-choice question and blocks on the answer. |
|
codegraph
Package codegraph wraps the external `codegraph` CLI as a bee tool.
|
Package codegraph wraps the external `codegraph` CLI as a bee tool. |
|
edit_diff
Package edit_diff implements the edit_diff tool: literal find/replace.
|
Package edit_diff implements the edit_diff tool: literal find/replace. |
|
escalate
Package escalate implements the escalate tool: the model's explicit exit door when it's stuck and a human should take over.
|
Package escalate implements the escalate tool: the model's explicit exit door when it's stuck and a human should take over. |
|
find
Package find implements the find tool: recursive name-glob file search.
|
Package find implements the find tool: recursive name-glob file search. |
|
godoc
Package godoc implements the godoc tool: query the local Go documentation for a package or symbol via `go doc -short`.
|
Package godoc implements the godoc tool: query the local Go documentation for a package or symbol via `go doc -short`. |
|
grep
Package grep implements the grep tool: recursive regex search.
|
Package grep implements the grep tool: recursive regex search. |
|
hashline_edit
Package hashline_edit implements LINE#ID-anchored file edits.
|
Package hashline_edit implements LINE#ID-anchored file edits. |
|
knowledge_search
Package knowledge_search implements the knowledge_search tool: on-demand lookup of the bee knowledge store from inside an agent turn.
|
Package knowledge_search implements the knowledge_search tool: on-demand lookup of the bee knowledge store from inside an agent turn. |
|
knowledge_write
Package knowledge_write implements the knowledge_write tool: store a record in bee's on-disk knowledge store.
|
Package knowledge_write implements the knowledge_write tool: store a record in bee's on-disk knowledge store. |
|
ls
Package ls implements the ls tool: list a single directory (no recursion).
|
Package ls implements the ls tool: list a single directory (no recursion). |
|
read
Package read implements the read tool: read file or list directory.
|
Package read implements the read tool: read file or list directory. |
|
shell
Package shell implements the shell tool: bash -c execution with timeout and output truncation.
|
Package shell implements the shell tool: bash -c execution with timeout and output truncation. |
|
tool_lookup
Package tool_lookup implements the tool_lookup tool: returns the full schema, description, and prompt snippet of any registered tool by name.
|
Package tool_lookup implements the tool_lookup tool: returns the full schema, description, and prompt snippet of any registered tool by name. |
|
usertool
Package usertool registers user-defined shell-alias tools loaded from [[user_tools]] entries in ~/.bee/config.toml.
|
Package usertool registers user-defined shell-alias tools loaded from [[user_tools]] entries in ~/.bee/config.toml. |
|
write
Package write implements the write tool: overwrite a file inside the workspace root.
|
Package write implements the write tool: overwrite a file inside the workspace root. |
|
Package tui implements bee's interactive Bubbletea interface.
|
Package tui implements bee's interactive Bubbletea interface. |
|
Package types holds the agent-owned message and session model.
|
Package types holds the agent-owned message and session model. |
|
Package update probes GitHub for new commits on the bee main branch and applies updates by re-running install.sh in a subprocess.
|
Package update probes GitHub for new commits on the bee main branch and applies updates by re-running install.sh in a subprocess. |
|
Package worktree creates ephemeral `git worktree` checkouts so concurrent agent workers can each mutate files without racing on one shared tree.
|
Package worktree creates ephemeral `git worktree` checkouts so concurrent agent workers can each mutate files without racing on one shared tree. |
|
Package zzz drives an autonomous overnight loop: clean-git-check → engine.Run → if tree changed, ONE commit; on any failure, git reset --hard back to last known good.
|
Package zzz drives an autonomous overnight loop: clean-git-check → engine.Run → if tree changed, ONE commit; on any failure, git reset --hard back to last known good. |
|
tui
Package tui drives the bee-zzz live interface: animated sleeping bee at the footer, moon-phase iteration timeline, transcript pane, and a textarea for steering commands (/stop /abort /note <text>).
|
Package tui drives the bee-zzz live interface: animated sleeping bee at the footer, moon-phase iteration timeline, transcript pane, and a textarea for steering commands (/stop /abort /note <text>). |
Click to show internal directories.
Click to hide internal directories.