The Resonator
Benzene gives your business six offices, from tech to marketing to finance, that work in cycles. They do their rounds every cycle, run your requests the moment they arrive, and act when a number crosses a line. Nothing counts until it passes a check, and you see only what needs your decision.
How work flows
A request from you or your team, in plain words: "draft next week's launch email", "fix the sign-up bug". It runs the moment it arrives, in a workspace of its own, and comes back checked.
Each office does its rounds every cycle without being told: tech checks the product and fixes what broke, marketing reads the audience and builds the campaign, finance reads the numbers.
A number crossed a line: sign-ups fell, a check failed, the cash curve bent. The system raises it and works the problem across the offices until it is closed, then tells you what it learned.
Every result is checked before it counts. One that fails is undone and fixed first next cycle, so the business never gets worse by itself. Your inbox holds only the decisions: approve, reject, or add a note that steers the work.
| Office | Every | On its rounds | What reaches you |
|---|---|---|---|
| Tech | cycle | checks the product with its own tests, fixes what fails, ships the fix | done, failed, or needs you |
| Marketing | 3 cycles | reads the audience report, builds the campaign, asks operations for the product work it needs | |
| Customers | 3 cycles | convenes its panel, studies the record and the competition, suggests a feature | |
| Finance | 3 cycles | reads the balance sheet and the growth curve, suggests a change | once, when the money burns |
| Investors | 5 cycles | a cheap panel scores the pitch; at a good score the angel panel sits | the offers |
| Operations | cycle | reads every suggestion, the numbers and what shipped, and proposes the next work | approval requests, shipped, improvement reports |
The cadence is a setting per office. Hourly cycles are the usual pace; a quieter business can run daily.
Routine work runs and reports back. A new feature, a spend, a change of course waits for your yes, your no, or your note. One line per item, from a phone if you like.
Every result is held to a check your product already has: its tests, its numbers, its documents' structure. A failing result is undone and fixed first next cycle.
Each office measures its own health and the record shows the curve: what ran, what passed, what moved. You can watch it live, as we do with Benzene's own organisation.
A prompt runs the moment it arrives; a cycle takes the repair of what failed, then the crisis steps and the routines due, the COO last. Each run that passes its guardrail moves its office's health; an office is healed at 0.8, and the organisation when all six are. Set the cadence, add prompts and crisis chains, and watch how many cycles the organisation needs against the same offices on their routines alone.
A model of the loop, to read the order and the levers by, not a measurement: the gain per run, the drift between runs and the one run in eight that fails its guardrail are chosen to be legible, not to predict your record.
resonator:
routines: {cto: {every: 1}, coo: {every: 1}, cxo: {every: 3}, cfo: {every: 3}, cmo: {every: 3}, cio: {every: 5}}Paste the block into benzene-org.yaml: the Resonator reads it at its next cycle.
A COO proposal is maintenance (built now, the CEO alerted afterwards), a campaign (the CMO's ask, built now) or a feature. A feature goes through the operator chain first: a human at the terminal or the model operator as the CEO's delegate can approve on the spot. Otherwise it waits in inbox.md, or in your mail through the notify command, until it is approved or rejected. A rejection keeps its reason on the record, and the COO's research reads every rejection and the manifest's standing decisions each cycle, so a no holds in any wording.
An approved proposal is built through the COO's plan with its acceptance criteria and the board, released, and after monitor_cycles cycles its metrics are compared with the snapshot taken before it shipped. The improvement report names the metric it promised to move and what moved.
Each run on the workspace is an execution: written as running before the run, with its snapshot kept, and finalised with every task, its tool calls, the files it wrote, the failing checks, the cost, and the product's health before and after. Each task carries its own trace, one row per step and attempt.
The COO is the only scheduler. Every piece of work enters as an item in one queue, and the planner alone decides what a cycle takes, in a fixed order: the prompts first, then the routines due, the COO's last, then the approved builds. A failed cycle is fixed first: a routine that did not pass, or a step of the cycle that raised, runs again at the start of the next cycle, told what failed, before anything new is taken.
$ bza org.yaml ../my-cli --resonate --cycles 0 --every 3600
$ bza org.yaml ../my-cli --inbox
# CEO inbox: skills-cli
## Pending approvals
- prop_f27dde47 [feature] Dark mode (cycle 4; expects satisfaction 0.74 -> 0.8)
approve: bza org.yaml ../my-cli --approve prop_f27dde47
## Messages (newest first)
- cycle 4 · report from cio: angel investors: $40,000 offered
- cycle 4 · alert from cto: maintenance done: complete skills/server-api
- cycle 3 · report from coo: improvement report [maintenance] Tidy the README:
satisfaction 0.74 -> 0.8 (+0.06)
max_fix_cycles cycles, then escalated to the CEO; a cycle that fails is repaired before the next one does new work.benzene serve runs one process that serves the record over HTTP and runs the Resonator on a timer. The page at / is the graph view polling the record every few seconds: cells appear as they are born, fade as they divide or die, and a strip shows the cycle, the approvals waiting and the last run. /inbox is the CEO's mailbox, and approvals, rejections and a cycle can be sent from a phone.
--tunnel benzene publishes the graph and the inbox through the relay on this site, under a view link to share and an owner link that approves, rejects and cycles; --tunnel cloudflared and ngrok give a public URL of your own instead. The first cycle runs at once when the record has none or the last one is older than the period.
$ benzene serve ../my-project --cycle-every 3600 --tunnel benzene
local: http://127.0.0.1:3110/?token=k3…
public: https://benzene-agent.org/g/ab12cd34ef/?token=… (view: share this one)
resonator: every 3600s in the background; first cycle once the record is open
resonator:
routines: {cto: {every: 1}, coo: {every: 1}, cxo: {every: 3},
cfo: {every: 3}, cmo: {every: 3}, cio: {every: 5}}
require_stage: healed
approve: [feature]
monitor_cycles: 2
max_fix_cycles: 3
max_builds_per_cycle: 2
rollback: true
commit: true
release: [[git, push]]
notify: [mail, -s, resonator, ceo@example.com]