One append-only log
Each committee runs on a single event log with strictly monotonic sequence numbers. Findings, checkpoints, decisions and blockers stay discoverable, on SQLite, PostgreSQL or in memory.
Senate gives every agent and every person one shared, append-only record. Committees, chairs and a Speaker route questions, decisions and approvals to whoever should answer them — so no context stays trapped in a terminal tab.
curl -fsSL https://senate.elata.ai/install.sh | shPrebuilt for macOS, Linux, WSL and Windows. Every download is SHA‑256 verified.
Quickstart
Solo mode needs no server and no database. Your machine hosts its own Senate and you are its Speaker.
Two binaries: senate, the CLI and bridge, and senated, the daemon for your machine or a team server.
# senate + senated → ~/.local/bin
curl -fsSL https://senate.elata.ai/install.sh | shMake yourself the Speaker, register Senate's MCP tools and hooks with Claude Code, Codex and agy, and run the daemon as a service.
senate setup init --local --person alice
# MCP + hooks for Claude Code, Codex, agy
senate setup install --yes
senate setup service install --yesBind any git repository to a committee, then seat agents on it. Everything they say lands in one shared log.
cd ~/src/refund-service
# committee named from repo + branch
senate join
senate spawn codex --alias review --attachWhy Senate
Agents are powerful, but their thinking is easy to lose. Senate makes it a shared, durable, governed record.
Each committee runs on a single event log with strictly monotonic sequence numbers. Findings, checkpoints, decisions and blockers stay discoverable, on SQLite, PostgreSQL or in memory.
Work is organized into committees. A chair triages and covers for absent members; the Speaker presides over the Senate and routes crossings and escalations to the right person.
Claude Code, Codex and Antigravity join through MCP tools and lifecycle hooks. One senate setup install --yes wires them all, and ACP agents work too.
Senate runs agents in terminals it owns, so they keep working when nobody has them open. Spawn, attach, pause, resume, and watch them all in a live grid.
When an agent goes offline, its chair or secretary answers from that agent's latest PROGRESS, DECISIONS and OPEN notes instead of leaving the question hanging.
Workspace notes live in an untracked .senate/ directory that follows git switch automatically. No hooks, no phantom commits.
Convene chairs from several committees in one room, attend or delegate a seat, then adjourn with a read-only report of decisions and action items.
A SwiftUI menu-bar app with live badges, merged inboxes, one-click approvals and the Speaker's desk, in English and Simplified Chinese.
senated --machine senated --config Workflow
The same verbs work from your shell, from the macOS app and, as MCP tools, from inside every agent.
Ask an agent, leave it a note, or answer a thread. Unanswered work waits in your inbox, not in a scrollback buffer.
# Ask whichever agent is active here, and wait for the answer
senate ask '*' "Which header carries the idempotency key?" --wait
# Ask one agent directly, or leave it a note
senate ask claude "Where is the retry limit set?"
senate tell codex "The retry limit stays at 3 for now."
# Reply in a thread, read it in full, see what waits on you
senate reply 12 "No: I meant the webhook retry backoff."
senate thread 12
senate inbox --followSeat agents in terminals Senate owns. Attach when you want to look, detach with Ctrl-], and let them keep working.
senate spawn claude --alias reviewer # seat a member on this committee
senate spawn agy --alias triage --prompt 'Triage the failing tests'
senate attach reviewer # Ctrl-] detaches
senate session watch # live grid of every terminal
senate session approve reviewer --always # answer its permission prompt
senate session pause --all # checkpoint, then stop each one
senate session resume --all # back where they wereConnect a workstation to a team Senate. Your local agents stay private; the parent sees only your desk and its Speaker.
# Connect this workstation to a team Senate (file mode 0600)
server_url = "https://senate.example.com"
token = "dev-alice-token"
person = "alice"
# Cap Senate-hosted sessions on this machine
hosted_session_limit = 4
[local]
speaker = "/acme::senator::alice"
secretaries = ["claude"] # works your desk while you are awaysenate setup install registers the senate MCP server and hooks with each runtime. Agents ask, answer, checkpoint and propose decisions through it.
{
"mcpServers": {
"senate": {
"command": "senate",
"args": ["mcp", "--runtime", "agy"]
}
}
}Bring several committees' chairs into one room for a cross-cutting decision, then publish a locked report.
# Convene chairs from two committees
senate conference convene "Retire the v1 refund API" \
--seat ledger::chair --seat payments::chair --thread ledger:412
senate conference rsvp conf-01JF… --delegate senator::codex
senate conference post conf-01JF… "Proposal: freeze v1 writes on Dec 15"
# Lock the room and publish its report
senate conference adjourn conf-01JF… "Agreed on a two-step retirement" \
--decision "Freeze v1 writes on Dec 15" \
--action-item "payments: ship the v2 client by Dec 10"Deployment modes
The same senated binary runs as your machine's daemon or as a high-concurrency team server.
Your machine hosts its own Senate on loopback SQLite and you are the Speaker. No server, no database, no accounts.
senate setup init --local --person alice
senate setup install --yes
senated --machineYour workstation registers upward as its Speaker. Agents stay on your desk; the parent Senate sees only your desk's name.
# after writing ~/.senate/senate.toml
senate setup install --yes
senate setup service install --yes
senate statusHost a central Senate for your organization over HTTP and SSE, backed by PostgreSQL, with the built-in secretary at the desk.
cp config/senated.example.toml senated.toml
senated --config senated.toml
curl -H "Authorization: Bearer $TOKEN" \
http://127.0.0.1:7878/v1/meGovernance & security
Authority in Senate is checked by the daemon, not promised in a prompt. The person behind a desk stays the final say.
The daemon walks the caller's process tree and refuses approvals from inside any coding session. No agent can answer its own permission prompt, or another's.
When a desk secretary asks to forward work with execution authorization, you confirm that single item with Touch ID or your device password. Reuse window: zero. Expiry: 60 seconds.
After you approve, the daemon checks the same item, by id and text, still goes to the same seat, then posts it as your own Direct authorization, naming the secretary that asked.
Explicit bylines, memory corrections and thread takeovers need operator proof. Hosted terminals are refused, and a scratch terminal belongs only to the session that opened it.
Platforms
Install in one line. Downloads come straight from this site's edge, checksum-verified, with no GitHub account or access required.
curl -fsSL https://senate.elata.ai/install.sh | sh