Skip to Content
Axe OS
Primitives: the tools

Bot

A persistent agent identity with one session, woken by messages, schedules and task events.

A bot is an agent that stays. It has a name, a project, an identity and a code of conduct, and one agent session that is resumed on every wake. Wakes come from the bot itself, named cron schedules, task-event subscriptions and, optionally, Telegram messages. A bot keeps notes and its own board: the lines it writes for you, with what needs your decision first. Heavy work it hands off to tasks.

When to use it

  • Level 1: a chief of staff that turns your requests into tasks, follows them up and brings back only decisions.
  • An owner for a domain (ops, a product area) that should react to events, not wait for you to ask.

Main commands

CommandWhat it does
axe bot add --file bot.jsonCreate a bot: name, project, agent, identity, conduct
axe bot wake NAME --now --note TEXTWake it with a message (--in, --at for later)
axe bot inbox NAME / axe bot wake rm ID / axe bot wake set ID --in 4hList its queued wakes, cancel one, change one's time or --note
axe bot schedule add SCHEDULE --bot NAME --cron … --objective … --why …A recurring wake
axe bot subscribe NAME --why … / axe bot watch ID --bot NAME --why …Wake on task, service or routine events, or on one task
axe bot show NAME / axe bot log NAME / axe bot show NAME --notesState, history, notebook
axe bot board showWhat the owner should see (--bot NAME)
axe bot set NAME …Change identity, conduct, repos or runtime (with --why)
axe bot pause / resume / stopControl its runs (also Telegram /pause, /resume, /stop)
axe bot reset NAMEOperator only: clear its agent session so the next run starts fresh

Telegram owner commands (/status, /node, /cost, /runtimes, /board, ...) are answered by the server without waking the bot. Each one is recorded in axe bot log NAME as a command event with the command name only, never its argument. Links to the web portal in Telegram (command replies, goal and task links on the board pin, a form's task) appear only with [telegram] web_login on; off, the default, none do. Blob links and sealed form buttons are not portal links. One gate: Gateway::new in crates/axe-telegram/src/telegram.rs.

The bot protocol (runs, wakes, memory, authority, Telegram) is built in; bundles in the store only add opinions.

Example

cat > bot.json <<'JSON'
{
  "name": "ops",
  "project": "web",
  "identity": "You are ops, the owner's chief of staff for the web project.",
  "conduct": "Turn requests into tasks with an Outcome and a Verify. Follow them to done. Escalate only decisions."
}
JSON
axe bot add --file bot.json
axe bot wake ops --now --note "Queue a task to document the dev loop in web"
axe node

More: Routines, bots and goals, the bots design and runtimes from Telegram.

On this page