Memory & documents
What your agents carry between sessions, and the work they do without you sitting there.
Memory
The memory extension gives agents durable, cross-session recall. As a session
goes, a small model writes a compact record of it — summary, tags, a theme —
into the session’s own log. Agents get a recall tool over those records, so a
crew accumulates context instead of starting cold every morning.
extensions:
memory:
provider: memory-agent # usually a small, cheap modelMemories are yours: they live in your session logs, and with the web UI
self-hosted they are browsable under /journal — and recall reaches the
sessions of every machine connected to it, not just this one.
The document vault
The documents extension gives agents a markdown vault — by default
~/.botbandit/docs — that they can read and write like any other file tree.
This is where plans, notes, and handoffs live.
extensions:
documents:
root: ~/.botbandit/docsDocuments are just markdown with frontmatter, so they stay useful outside BotBandit.
A plan tracks its deliverables as work items in a work: block — one
machine-readable status per deliverable, which agents update as they go:
---
title: Ship the launch docs
type: plan
work:
schema: 1
items:
- id: self-host-guide
title: Draft the self-hosting guide
status: in_progress
- id: site-nav
title: Wire it into the site nav
status: todo
dependsOn: [self-host-guide]
---
The details of each step live in the body.The format, the statuses, and the dispatch-to-merge workflow have their own section: Work items.
With the web UI self-hosted, the vault syncs to your Supabase backend and these documents become a live work board, a notes app, and a backlink graph.
Scheduled work
Any document can also carry a scheduled: block, and the daemon’s scheduler
will run it on a cron expression:
---
title: Morning triage
scheduled:
enabled: true
schedule: "0 7 * * 1-5"
timezone: Europe/Berlin
profile: coder
cwd: ~/code/my-service
---
Review yesterday's failed CI runs and open an issue for anything that looks real.model: overrides the profile’s model, and executor: pins the job to one
machine (by host name) when the vault is shared. Without a cwd:, the run
starts in the neutral scratch home. Each run is a fresh, hidden session.
The same document can be run once, by hand, with no scheduler involved:
boba run-task ./morning-triage.mdUnattended runs need an approval policy that terminates. There is nobody
to answer ask-human at 07:00, so give scheduled profiles an explicit
allow-list with default: deny, or ask-agent. A scheduled: block can also
carry its own approval: override for that run only. See
Approvals.
Scheduling hands an agent unattended privilege, so by default the daemon refuses
to dispatch a job whose intent (schedule, timezone, executor, profile, model,
approval policy, working directory) is not signed by a passkey — which an agent
editing its own document cannot forge. You sign it in the web UI. Change the
schedule and the signature is stripped, leaving the job disarmed until you
re-approve it. On a machine without the web UI, BOTBANDIT_SCHEDULE_SIGNATURE=off
in the daemon’s environment turns the check off.
Usage and account status
Long-running crews burn through subscription windows. The daemon tracks them:
boba subscriptions # windows, resets, freshness
boba subscriptions --refresh # poll every collector firstAnd what the tokens went to, from your session logs:
boba usage # last 30 days, by provider and model
boba usage --by profile,day # any mix of provider, model, profile, source, day, session
boba usage --by work-item # what each dispatched work item cost up to its merged PR