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. There is no account, no telemetry, and no external service.

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
  • Communication — durable mailboxes between agent Sessions, 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
  • 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.

Brains deliberately does not route models, index code semantically, or bridge chat applications — your harness already has provider logins and your editor already indexes code. The product brief explains each decision.

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.

Release files for brains-ai 1.5.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.5.0
File Size Uploaded
brains_ai-1.5.0.tar.gz 1.2 MB Details

Built distribution (wheel)

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

Total release size: 2.2 MB

Release files / brains_ai-1.5.0.tar.gz

Download URL brains_ai-1.5.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
b3904f22ae6488959fad9097f9d93bad3d2f1729ab751a69b6bcc9831a8fe9ca
BLAKE2b-256 checksum
How to use checksums
245650a62e61042dc2a6f206ec3131e0840cb14bbef4cb508d29fbe05e71e5e8
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 8, 2026.

Transparency log

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

Download URL brains_ai-1.5.0-py3-none-any.whl
Size 989.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a135e05138abdd124f6df379ea54d6e30dade39412ff2f697ce6580494aaef5b
BLAKE2b-256 checksum
How to use checksums
64c7f8b285f88694bd58c5a4d804dd2a3bd5f37c639a43cf8d9e576fcaa23ab6
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 8, 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