Brain0 banner
Brain0-ai Brain0-ai

Brain0

Security community

Description

The black box for AI-written code. Passive decision graph linking every commit to the agent prompts behind it: drift detection, DLP audit of what agents read, evidence-driven risk, MCP memory for coding agents, signed provenance attestations. One command, offline by default.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

brain0

**The black box for AI-written code.**

`git` tells you *what* changed. brain0 tells you *why*: which prompt wrote it, what the agent **read** to write it, and whether you can trust it.

[![CI](https://github.com/Brain0-ai/brain0/actions/workflows/ci.yml/badge.svg)](https://github.com/Brain0-ai/brain0/actions/workflows/ci.yml) [![License: Apache-2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](./LICENSE) [![npm](https://img.shields.io/npm/v/brain0?color=cb3837&logo=npm)](https://www.npmjs.com/package/brain0) [![Rust](https://img.shields.io/badge/core-Rust-e43717?logo=rust)](./crates) [![TypeScript](https://img.shields.io/badge/gui-TypeScript-3178c6?logo=typescript&logoColor=white)](./packages) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-27a644.svg)](./CONTRIBUTING.md)

[Quickstart](#quickstart) · [What it answers](#the-questions-your-repo-cant-answer-today) · [Give your agent memory](#give-your-agent-the-why-layer-mcp) · [How it works](#how-it-works) · [Comparison](#how-it-compares) · [Docs](./docs)


brain0 — the decision graph of a repository: click any node to read its intent, risk and dated history

Coding agents now write most of the diff: continuously, in parallel, and opaquely. brain0 **passively** builds a decision graph of your repository: every **commit** linked to the **agent intents** behind it, down to the single **function**, with dated history, drift detection, a DLP audit of what agents *read*, and a two-dimensional **risk score** rendered green → red. No hooks, no agent cooperation, no code changes: it reads git and the transcripts your agents already write to disk.

Dogfooded from day one: brain0's own development is tracked