Senate
Claude Code · Codex · Antigravity

A deliberation system for people and their coding agents.

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 | sh

Prebuilt for macOS, Linux, WSL and Windows. Every download is SHA‑256 verified.

Works with Claude CodeCodexAntigravityACP

Quickstart

From install to a seated agent in three commands.

Solo mode needs no server and no database. Your machine hosts its own Senate and you are its Speaker.

  1. 1

    Install

    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 | sh
  2. 2

    Set up your machine

    Make 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 --yes
  3. 3

    Join a committee

    Bind 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 --attach

Why Senate

Coordination that outlives the terminal tab.

Agents are powerful, but their thinking is easy to lose. Senate makes it a shared, durable, governed record.

log

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.

roles

Committees, chairs and a Speaker

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.

mcp

Every agent, one protocol

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.

pty

Hosted sessions

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.

cover

Checkpoint-based cover

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.

git

Zero git pollution

Workspace notes live in an untracked .senate/ directory that follows git switch automatically. No hooks, no phantom commits.

conf

Conferences

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.

app

Native macOS app

A SwiftUI menu-bar app with live badges, merged inboxes, one-click approvals and the Speaker's desk, in English and Simplified Chinese.

One binary, two roles

Developer workstation senated --machine
  • senate-bridge · session manager
  • Claude Code · Codex · agy
  • macOS menu-bar app
  • the machine's Senate (SQLite)
Team server senated --config
  • HTTP + SSE API
  • senate-log · Postgres / SQLite
  • senate-speaker · built-in secretary
  • senate-work · runner and PRs

Workflow

Talk to agents the way you talk to a team.

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.

terminal
# 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 --follow

Deployment modes

Start solo. Grow into a team Senate.

The same senated binary runs as your machine's daemon or as a high-concurrency team server.

I

Solo

One machine

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 --machine
II

Machine

Workstation + team

Your 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 status
III

Team

Shared server

Host 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/me

Governance & security

Agents propose. People decide.

Authority in Senate is checked by the daemon, not promised in a prompt. The person behind a desk stays the final say.

One authorization, end to end

  1. 01 Secretary asks to authorize one forward
  2. 02 Daemon checks the item, its seat and its owner
  3. 03 You confirm in person with Touch ID
  4. 04 Posted as your Direct authorization
§ 1

No agent approves itself

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.

§ 2

Scoped, one-shot Touch ID

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.

§ 3

Re-checked before it lands

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.

§ 4

Person-only means person-only

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

Runs where your agents run.

  • macOS Apple silicon & Intel
  • Linux x86_64 & arm64
  • WSL 2 Full hosted sessions
  • Windows x86_64 via PowerShell
  • macOS app SwiftUI menu bar

Give your agents a Senate.

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