Open-source project
NeuroAIHub/BrainPilot avatar
NeuroAIHub/BrainPilot

BrainPilot: an agentic research workspace for brain science, reviewed for adoption

BrainPilot: Automating Brain Discovery with Agentic Research

1,077 stars73 forksTypeScriptAGPL-3.0

At a glance

What is it?
BrainPilot is an AGPL-3.0 TypeScript monorepo that coordinates a PI Agent with specialist agents and records the process as a Graph of Trace. It is aimed at neuroscience researchers who want an inspectable workflow, not a chat wrapper.
Who is it for?
Adopt BrainPilot if you are a brain-science researcher or lab engineer who needs an inspectable multi-agent workflow and can accept AGPL-3.0 plus a single-user deployment contract. Do not adopt it if you need multi-tenant hosting, since the docker-compose.yml states the runtime is single-user by contract, or if you want a general-purpose coding agent.
Can I use it commercially?
Yes, with strict conditions. AGPL-3.0 is a network copyleft licence: if people use a modified version over a network, for example as a hosted service, you must offer them its source code under the same licence.
Is it still maintained?
Yes. The repository last received commits 9 days ago.
What is it written in?
Mainly TypeScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • NeuroAIHub/BrainPilot1,077 ★ · +346
Star history
Repository2026-09-182026-11-25
NeuroAIHub/BrainPilot7311.1k

346 Stars in the last 68 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

What BrainPilot is solving for brain science researchers

A neuroscience lab rarely fails because it lacks a language model. It fails because the evidence for a claim is scattered across a literature review, an analysis script, a figure and a draft, and nobody can reconstruct which step produced which conclusion. BrainPilot targets that gap. The README describes it as an "open-source, human-in-the-loop agentic system for brain science" that helps researchers review literature, design studies, run analyses, draft reports and audit scientific claims.

The intended user is a researcher, not a software team. The README frames the design around human-in-the-loop work: the researcher stays in control while agents take on evidence-heavy and cross-disciplinary tasks. The Auditor Agent is the clearest expression of that stance. According to the README it reviews claims, evidence chains, citations, hallucination risks, omitted information and unsupported reasoning. That is a narrower and more defensible pitch than a general assistant that happens to answer biology questions.

The PI Agent, specialist agents and the Graph of Trace

The architecture is a hierarchy. A Principal Investigator (PI) Agent talks to the user, plans the work and coordinates specialist agents: a librarian, an experimentalist, an engineer, a writer and an auditor. The PI is the only agent with a direct line to the user, so task decomposition happens in one place rather than being negotiated between peers.

Alongside the agents sit domain knowledge, methodological skills and tool interfaces. The repository layout confirms this is not a single application: package.json declares npm workspaces including packages/protocol, packages/runtime, packages/backend-core, packages/cli, packages/web, packages/skills and four plugin packages (plugin-auditor, plugin-got, plugin-research, plugin-monitor). The stack is TypeScript 5, Node.js >= 22, Hono 4, React 18 and Vite 6, with a Pi SDK listed for orchestration.

The record-keeping layer is the Graph of Trace (GoT). The README states that each session is represented as an inspectable GoT so intermediate actions, evidence, claims and potential risks can be examined. The plugin-got package and the PLUGIN_GOT_EVALUATION_2026-08-05.md file at the repository root indicate this is a first-class subsystem rather than a logging afterthought. For an auditor to be meaningful, the trace has to be the object under review, and that appears to be how BrainPilot is built.

One design consequence is worth naming. Because the PI Agent is a single coordinator, the quality of the whole session depends on its planning. The README does not describe a mechanism for the user to override the plan mid-session beyond the Stop behaviour added in v0.2.1, which the release notes say makes Stop a hard boundary so cancelled model, tool, file and Trace work cannot resume after the user's next message.

Installing BrainPilot and running a first session

There are two documented routes: npm and Docker. The npm badge points at @brainpilot/app, and the repository is a workspace monorepo, so the CLI is built from source. The package.json defines a bp script that runs node packages/cli/dist/bin.js, and a build script that builds every workspace.

Install dependencies and build the workspaces first. The postinstall hook runs scripts/patch-pi-ai.cjs, so do not skip it with --ignore-scripts.

bash
npm install
npm run build
npm run bp -- --help

After the build, the bp command is the CLI entry point. The README does not print a full flag list in the excerpt available, so treat --help as the way to discover subcommands rather than guessing at them.

The Docker path is documented explicitly and is the one with a complete configuration surface. Copy .env.example to .env, then start the default single-user stack. The default ports are 9001 for the main service and 8081 for the sandbox.

bash
cp .env.example .env
# edit .env: set ANTHROPIC_API_KEY
docker compose up

The compose file builds the sandbox from docker/sandbox/Dockerfile with target: cpu by default. The comment in that file explains why: the Dockerfile is multi-stage and its last stage is gpu, so a targetless build would install the much larger GPU environment. GPU users opt in through docker-compose.gpu.yml instead. If you want to skip the local build, BP_SANDBOX_IMAGE lets you point at an official GHCR or ACR image without retagging.

To target a third-party Anthropic-compatible gateway, .env.example says to set both ANTHROPIC_BASE_URL and ANTHROPIC_MODEL, with ANTHROPIC_API_KEY sent as the gateway key. Optional limits are ANTHROPIC_CONTEXT_WINDOW (default 200000) and ANTHROPIC_MAX_TOKENS (default 8192). For multi-provider setups you write your own models.json based on models.example.json and point BP_MODELS_JSON at it. Data persists under BP_DATA_DIR, which defaults to ./brainpilot and is bind-mounted into the sandbox.

