Skip to main content
Household finances need continuous attention: new transactions arrive daily, the backlog grows between human check-ins, and subscriptions quietly drift. Running an agent on demand is fine for one-off analysis, but it doesn’t scale as a daily habit. Openclaw is a persistent, VM-hosted autonomous agent platform. Unlike a chat session that ends when you close the window, Openclaw runs continuously on its own machine, maintains session state, and can spawn sub-agents for parallelised work. It also connects to messaging channels — Slack, Telegram, Discord, WhatsApp, and others — so it can reach you out-of-band when something needs attention. This guide shows three self-contained workflow patterns you can drop into Openclaw today. Each one assumes Breadbox is already connected as an MCP server; if it isn’t yet, start with Set up MCP for Claude and AI agents.

Prerequisites

  • A running Breadbox instance with a reachable /mcp endpoint (HTTPS for remote Openclaw gateways).
  • An Openclaw gateway installed and running.
  • Breadbox registered as an MCP server in Openclaw — follow the Openclaw tab on the MCP setup page.
  • A Breadbox API key. Start with read-only scope and graduate to full-access only after observing a few correct agent cycles. See API keys.

Workflow 1 — the 12-hour triage loop

Pattern: Every 12 hours, the main agent checks how large the needs-review backlog is. If it’s small enough to handle in one pass, it delegates a sub-agent to work the batch. If the queue is large, the sub-agent works in 30-transaction pages until it drains to zero. This is the automated version of the Single Routine Reviewer pattern — same logic, running on a schedule instead of on demand.

Scheduling in Openclaw

Draft — verify with current Openclaw docs before publishing. Openclaw supports cron-like scheduling for recurring agent tasks. The exact configuration block for scheduling varies by Openclaw version; check https://docs.openclaw.ai for the current schedule config syntax. The example below reflects the general scheduling primitives documented as of early 2026.
Configure the triage loop as a recurring task in your Openclaw agent definition. Use a standard cron expression for the schedule:
The main agent runs on this cadence. When it determines the queue needs work, it calls sessions_spawn (Openclaw’s sub-agent primitive) to delegate the review batch to a child agent. The child agent inherits the Breadbox MCP connection from the parent workspace.

Main agent prompt (paste-ready)

Drop this into the main agent’s system instructions inside Openclaw:

Sub-agent prompt (paste-ready)

This is the prompt for the child agent that does the actual review work:

Workflow 2 — attention-needed alerts

Pattern: After each review pass, the agent scans the deferred (needs-human) transactions. If any match certain criteria — large charge, unknown merchant, a charge that deviates from a known subscription amount — it sends a notification through Openclaw’s connected messaging channel. This lets Breadbox reach you in Slack, Telegram, or wherever you’re already paying attention, instead of requiring you to check a dashboard.

Criteria for an alert

Common thresholds to configure (tune to your household):
CriterionExample threshold
Large single chargeAmount > $200
Unknown merchantNo prior transactions from merchant in last 90 days
Subscription deviationRecurring merchant with amount +/- 15% of 3-month average
Duplicate candidateSame merchant, same amount, same day as another transaction

Notification channels

Openclaw exposes a message() tool that routes outbound messages through any channel the gateway manages — Slack, Telegram, Discord, WhatsApp, iMessage (via BlueBubbles), and others. The call shape is consistent across channels:
Swap "channel": "discord" for slack, telegram, etc., and set to to whatever channel/user identifier that platform uses (channel:<id>, user:<id>, thread:<id>). The agent prompt below uses that shape directly.
Channel routing — which channel ID belongs to “the household alerts channel” — is gateway-specific and configured where you set up your Openclaw tenant. See https://docs.openclaw.ai for the current per-channel reference if you need a different target format.

Alert agent prompt (paste-ready)

Run this agent after the triage loop completes (or as a standalone step inside the main agent before closing the session):

Workflow 3 — session hygiene

Pattern: Every write cycle starts with create_session and ends with submit_report. This is not optional overhead — it’s how Breadbox attributes agent work to specific cycles in the audit log. Without it, all agent writes are anonymous and the household has no clear record of what any given run did.

Why this matters

Breadbox’s Sessions reference explains that every write tool (other than create_session itself) requires a . Sessions group related tool calls into a unit visible in the admin dashboard. When Openclaw runs nightly and names its session “nightly triage — 2026-04-23”, the household can see exactly which transactions were touched, by which agent, and why. submit_report closes the loop by posting a human-readable summary to the Breadbox Reports page. It is the agent’s equivalent of leaving a note — the household skims the title, reads the body if they want detail, and can see at a glance whether the last cycle ran cleanly.

Session open / close pattern

Every Openclaw agent that writes to Breadbox should follow this shell:

Report format

Follow the style from submit_report: the title is the primary signal — write it as a complete past-tense sentence with concrete numbers. The body uses ## headers, bullet lists, and inline transaction links for items that need a human look. Example title: "Triage — 2026-04-23: 42 reviewed, 3 deferred, 1 anomaly flagged."

Cost, safety, and failure modes

An autonomous agent with a full-access Breadbox API key can recategorize hundreds of transactions, rewrite rules, and retag your entire backlog in a single unattended cycle. Start read-only, observe at least five cycles through the dashboard Reports and Annotations pages, and promote to full-access only after you trust the behavior.

Start read-only

Configure Openclaw’s Breadbox API key as read-only for the first few cycles. Watch the reports in the Breadbox dashboard — verify the agent is querying the right transactions, making sensible decisions, and correctly identifying what to defer. Promote to full-access only after you trust the behavior. See Read-only vs. read-write.

Guard against runaway writes

Even after a promotion to full-access, a few defaults limit blast radius per cycle:
  • Keep limit=30 per page on query_transactions. Smaller batches = smaller blast radius per cycle.
  • Review submit_report output for the first few weeks. If the deferred count is unexpectedly high or low, inspect the annotations before giving the agent more autonomy.
  • Breadbox’s update_transactions respects category_override = 'user' — rows a human has manually categorized are never overwritten. Do not work around this behavior.

Observe before automating

Use Breadbox’s Reports and Annotations pages as the primary observability surface:
  • Reports — every submit_report call appears here, showing what the agent did each cycle.
  • Annotations — every tag change, category set, and comment is recorded on the individual transaction. Drill into any transaction to see the full agent reasoning trail.
Watch at least five cycles before switching the API key to full-access.

Failure resilience

If Openclaw loses its machine, crashes, or loses its API token between cycles, the only harm is missed cycles. The data Breadbox holds is safe — no in-flight transaction updates are lost because update_transactions is atomic per call. The next time Openclaw recovers and runs, it will find the same backlog waiting. If a cycle errors mid-way, the needs-review tags on unprocessed transactions remain intact. The household can see the half-finished session in the Breadbox admin dashboard and investigate from there.
Last modified on June 25, 2026