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.4.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.4.0
File Size Uploaded
brains_ai-1.4.0.tar.gz 1.1 MB Details

Built distribution (wheel)

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

Total release size: 2.1 MB

Release files / brains_ai-1.4.0.tar.gz

Download URL brains_ai-1.4.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
34dba28cf40f75be048a9e1a85eb2b0f891cb18bf66b0037c39c674eda25cabc
BLAKE2b-256 checksum
How to use checksums
ba11eff4f214a9b57e147f9ea92ef0e10cd116bd4be4221c3b02c99f377db1cf
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 6, 2026.

Transparency log

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

Download URL brains_ai-1.4.0-py3-none-any.whl
Size 984.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a1f1ed778af3ae80047744292ef5dc24e8315e8ff308f267cdbdb45ea3fe9d5
BLAKE2b-256 checksum
How to use checksums
4cfe0a2ccc9e8325053994c75c52a1f13e3d091ce10896d8c482a10f8cb62401
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 6, 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