Skip to content
프로젝트

소개

OneBrain Rooms (One Brain Rooms): one memory for all your coding agents. Claude Code, Codex and Gemini in one Mac group chat, sharing a git-tracked Markdown memory. Each reads only what's new: up to 81% fewer tokens on long threads.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+3
in 7 days
기록 수집 중
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

OneBrain app icon

OneBrain Rooms

One memory for all your coding agents.
Claude Code, Codex and Gemini work in one Mac group chat and share one memory, so whichever agent picks up the work already knows what the team decided.
Each one reads only what is new to it: long threads use up to 81% fewer tokens, on the subscriptions you already pay for.

Download for Apple Silicon · Install · Compare · Token benchmark

English · 简体中文 · Deutsch

Latest release macOS Apple Silicon License Apache-2.0

OneBrain Rooms walkthrough: create a group, ask five agents at once, Claude builds, Codex reviews, Gemini records the decision in the team brain
Watch in HD

What you get

Team brain page showing a decision file, who wrote it and its token cost
One memory, every vendor
Agents write down decisions, rules and handoffs as they work, so it gets better the more you use it. Plain Markdown in git: see who wrote what, and restore any version.
Input tokens over 100 turns: 649k when rereading history, 124k with OneBrain
81% fewer tokens on long threads
Each agent reads only what is new to it. Measured, and you can rerun the test.
Claude, Codex and Gemini handing work to each other in one group chat
Five vendors, one thread
@ one agent, @all for everyone, or no mention and the best fit answers.
Welcome screen listing the coding agents found on this Mac
Ready in a minute
It finds the coding CLIs you already use. No API keys, your own subscriptions.
  • Safe to leave running. Every agent run can be undone, and undo warns before overwriting your later edits. Commands that write outside the project or rewrite history are flagged on the approval card and can never be allowed permanently. Scheduled runs keep the same approvals.

Install

One-line install (recommended) Download the .dmg
How Paste into Terminal:
curl -fsSL https://raw.githubusercontent.com/0xTaoZ/onebrain-rooms/main/install.sh | bash
Download OneBrain_x.y.z_aarch64.dmg from Releases, open it, drag OneBrain into Applications
First launch Opens right away. If macOS blocks it, open System Settings → Privacy & Security and click Open Anyway. If it says the app is damaged: xattr -dr com.apple.quarantine /Applications/OneBrain.app
Step by step with screenshots: Read me first (also inside the DMG).
Needs A Mac with Apple Silicon (M1 or later) and at least one coding CLI you are signed in to: Claude Code, Codex or Gemini CLI Same

OneBrain runs the CLIs you already have, with your own subscriptions. It never sees your keys. The app shows up as OneBrain in Applications.

First chat: the welcome screen lists the agents it found on your Mac. Create a group (a chat group, or a project group tied to a code folder), then click one of the sample messages or write your own.

Compare workflows

Project Where it runs Claude + Codex File undo Git-backed team Markdown Read cursor per agent Reproducible token replay
OneBrain Rooms Local app ✅ ✅ ✅ ✅ ✅
Pachat Hosted chat ✅ — — — —
Octo Self-host option ◐ — — — —
OpenAgents Self-host option ✅ — — — —
AionUi Local app ✅ — — — —
PiBot Local app ✅ ✅ macOS — — —
LobeHub Self-host option ✅ — — — —
Claude Code Agent Teams Local CLI ✗ — — — —

✅ documented · ◐ documented at the runtime level · ✗ outside the documented product scope · — no comparable feature found in the linked docs.

“Claude + Codex” means both can join the same product workspace. “File undo” covers restoring files changed by an agent. The token benchmark is our fixed conversation replay.

The numbers

Cumulative input tokens at 10, 30, 60 and 100 turns. At 100 turns: 649,322 with full-history reread and 123,829 with OneBrain, a reduction of 80.9%; 22.8% versus the prompt-only baseline.

Fixed three-agent conversation with one mention per turn. Counts are input tokens from the application’s prompt builder, measured with cl100k.

Turns Prompt + history reread OneBrain Saved vs. rereading Saved vs. prompt only
10 20,369 13,349 34.5% 16.8%
30 90,014 37,594 58.2% 21.8%
60 268,112 73,399 72.6% 23.6%
100 649,322 123,829 80.9% 22.8%

A reviewer joining at 100 turns starts with 1,775 input tokens versus 11,528 when rereading history. These are benchmark measurements, not provider bills.

Method

A closer look

Work mode: the lead drafts a plan, you approve it, steps run and another vendor reviews them
Work mode · Describe the whole job. The lead plans who does what, Codex reviews, and you give the final OK.

Members panel with each agent's model, Codex quota and a six-month activity heatmap
Who is busy, on what model
Each member shows its model, the Codex quota left, and how often it ran in the last six months.
Team brain page: decisions, who wrote them, older versions and full-text search
The team brain
Every change shows which agent made it. Old versions restore in one click.

HD video: Work mode · Who is busy, on what model · The team brain

The team brain

Vendor memories stay with their vendor: what Claude learns, Codex never sees. OneBrain keeps one memory for the whole team in ~/OneBrain/brain, a folder that follows the AGENTS.md convention. It gets better the more you use it: every decision an agent writes down is there for the next agent, whichever vendor runs it.

  • Kept by the agents. They read the index, open only the files a task needs, and write down decisions, rules and handoffs as they work. Collecting memory costs no extra model call.
  • Every change is signed. The folder is a git repository. After each run the changes are committed with the agent as author, so each line traces back to an agent and a run.
  • You see what it costs. The Brain page shows how many tokens every agent spends reading it, who changed what, and older versions you can restore in one click.

How it works under the hood

  Claude Code     Codex      Gemini CLI        your own CLIs and subscriptions
       │            │            │
       └────────────┼────────────┘
                    ▼
     ┌─────────────────────────────┐
     │       OneBrain Rooms        │   one group chat on your Mac
     │  read cursor per agent      │   each agent gets only new messages
     │  git snapshot per run       │   every run can be undone
     └──────────────┬──────────────┘
                    ▼
     ~/OneBrain/brain  (Markdown + git)   one memory every vendor reads,
                                          each change signed by its agent
Mechanism What happens in the app
Incremental prompts The runner records a read cursor for each agent session. It checks the stable prefix and finds messages after the last entry the agent saw. A new member can start with a handoff assembled from stored data.
Team brain A git-tracked folder of Markdown. After each run the agent's changes are committed with the agent as author; the location reaches agents once per conversation, in the cached part of the prompt.
Git checkpoints The app can roll back files touched by a run. Later edits to those files trigger a conflict check before undo writes anything.
Scheduled chat tasks The scheduler claims a due job before posting through the normal group-chat path, where the same approval rules apply.

Why I built it

I use several coding agents on the same task. Most of what they cost went into reading the same history again and again, and getting a second opinion meant copying the request, the diff and the last answer from one terminal to another. OneBrain puts them in one chat, gives each one only what it has not seen, and keeps what the team decides in files the next agent can read.

Keeping the team's memory in plain files that agents edit themselves was inspired by Lauren Tan's brainmaxxing.

Build from source

Rust (Axum, SQLx, SQLite), React and TypeScript, Tauri.

pnpm install
pnpm run check
cargo test --workspace

Follow the project

Star OneBrain Rooms to follow its development, or tell us what happened in your first group on GitHub Issues.


Apache License 2.0. Built on OpenTeams (Apache-2.0); see NOTICE.

관련 프로젝트 살펴보기

불러오는 중…