Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
bee
command
Background-task spawner.
|
Background-task spawner. |
|
hltest
command
|
|
|
internal
|
|
|
approval
Package approval gates dangerous shell commands behind a user decision.
|
Package approval gates dangerous shell commands behind a user decision. |
|
auth
Package auth implements OAuth 2.0 PKCE flow scaffolding for bee.
|
Package auth implements OAuth 2.0 PKCE flow scaffolding for bee. |
|
bgreg
Package bgreg is the per-session status sidecar registry for background bees.
|
Package bgreg is the per-session status sidecar registry for background bees. |
|
caveman
Package caveman injects token-compression rules into the system prompt.
|
Package caveman injects token-compression rules into the system prompt. |
|
commands
Package commands implements a slash-command registry for the bee TUI.
|
Package commands implements a slash-command registry for the bee TUI. |
|
config
Package config holds the bee runtime configuration schema and loader.
|
Package config holds the bee runtime configuration schema and loader. |
|
cost
Package cost tracks per-turn token usage and dollar cost across providers.
|
Package cost tracks per-turn token usage and dollar cost across providers. |
|
hive
Background-task helpers.
|
Background-task helpers. |
|
jsonmode
Package jsonmode emits NDJSON events for bee's --json output mode.
|
Package jsonmode emits NDJSON events for bee's --json output mode. |
|
knowledge
Package knowledge implements bee's per-project on-disk knowledge store.
|
Package knowledge implements bee's per-project on-disk knowledge store. |
|
llm
claude.go is the native Anthropic Messages provider.
|
claude.go is the native Anthropic Messages provider. |
|
llm/mockprov
Package mockprov is a scripted, deterministic llm.Provider for tests.
|
Package mockprov is a scripted, deterministic llm.Provider for tests. |
|
llm/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). |
|
loop
Package loop also provides conversation compaction helpers.
|
Package loop also provides conversation compaction helpers. |
|
prompt
Package prompt builds the system prompt for a bee turn.
|
Package prompt builds the system prompt for a bee turn. |
|
safety
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. |
|
sandbox
Package sandbox implements the two-axis sandbox model (Scope x ApprovalMode).
|
Package sandbox implements the two-axis sandbox model (Scope x ApprovalMode). |
|
session
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. |
|
skills
Package skills defines skill types and the contract a skill executor satisfies.
|
Package skills defines skill types and the contract a skill executor satisfies. |
|
skills/bundled
Package bundled embeds default skills shipped with the bee binary.
|
Package bundled embeds default skills shipped with the bee binary. |
|
tools
Package tools defines the Tool interface and an in-memory registry.
|
Package tools defines the Tool interface and an in-memory registry. |
|
tools/apply_patch
Package apply_patch implements the unified-diff mutation tool.
|
Package apply_patch implements the unified-diff mutation tool. |
|
tools/edit_diff
Package edit_diff implements the edit_diff tool: literal find/replace.
|
Package edit_diff implements the edit_diff tool: literal find/replace. |
|
tools/find
Package find implements the find tool: recursive name-glob file search.
|
Package find implements the find tool: recursive name-glob file search. |
|
tools/grep
Package grep implements the grep tool: recursive regex search.
|
Package grep implements the grep tool: recursive regex search. |
|
tools/hashline_edit
Package hashline_edit implements LINE#ID-anchored file edits.
|
Package hashline_edit implements LINE#ID-anchored file edits. |
|
tools/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. |
|
tools/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. |
|
tools/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). |
|
tools/read
Package read implements the read tool: read file or list directory.
|
Package read implements the read tool: read file or list directory. |
|
tools/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. |
|
tools/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. |
|
tools/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. |
|
tui
Package tui implements bee's interactive Bubbletea interface.
|
Package tui implements bee's interactive Bubbletea interface. |
|
types
Package types holds the agent-owned message and session model.
|
Package types holds the agent-owned message and session model. |
|
zzz
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. |
Click to show internal directories.
Click to hide internal directories.

