internal/

directory
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2026 License: Apache-2.0

Directories

Path Synopsis
Package agent builds ADK agents from baifo's high-level Spec.
Package agent builds ADK agents from baifo's high-level Spec.
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.
Package audit records tool calls into the SQLite audit table.
Package audit records tool calls into the SQLite audit table.
Package config loads and resolves the on-disk configuration of baifo.
Package config loads and resolves the on-disk configuration of baifo.
yamledit
Package yamledit provides comment-preserving edits to baifo.yaml.
Package yamledit provides comment-preserving edits to baifo.yaml.
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.
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.
Package facts implements baifo's long-term memory store.
Package facts implements baifo's long-term memory store.
Package mcps wires MCP servers declared in baifo.yaml to ADK toolsets.
Package mcps wires MCP servers declared in baifo.yaml to ADK toolsets.
builtin/browse
Package browse implements the in-process built-in browse MCP.
Package browse implements the in-process built-in browse MCP.
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.
builtin/filesystem
Package filesystem implements the in-process built-in filesystem MCP.
Package filesystem implements the in-process built-in filesystem MCP.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Package skills loads skill packages from .baifo/skills/{slug}/SKILL.md.
Package skills loads skill packages from .baifo/skills/{slug}/SKILL.md.
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.
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).
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.
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).
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.
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.
components/editor
Package editor is baifo's embedded text editor component.
Package editor is baifo's embedded text editor component.
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.
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.
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.
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.
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL