Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
baifo
command
Command baifo is the entry point of the agent harness.
|
Command baifo is the entry point of the agent harness. |
|
internal
|
|
|
agent
Package agent builds ADK agents from baifo's high-level Spec.
|
Package agent builds ADK agents from baifo's high-level Spec. |
|
app
Package app is the top-level wiring of baifo: it owns the config, the providers, the MCPs registry, the storage layer, the builder, and the runner.
|
Package app is the top-level wiring of baifo: it owns the config, the providers, the MCPs registry, the storage layer, the builder, and the runner. |
|
audit
Package audit records tool calls into the SQLite audit table.
|
Package audit records tool calls into the SQLite audit table. |
|
config
Package config loads and resolves the on-disk configuration of baifo.
|
Package config loads and resolves the on-disk configuration of baifo. |
|
config/yamledit
Package yamledit provides comment-preserving edits to baifo.yaml.
|
Package yamledit provides comment-preserving edits to baifo.yaml. |
|
embeddings
Package embeddings provides an in-process text embedding engine backed by the nomic-embed-text-v1.5 model whose weights are compiled into the baifo binary.
|
Package embeddings provides an in-process text embedding engine backed by the nomic-embed-text-v1.5 model whose weights are compiled into the baifo binary. |
|
facade
Package facade declares the contract every client (TUI, HTTP server, CLI sub-commands) speaks to interact with baifo's core.
|
Package facade declares the contract every client (TUI, HTTP server, CLI sub-commands) speaks to interact with baifo's core. |
|
facts
Package facts implements baifo's long-term memory store.
|
Package facts implements baifo's long-term memory store. |
|
mcps
Package mcps wires MCP servers declared in baifo.yaml to ADK toolsets.
|
Package mcps wires MCP servers declared in baifo.yaml to ADK toolsets. |
|
mcps/builtin/browse
Package browse implements the in-process built-in browse MCP.
|
Package browse implements the in-process built-in browse MCP. |
|
mcps/builtin/browse/web
Package web is the low-level HTTP primitive used by the built-in browse MCP.
|
Package web is the low-level HTTP primitive used by the built-in browse MCP. |
|
mcps/builtin/filesystem
Package filesystem implements the in-process built-in filesystem MCP.
|
Package filesystem implements the in-process built-in filesystem MCP. |
|
modelcatalog
Package modelcatalog provides pure, offline utilities to match user-provided model endpoints and provider types to the built-in catwalk model catalogue.
|
Package modelcatalog provides pure, offline utilities to match user-provided model endpoints and provider types to the built-in catwalk model catalogue. |
|
providers
Package providers wires LLM providers declared in baifo.yaml into ready to use ADK models.
|
Package providers wires LLM providers declared in baifo.yaml into ready to use ADK models. |
|
providers/allproviders
Package allproviders blank-imports every built-in provider so that init() side effects register them with the providers registry.
|
Package allproviders blank-imports every built-in provider so that init() side effects register them with the providers registry. |
|
providers/anthropic
Package anthropic adapts the adk-utils-go Anthropic model into baifo's provider registry.
|
Package anthropic adapts the adk-utils-go Anthropic model into baifo's provider registry. |
|
providers/gemini
Package gemini adapts the upstream google.golang.org/adk Gemini model into baifo's provider registry.
|
Package gemini adapts the upstream google.golang.org/adk Gemini model into baifo's provider registry. |
|
providers/openai
Package openai adapts the adk-utils-go OpenAI model into baifo's provider registry.
|
Package openai adapts the adk-utils-go OpenAI model into baifo's provider registry. |
|
secrets
Package secrets implements the encrypted-at-rest secret store described in .agents/SECRETS.md.
|
Package secrets implements the encrypted-at-rest secret store described in .agents/SECRETS.md. |
|
server
Package server hosts the HTTP daemon that exposes baifo's agents over A2A and the rest of the system (workers, sessions, secrets, config) over a tiny REST surface.
|
Package server hosts the HTTP daemon that exposes baifo's agents over A2A and the rest of the system (workers, sessions, secrets, config) over a tiny REST surface. |
|
server/a2a
Package a2a exposes baifo's agents over the A2A (Agent-to-Agent) protocol so the TUI (and, later, remote clients) can converse with any agent without going through the in-process Facade.
|
Package a2a exposes baifo's agents over the A2A (Agent-to-Agent) protocol so the TUI (and, later, remote clients) can converse with any agent without going through the in-process Facade. |
|
sessions
Package sessions implements google.golang.org/adk/session.Service backed by a SQLite database.
|
Package sessions implements google.golang.org/adk/session.Service backed by a SQLite database. |
|
skills
Package skills loads skill packages from .baifo/skills/{slug}/SKILL.md.
|
Package skills loads skill packages from .baifo/skills/{slug}/SKILL.md. |
|
skills/installer
Package installer downloads and extracts skill packages distributed as .zip or .tar.gz archives.
|
Package installer downloads and extracts skill packages distributed as .zip or .tar.gz archives. |
|
storage
Package storage wraps modernc.org/sqlite with baifo-specific tables and schema versioning.
|
Package storage wraps modernc.org/sqlite with baifo-specific tables and schema versioning. |
|
tools/memory
Package memory wraps the long-term memory toolset shipped by adk-utils-go behind the same `Tools.ADKTools()` shape every other baifo-owned toolset uses (spawn, todos, meta).
|
Package memory wraps the long-term memory toolset shipped by adk-utils-go behind the same `Tools.ADKTools()` shape every other baifo-owned toolset uses (spawn, todos, meta). |
|
tools/models
Package models registers the list_models tool the root agent uses to discover which LLM models each configured provider offers.
|
Package models registers the list_models tool the root agent uses to discover which LLM models each configured provider offers. |
|
tools/skills
Package skills wraps ADK's skilltoolset behind the same `Tools.ADKTools()` shape every other baifo-owned toolset uses (spawn, todos, meta, memory).
|
Package skills wraps ADK's skilltoolset behind the same `Tools.ADKTools()` shape every other baifo-owned toolset uses (spawn, todos, meta, memory). |
|
tools/spawn
Package spawn registers the spawn / supervise tools the root agent uses to manage workers.
|
Package spawn registers the spawn / supervise tools the root agent uses to manage workers. |
|
tools/todos
Package todos exposes per-(agent, session) TODO management as ADK tools.
|
Package todos exposes per-(agent, session) TODO management as ADK tools. |
|
tui
Package tui implements baifo's terminal UI on top of charmbracelet's BubbleTea v2 stack.
|
Package tui implements baifo's terminal UI on top of charmbracelet's BubbleTea v2 stack. |
|
tui/components/editor
Package editor is baifo's embedded text editor component.
|
Package editor is baifo's embedded text editor component. |
|
tui/components/editor/mdhl
Package mdhl provides a per-line Markdown highlighter for the embedded editor.
|
Package mdhl provides a per-line Markdown highlighter for the embedded editor. |
|
tui/components/editor/yamlhl
Package yamlhl provides a single-line YAML syntax highlighter for the embedded editor.
|
Package yamlhl provides a single-line YAML syntax highlighter for the embedded editor. |
|
version
Package version is the single source of truth for the baifo binary's build metadata: semantic version, commit SHA and build timestamp.
|
Package version is the single source of truth for the baifo binary's build metadata: semantic version, commit SHA and build timestamp. |
|
watcher
Package watcher emits debounced events when files under the active .baifo/ directory change.
|
Package watcher emits debounced events when files under the active .baifo/ directory change. |
|
workers
Package workers owns the lifecycle of every sub-agent spawned by the root.
|
Package workers owns the lifecycle of every sub-agent spawned by the root. |
Click to show internal directories.
Click to hide internal directories.