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 reflects the committed public site and shows no published stable release until one exists.

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. GitHub project tooling 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.

Metadata

Release files for brains-ai 0.0.1

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 0.0.1
File Size Uploaded Provenance Actions
brains_ai-0.0.1.tar.gz 1.3 MB With provenance Details for brains_ai-0.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 2.4 MB

Release files / brains_ai-0.0.1.tar.gz

Download URL brains_ai-0.0.1.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
00ffa3904e61ca6ccb455017f7549f0a8cf7f4a9a5ddc7d83c5d4c8289915301
BLAKE2b-256 checksum
How to use checksums
fc6daea95ed605363f98b4b8295b044f261bf9e14d5702257c1c3fb4ec478ae9
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 Oct 10, 2026.

Transparency log

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

Download URL brains_ai-0.0.1-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7e0e41fc86cd310e5a0d02ad230b4b99c758349d5cb93272ed2eccaf0d205402
BLAKE2b-256 checksum
How to use checksums
04aa5575337cbf086169dbeddea2b19f7cb9db27ee1aa16d8c86d237eb49a85e
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 Oct 10, 2026.

Transparency log

Security for brains-ai 0.0.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for brains_ai-0.0.1.tar.gz

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 Oct 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files Full provenance

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