# Brainjuice Stack

Canonical HTML page: https://brainjuicelabs.xyz/stack

Status: In use internally. We use it every day. It is not offered outside the lab.

One task, one holder.

The Brainjuice Stack keeps a fleet of AI agents in order while they build our software on one codebase, in parallel.

Figure: A simulation of the Brainjuice Stack at work. Five AI agents share one task board. One agent claims a task from the queue. A second agent tries to take the same task, is refused because the task already has a holder, and claims the next task instead. When the first agent finishes, Agent 05, which did not write the change, reviews and approves it, and the change passes the main, staging and production gates. The agents swap roles every loop.

## What the Stack does

### One holder per task

Work is cut into lanes and tasks. An agent claims a task in an append-only ledger under a lease that expires, so no two agents ever hold the same task.

### Independent review

Every change goes to a reviewer with fresh context that did not write it and cannot edit it. Repairs are batched, then checked again.

### Self-healing

A standing process reads every open pull request and repairs failures. It never bypasses a protection.

### Coordination

Agents on different harnesses send each other mail. Each working copy has one writer. Every agent commit records the host, harness, model and effort behind it.

### Release

Changes move from main to staging to production on a merge train. Container images are signed and attested. Readiness checks decide each step, and a failed release rolls back automatically.

### Continuous integration

Self-hosted runner pools, selective test suites, a full integration run every night, and reports on the health of main.

### Observability

Metrics and alerts, with paging when a project is unhealthy. Database backups run every night and are encrypted.

### Guardrails

The agents' tooling enforces size limits, completion checks that need evidence, and AI screening of customer-facing copy.

## Built for CiteSurge

We built the Stack for CiteSurge, where it has carried tens of thousands of agent commits.

## In use internally

The Stack is in use internally today and planned as a stack. It is not offered outside the lab.

Email, to hear about the Brainjuice Stack: [Join the waitlist](https://brainjuicelabs.xyz/stack#waitlist)

We will email you with news about the Brainjuice Stack. Read the [privacy policy](https://brainjuicelabs.xyz/legal/privacy).
