Skip to main content

Brains

Brains is a local-first control plane for coordinating AI coding agents through shared Workspaces, durable work, local mailboxes, and human approvals.

Agent tools run in isolation: each has its own process, its own history, and a partial view of the work. Brains gives them somewhere shared — so two agents can split work without colliding, a restarted tool can resume real context instead of a transcript, and you keep the decisions that need a human.

Brains is alpha software for one local operator. Everything runs on your machine against a local SQLite database. By default there is no account, no telemetry, and no external service. Optional owner-approved ASK email notifications use your configured SMTP service; see setup and consent.

Install and run

Brains requires Python 3.11 or 3.12.

python -m pip install --user pipx
python -m pipx ensurepath
pipx install brains-ai

Initialize a Workspace, connect your agent tools, and run the service:

cd <project>
brains-ai setup --path .
brains-ai wire
brains-ai serve-all

Open http://127.0.0.1:8787/app. Keep the generated admin key private.

Wiring edits only the managed entry in each tool's configuration. Your formatting and unrelated keys are preserved, and brains-ai unwire restores the file byte for byte.

New here? Start with the guide.

What it does

  • Coordination — Workspaces, durable Sessions, tasks, exclusive claims, handoffs, and checkpoints that survive a tool restart
  • Local work assignments — create an immutable specification, accept it with an existing Session, and record an outcome with evidence and revision-fenced attempt history; no process launch or checkout management
  • Workspace Work tab — author assignments and peer deliberations as the human operator, inspect evidence, request cancellation, and explicitly advance complete protocol rounds
  • Communication — durable mailboxes between agent Sessions, proof-bound waiting for unread mail, and peer help requests whose answers must carry evidence
  • Knowledge — recorded findings, scoped and searchable, so they are not re-derived
  • Human authority — asks and approvals that fail closed where a person is required, with optional, default-off email notifications to the configured owner
  • Evidence — a hash-chained audit log you can recompute, and the decision behind every outward effect
  • Operations — readiness, backup, restore, and rollback over SQLite

Four harnesses are supported: claude-code, copilot-cli, codex, and opencode.

Current-main documentation covers 89 MCP tools. This branch also provides ten protected operator HTTP endpoints for local assignment and peer-deliberation controls in the existing Workspace Work tab. Human writes use browser-cookie authentication; agents accept work and submit evidence through CLI/MCP. See the operator work guide. This is an unreleased local foundation for part of #42, not completion of cross-process events/replay or transport comparison. Remote runners in #36 and specialist workers in #38 remain deferred to #37 planning. The website describes the pinned 1.5 release and its 74-tool surface.

Model routing, semantic retrieval, and chat bridges are not supported today. The product brief distinguishes planned direction from non-goals and documents retained internal paths without making them supported features.

Planning and contributions

GitHub Issues define work outcomes and acceptance criteria. The Brains Project is the sole source for priority, order, and status; these are not duplicated in Markdown backlogs or external copies. See Contributing before starting work.

Documentation

Native service installation, platform-specific Claude recovery, and the Docker-isolated full gate are release conditions checked per candidate rather than standing guarantees; see Operations before relying on a background service.

See Contributing, Security, the Code of Conduct, and the MIT License.

The website source lives in site/ on main and is deployed by GitHub Actions. See website maintenance for release synchronization and deployment checks.

Release files for brains-ai 1.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brains-ai 1.6.0
File Size Uploaded
brains_ai-1.6.0.tar.gz 1.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for brains-ai 1.6.0
File Interpreter ABI Platform
brains_ai-1.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 2.3 MB

Release files / brains_ai-1.6.0.tar.gz

Download URL brains_ai-1.6.0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
d162ad86c02b6aa1cd845b600c80249988652a9ce3be96a664c7395cf91e0c33
BLAKE2b-256 checksum
How to use checksums
b968b08d21fbfb231abd98168b51f3c254da98259b219a692208b1a535218628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log

Release files / brains_ai-1.6.0-py3-none-any.whl

Download URL brains_ai-1.6.0-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
acae5bab4a25b83bb1c5fbc264682f13f7b2b5330381b7f1792df18f333a10f6
BLAKE2b-256 checksum
How to use checksums
a42600de6e18512fc6977665e205bfdcbb4049434e8b87490ec0b0108e23720b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.

Transparency log
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page