pkg/

directory
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: MIT

Directories

Path Synopsis
Package agent runs the conversation loop: send the history, stream the reply, execute whatever tools the model called, feed the results back, and repeat until the model ends its turn.
Package agent runs the conversation loop: send the history, stream the reply, execute whatever tools the model called, feed the results back, and repeat until the model ends its turn.
Package anttool exposes ant's URI front door as tomo tools.
Package anttool exposes ant's URI front door as tomo tools.
Package builtin holds the tools tomo ships with: run a command, read and write files, fetch a URL as Markdown, tell the time.
Package builtin holds the tools tomo ships with: run a command, read and write files, fetch a URL as Markdown, tell the time.
Package channel is the front-door abstraction: every place a user can talk to tomo (the web UI, Telegram, and later Discord, Slack, iMessage) is a Channel.
Package channel is the front-door abstraction: every place a user can talk to tomo (the web UI, Telegram, and later Discord, Slack, iMessage) is a Channel.
discord
Package discord is tomo's Discord channel.
Package discord is tomo's Discord channel.
imessage
Package imessage is a no-op everywhere but macOS.
Package imessage is a no-op everywhere but macOS.
slack
Package slack is tomo's Slack channel.
Package slack is tomo's Slack channel.
telegram
Package telegram is tomo's Telegram channel.
Package telegram is tomo's Telegram channel.
webchat
Package webchat is tomo's built-in channel: a small single-page UI served on localhost and a streaming endpoint behind it.
Package webchat is tomo's built-in channel: a small single-page UI served on localhost and a streaming endpoint behind it.
Package config loads ~/.tomo/config.yaml: providers, the default model, and agent knobs.
Package config loads ~/.tomo/config.yaml: providers, the default model, and agent knobs.
Package curator runs a reflection pass after a substantial exchange.
Package curator runs a reflection pass after a substantial exchange.
Package doctor runs tomo's startup preconditions as a set of named checks: the config resolves a usable provider, the data dir is writable, and every configured channel has a driver.
Package doctor runs tomo's startup preconditions as a set of named checks: the config resolves a usable provider, the data dir is writable, and every configured channel has a driver.
engine
cx
Package cx is a second, independent agent engine for tomo, shaped after the way a strong coding agent works a bug: ground the whole problem with one wide search, read the real source, converge on a single root-cause fix, then run the project's own tests to verify before finishing.
Package cx is a second, independent agent engine for tomo, shaped after the way a strong coding agent works a bug: ground the whole problem with one wide search, read the real source, converge on a single root-cause fix, then run the project's own tests to verify before finishing.
kata
Package kata is a fourth agent engine for tomo, a code-as-action loop built from scratch on the lessons the oi engine proved on real traces.
Package kata is a fourth agent engine for tomo, a code-as-action loop built from scratch on the lessons the oi engine proved on real traces.
oi
Package oi is a third agent engine for tomo, shaped after Open Interpreter: the model does not call structured tools, it writes a fenced code block and the engine runs it, feeds the output back, and loops until the model stops emitting code.
Package oi is a third agent engine for tomo, shaped after Open Interpreter: the model does not call structured tools, it writes a fenced code block and the engine runs it, feeds the output back, and loops until the model stops emitting code.
Package fence lifts runnable code blocks out of a model reply.
Package fence lifts runnable code blocks out of a model reply.
Package kitbridge turns a tamnd/*-cli built on the kit framework into tomo tools.
Package kitbridge turns a tamnd/*-cli built on the kit framework into tomo tools.
Package lsp implements a minimal, synchronous Language Server Protocol client that speaks JSON-RPC 2.0 over a server process's stdio.
Package lsp implements a minimal, synchronous Language Server Protocol client that speaks JSON-RPC 2.0 over a server process's stdio.
Package mcp is a small Model Context Protocol client.
Package mcp is a small Model Context Protocol client.
Package memory is tomo's long-term store: MEMORY.md is a one-line-per-fact index that rides in the system prompt, and each fact's detail lives in its own markdown topic file.
Package memory is tomo's long-term store: MEMORY.md is a one-line-per-fact index that rides in the system prompt, and each fact's detail lives in its own markdown topic file.
Package netguard classifies a listen address as loopback-only or not, so the web and control surfaces can stay private by default and warn loudly when a deployment binds them where the world can reach.
Package netguard classifies a listen address as loopback-only or not, so the web and control surfaces can stay private by default and warn loudly when a deployment binds them where the world can reach.
Package orch is the planning and orchestration layer from spec 2080/ostres: a layer above the turn loop that turns a job into a plan, runs the plan's steps under a budget through the same gate, checks each against a grounded postcondition, and reports honestly.
Package orch is the planning and orchestration layer from spec 2080/ostres: a layer above the turn loop that turns a job into a plan, runs the plan's steps under a budget through the same gate, checks each against a grounded postcondition, and reports honestly.
Package policy is the fail-closed gate every tool call passes through.
Package policy is the fail-closed gate every tool call passes through.
Package provider defines the model-neutral message types and the streaming interface every model backend implements.
Package provider defines the model-neutral message types and the streaming interface every model backend implements.
Package readable turns an HTML page into clean Markdown.
Package readable turns an HTML page into clean Markdown.
Package sandbox confines an exec-class command to a policy the kernel enforces.
Package sandbox confines an exec-class command to a policy the kernel enforces.
Package schedule parses cron expressions and runs the ledger's jobs when they come due.
Package schedule parses cron expressions and runs the ledger's jobs when they come due.
Package skill loads markdown skills that teach tomo a workflow.
Package skill loads markdown skills that teach tomo a workflow.
Package store persists sessions and their messages in one sqlite file, the ledger everything else replays from.
Package store persists sessions and their messages in one sqlite file, the ledger everything else replays from.
Package tool holds the registry of actions the agent may take.
Package tool holds the registry of actions the agent may take.
Package trace records model calls as an append-only JSONL rollout, one file per run.
Package trace records model calls as an append-only JSONL rollout, one file per run.
Package voice carries speech both ways.
Package voice carries speech both ways.
Google Gemini generateContent API translation.
Google Gemini generateContent API translation.

Jump to

Keyboard shortcuts

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