onebrain-rooms

agent
Guvenlik Denetimi
Basarisiz
Health Gecti
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Community trust — 52 GitHub stars
Code Basarisiz
  • rm -rf — Recursive force deletion command in assets/skills/artifacts-builder/scripts/bundle-artifact.sh
  • fs module — File system access in assets/skills/artifacts-builder/scripts/init-artifact.sh
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

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.

README.md

OneBrain app icon

OneBrain Rooms

One memory for all your coding agents — and automatic failover when a subscription hits its limit.
Claude Code, Codex, Gemini CLI, DeepSeek Harness and Antigravity work in one local Mac group chat.
When Claude runs out of quota, Codex or Gemini picks up mid-task — and already knows everything your team decided.
Each agent reads only what is new to it: 80.9% fewer input tokens on 100-turn threads, on the subscriptions you already pay for.

Download for Apple Silicon · Install · What's new in v0.2 · Compare · Token benchmark · Changelog

English · 简体中文 · Deutsch

Latest release macOS Apple Silicon Memory: brain-recall 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's new in v0.2

  • Cross-vendor quota auto-failover. Track live quota across providers via local CLI probes, streaming rate-limit detection and learned rolling windows. Set per-member fallback chains across vendor + exact model + thinking effort (trigger on limit or preemptively above a threshold). When one subscription stalls, the next agent takes over with the same shared memory intact.
  • Two-layer memory powered by brain-recall. Built on Raw-RAG: git-backed team Markdown rules (hot layer) paired with local SQLite FTS5 trigram raw evidence search (⌘K cold layer). Zero extra LLM rewrite calls, zero data leaving your machine, 16 built-in secret-redaction rules, and one-click history import from existing Claude Code, Codex and Gemini CLI sessions. On brain-recall's real-history benchmark (305 sessions + 130 memory files), two-layer recall answered 28 of 29 past-work questions in ~2,000 tokens versus 17 of 29 with built-in memory.
  • Precision models & expanded CLIs. Automatically discovers exact versioned Claude models (e.g. claude-opus-4-6, claude-sonnet-4-6), native DeepSeek Harness (dsh), and Antigravity CLI (agy), plus direct manual exact model ID input.
  • Inline diff review & parallel compare. Leave line-level annotations in the Diff tab and send them straight back to an agent to fix; compare @all replies side by side and adopt the best one; stay unblocked remotely with focus-aware macOS approval notifications and Tailscale WebSocket resume.

What you get

Team brain page showing a decision file, who wrote it and its token cost
Two-layer memory, every vendor
Git-versioned team rules + local SQLite FTS5 raw evidence search (brain-recall). Import your past sessions so new groups never start blank.
Input tokens over 100 turns: 649k when rereading history, 124k with OneBrain
80.9% 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
Every CLI, one thread — with failover
@ one agent, @all to compare answers side by side, or let quota auto-failover hand off seamlessly when a provider hits its limit.
Welcome screen listing the coding agents found on this Mac
Ready in a minute
Finds Claude Code, Codex, Gemini CLI, DeepSeek Harness, Antigravity and more on your Mac. 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 Homebrew Cask
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 Local formula included at Casks/onebrain.rb:
brew install --cask ./Casks/onebrain.rb
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).
Same macOS Gatekeeper notes apply on unsigned builds.
Needs A Mac with Apple Silicon (M1 or later) and at least one coding CLI you are signed in to (e.g. Claude Code, Codex, Gemini CLI, dsh, agy) Same 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), import your past sessions into the Brain if you want instant context, then click one of the sample messages or write your own.

Compare workflows

Project Where it runs Claude + Codex Cross-vendor quota failover Two-layer shared memory File undo Read cursor per agent Reproducible token replay
OneBrain Rooms Local app ✅ ✅ ✅ (brain-recall) ✅ ✅ ✅
Orca 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. “Cross-vendor quota failover” means automatically switching to another vendor/model chain when a subscription hits a limit while keeping shared context. “File undo” covers restoring files changed by an agent run. 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 · brain-recall recall benchmark

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 exact model, live quota left, failover chain and six-month activity heatmap.
Team brain page: decisions, who wrote them, older versions and full-text search
The two-layer team brain
Every rule change shows author provenance and staleness; raw session evidence searches locally in milliseconds.

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

The team brain (Two-Layer Raw-RAG)

Vendor memories stay with their vendor: what Claude learns, Codex never sees. OneBrain keeps one shared memory for the whole team with two layers, integrating our standalone open-source engine brain-recall:

  • Hot layer (~/OneBrain/brain, Markdown + git). Follows the AGENTS.md convention so every vendor CLI reads it directly. After each run, changes are committed with the agent as author, with provenance badges, staleness checks, and one-click version restore.
  • Cold evidence layer (local SQLite FTS5 trigram). Indexes verbatim past sessions and memory files on disk with zero LLM rewrite calls — press ⌘K anywhere to recall exact excerpts and insert them into the conversation.
  • No cold start, no secret leaks. Import existing Claude Code, Codex and Gemini CLI histories in one click; 16 built-in redaction rules scrub keys and tokens before writing.

How it works under the hood

  Claude Code    Codex    Gemini CLI    DeepSeek (dsh)    Antigravity (agy)
       │           │           │              │                   │
       └───────────┴───────────┼──────────────┴───────────────────┘
                               ▼
       ┌──────────────────────────────────────────────────────────┐
       │                     OneBrain Rooms                       │
       │  • incremental read cursor per agent (-80.9% tokens)     │
       │  • 3-tier quota engine + cross-vendor auto-failover      │
       │  • git checkpoint per run (safe conflict-checked undo)   │
       │  • inline diff annotations & side-by-side @all compare   │
       └───────────────────────────┬──────────────────────────────┘
                                   ▼
       ┌──────────────────────────────────────────────────────────┐
       │          Two-Layer Shared Memory (brain-recall)          │
       │  Hot:  ~/OneBrain/brain  (Markdown + git provenance)     │
       │  Cold: SQLite FTS5 trigram raw evidence + 16 redact rules│
       └──────────────────────────────────────────────────────────┘
Mechanism What happens in the app
Incremental prompts The runner records a read cursor for each agent session. It checks the stable prefix and sends only messages after the last entry the agent saw.
Quota & auto-failover 3-tier quota tracking combines CLI probes, live rate-limit signal classification and learned windows to switch to the next configured vendor/model/effort chain automatically.
Two-layer team brain Git-tracked Markdown rules paired with local FTS5 raw evidence recall, session history import and 16-rule secret redaction.
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, getting a second opinion meant copying diffs between terminals, and hitting a rate limit on one subscription stopped the work cold. OneBrain puts them in one chat, gives each one only what it has not seen, keeps what the team decides in a two-layer memory every vendor reads, and hands off automatically when a quota runs out.

Keeping the team's memory in plain files that agents edit themselves was inspired by Lauren Tan's brainmaxxing; the verbatim two-layer evidence recall follows Raw-RAG via brain-recall.

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, check out brain-recall for the standalone CLI/MCP memory engine, or tell us what happened in your first group on GitHub Issues.


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

Yorumlar (0)

Sonuc bulunamadi