Where BrainPilot is the wrong tool

The most concrete limitation is stated in the compose file itself: the runtime is single-user by contract, and multi-user hosting gives each user their own dataRoot or bind mount. If you are building a shared departmental service, that is not a configuration flag you flip. You would be operating one instance per user, and the README does not document a shared tenancy model.

The second constraint is the model layer. The default path is Pi's built-in Anthropic endpoint, and the escape hatch is an Anthropic-compatible gateway or a hand-written models.json. Teams standardised on an OpenAI-only or local-only inference stack will not find a documented drop-in path in .env.example; the file describes the advanced option as "openai-compatible" inside a custom models.json, which is more work than an environment variable.

The third is scope. BrainPilot is built for brain science workflows, with a knowledge base, public neuroscience datasets and domain skills. If your work is a general software task, the domain layer is dead weight and a general coding agent will be simpler. The README does not claim otherwise.

Finally, the hosted demo at brainpilot.chat is separate from self-hosting. Release notes for v0.2.2 say that release aligned the hosted interface with currently available Cloud capabilities and removed unsupported control-plane requests, which tells you the hosted surface and the self-hosted surface do not move in lockstep.

How BrainPilot differs from a general-purpose agent framework

The obvious alternative is a general agent framework such as LangGraph or a coding agent like Claude Code, and the difference is not the model call. It is what gets persisted. A general framework gives you a graph you define and a state object you own; the trace is whatever you decide to log. BrainPilot ships the trace as a product artifact: the GoT is a plugin (plugin-got), the README links a technical report and an ACL demo paper for the concept, and the Auditor Agent consumes it. You inherit a review model instead of designing one.

The trade-off runs the other way too. A general framework lets you define arbitrary nodes and swap in any tool; BrainPilot gives you a fixed cast of PI, librarian, experimentalist, engineer, writer and auditor, plus a skills package. Extending that cast is possible through the plugin SDK and the plugin packages in the workspace, but you are extending a designed system rather than composing from primitives. For a lab that wants a working research workflow this week, the fixed cast is the point. For a team building a bespoke pipeline, it is a constraint.

Maintenance cadence, licence and upgrade cost

The repository is not archived, and the last push was on 2026-09-17. Release history shows v0.1.0 open-sourced on 2026-07-17, then v0.1.1, v0.1.2, v0.2.0, v0.2.1 and v0.2.2 all on 2026-08-22, and v0.2.3 on 2026-09-12. That is a fast cadence with clustered releases, which means upgrade notes matter more than usual.

The changelog entries hint at the cost of upgrading. v0.2.0 added durable expert tasks and background jobs, richer research traces with workspace recovery, public neuroscience datasets, configurable model contexts up to 1M tokens and a redesigned provider/model/reasoning workflow. v0.2.2 removed unsupported control-plane requests. Releases that redesign the provider and model workflow tend to invalidate existing model configuration, so pin a version and read CHANGELOG.md before moving.

The licence is AGPL-3.0-only, per both the LICENSE file and the license field in package.json. AGPL is a strong copyleft licence with a network clause: if you modify BrainPilot and let users interact with it over a network, the source of your modified version is expected to be offered to those users. For an internal lab tool that you run unmodified, this is usually unremarkable. For a product built on top of it, it changes what you can ship. This is not legal advice; take your own counsel before building a commercial service on it.

Operationally, the upgrade surface is small if you stay on Docker: the compose files, .env and the data directory under BP_DATA_DIR. The npm path is heavier because the CLI is built from source across fourteen workspaces.

Editorial conclusion

Adopt BrainPilot if you are a brain-science researcher or lab engineer who needs an inspectable multi-agent workflow and can accept AGPL-3.0 plus a single-user deployment contract. Do not adopt it if you need multi-tenant hosting, since the docker-compose.yml states the runtime is single-user by contract, or if you want a general-purpose coding agent. Before installing, read the release notes for v0.2.1 and v0.2.3 to see what Stop and workspace recovery actually cover, and confirm which of the three compose files matches your hardware.

Frequently asked questions

Is BrainPilot AI?

Yes. BrainPilot is an agentic research system built on language models, with a PI Agent coordinating specialist agents. The README describes it as an open-source, human-in-the-loop agentic system for brain science.

Is BrainPilot on YouTube AI?

The repository does not mention a YouTube channel or video content. The README links a hosted demo at brainpilot.chat, documentation, a Slack community and an arXiv technical report, and none of those are video.

What is TheBrain AI?

The repository does not describe a product by that name. BrainPilot is the project here: an AI research workspace for brain science with a PI Agent, specialist agents and a Graph of Trace.

What is brain technology?

The repository does not define that term. BrainPilot itself is an open-source agentic research workspace for brain science, covering literature review, hypothesis refinement, experiment design, data analysis, writing and audit.

Official sources

  1. License: AGPL-3.0
  2. NeuroAIHub/BrainPilot on GitHub
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/neuroaihub-brainpilot.svg)](https://hysenlabs.com/projects/neuroaihub-brainpilot)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/neuroaihub-brainpilot.svg)](https://hysenlabs.com/projects/neuroaihub-brainpilot)

Was this useful?