Directories
¶
| Path | Synopsis |
|---|---|
|
app
|
|
|
fiveagent
command
Command fiveagent runs the FiveAgent personal agent as a single binary.
|
Command fiveagent runs the FiveAgent personal agent as a single binary. |
|
internal
|
|
|
agent
Package agent is the core loop: context in, model call, tool calls, reply out.
|
Package agent is the core loop: context in, model call, tool calls, reply out. |
|
batteryreport
Package batteryreport builds the live-battery run report: the stage 24a first use case of make_report_link (the runner mints its report through the same signed-link machinery the model uses) and the stage 25e battery-chart variation of the send_chart renderer (charts ride the report page as embedded PNGs, rendered by internal/chart - one renderer for chat-sent and report-embedded charts).
|
Package batteryreport builds the live-battery run report: the stage 24a first use case of make_report_link (the runner mints its report through the same signed-link machinery the model uses) and the stage 25e battery-chart variation of the send_chart renderer (charts ride the report page as embedded PNGs, rendered by internal/chart - one renderer for chat-sent and report-embedded charts). |
|
channel
Package channel normalizes messaging platforms into one event shape.
|
Package channel normalizes messaging platforms into one event shape. |
|
chart
Package chart renders simple bar and line charts as PNG images using only the Go standard library plus golang.org/x/image's built-in 7x13 bitmap font - no cgo, no font files, no external services, so the agent binary stays a single pure-Go artifact.
|
Package chart renders simple bar and line charts as PNG images using only the Go standard library plus golang.org/x/image's built-in 7x13 bitmap font - no cgo, no font files, no external services, so the agent binary stays a single pure-Go artifact. |
|
config
Package config loads fiveagent.yml: model endpoint, channels and storage.
|
Package config loads fiveagent.yml: model endpoint, channels and storage. |
|
github
Package github is the last planned integration copy (roadmap stage 27e): same shape as the Google and Slack clients - overridable base URL, OAuth-authorized HTTP client from the shared oauth package, read (repos, issues) and write (create issue).
|
Package github is the last planned integration copy (roadmap stage 27e): same shape as the Google and Slack clients - overridable base URL, OAuth-authorized HTTP client from the shared oauth package, read (repos, issues) and write (create issue). |
|
google
Package google holds the Google service clients of roadmap stage 27.
|
Package google holds the Google service clients of roadmap stage 27. |
|
identity
Package identity is stage 36: one conversation per user across channels.
|
Package identity is stage 36: one conversation per user across channels. |
|
links
Package links serves report pages and sensitive-data forms over the bot's own HTTP listener (stage 24), so answers arrive as links, not walls of text.
|
Package links serves report pages and sensitive-data forms over the bot's own HTTP listener (stage 24), so answers arrive as links, not walls of text. |
|
mcp
Package mcp exposes FiveAgent as a local, token-authenticated MCP server (stage 33 of docs/ROADMAP.md), so an external agent - the owner's OpenCode is the design consumer - can run commands inside the owner's sandbox and read files from the workspace folder.
|
Package mcp exposes FiveAgent as a local, token-authenticated MCP server (stage 33 of docs/ROADMAP.md), so an external agent - the owner's OpenCode is the design consumer - can run commands inside the owner's sandbox and read files from the workspace folder. |
|
media
Package media turns inbound media bytes into text the agent can work with: audio through a transcription service (whisper.cpp server), images through a vision-language model (any OpenAI-compatible endpoint).
|
Package media turns inbound media bytes into text the agent can work with: audio through a transcription service (whisper.cpp server), images through a vision-language model (any OpenAI-compatible endpoint). |
|
memory
Knowledge is FiveAgent's long-term memory: a folder of plain markdown files (people.md, preferences.md, workstreams.md to start) versioned with git.
|
Knowledge is FiveAgent's long-term memory: a folder of plain markdown files (people.md, preferences.md, workstreams.md to start) versioned with git. |
|
model
classify.go - typed model-API failures (stage 16 of docs/ROADMAP.md).
|
classify.go - typed model-API failures (stage 16 of docs/ROADMAP.md). |
|
oauth
Package oauth is the shared integration pattern (roadmap stage 27): authorization-code connect, token exchange, refresh, and a small on-disk token store, so each service (Gmail, Calendar, Drive, ...) is a known shape instead of a new design.
|
Package oauth is the shared integration pattern (roadmap stage 27): authorization-code connect, token exchange, refresh, and a small on-disk token store, so each service (Gmail, Calendar, Drive, ...) is a known shape instead of a new design. |
|
proactive
Package proactive is stage 35: subscriptions to sources that wake the agent on their own.
|
Package proactive is stage 35: subscriptions to sources that wake the agent on their own. |
|
sandbox
Package sandbox runs commands for the agent inside an isolated, per-user environment.
|
Package sandbox runs commands for the agent inside an isolated, per-user environment. |
|
sched
Package sched runs scheduled jobs (stage 22): one-shot reminders and recurring automations, persisted to a JSON file, delivered back to the originating channel, and auditable (every job records what ran, when, and what it sent).
|
Package sched runs scheduled jobs (stage 22): one-shot reminders and recurring automations, persisted to a JSON file, delivered back to the originating channel, and auditable (every job records what ran, when, and what it sent). |
|
secrets
Package secrets is stage 8: authenticated encryption for stored credentials (AES-256-GCM), with an explicit, honest threat model.
|
Package secrets is stage 8: authenticated encryption for stored credentials (AES-256-GCM), with an explicit, honest threat model. |
|
slack
Package slack is the first non-Google integration (roadmap stage 27d): the same shape as the Google clients - overridable base URL, OAuth-authorized HTTP client from the shared oauth package, read (channels, history) and write (post).
|
Package slack is the first non-Google integration (roadmap stage 27d): the same shape as the Google clients - overridable base URL, OAuth-authorized HTTP client from the shared oauth package, read (channels, history) and write (post). |
|
tools
repair.go - conservative, schema-guided repair of tool-call arguments.
|
repair.go - conservative, schema-guided repair of tool-call arguments. |
|
trajectory
Package trajectory records what the agent DID, not just pass/fail (stage 12 of docs/ROADMAP.md): every turn as a JSONL trajectory - the messages (user/assistant/tool, with the tool calls and their results), the outcome, and per-tool usage stats - in the message shape a fine-tuning dataset consumes, so stage 13 can train on the surviving trajectories directly.
|
Package trajectory records what the agent DID, not just pass/fail (stage 12 of docs/ROADMAP.md): every turn as a JSONL trajectory - the messages (user/assistant/tool, with the tool calls and their results), the outcome, and per-tool usage stats - in the message shape a fine-tuning dataset consumes, so stage 13 can train on the surviving trajectories directly. |
|
wasetup
Package wasetup configures the WhatsApp Cloud API side of a FiveAgent install through the Graph API: it checks the access token, confirms the phone number id, registers the webhook callback and subscribes the app to the WhatsApp Business Account.
|
Package wasetup configures the WhatsApp Cloud API side of a FiveAgent install through the Graph API: it checks the access token, confirms the phone number id, registers the webhook callback and subscribes the app to the WhatsApp Business Account. |
|
web
Package web is the agent's browser (stage 23, simple-first cut): fetch a page over HTTP, present it as a numbered list of interactive elements (automation by structure, never pixels), and act by id - fill, click, submit.
|
Package web is the agent's browser (stage 23, simple-first cut): fetch a page over HTTP, present it as a numbered list of interactive elements (automation by structure, never pixels), and act by id - fill, click, submit. |
|
Package skills embeds the on-disk skill library (one SKILL.md per skill, stage 32 of docs/ROADMAP.md) so the binary works when the working directory has no skills/ folder.
|
Package skills embeds the on-disk skill library (one SKILL.md per skill, stage 32 of docs/ROADMAP.md) so the binary works when the working directory has no skills/ folder. |
Click to show internal directories.
Click to hide internal directories.

Telegram: