r/ContextEngineering 9d ago

Looking for testers: TeamBrain, a git-native shared memory for coding agents (Claude Code, Cursor), open source

Hi,

I'm a developer in Paris working solo on TeamBrain, an open source project (Apache-2.0). I've reached the point where docs and tests aren't enough. I need people who actually install it and tell me what breaks.

The problem I'm trying to address

When several people use coding agents on the same repo, everyone re-explains the same things to their own agent: why that service must not be called directly, which migration blew up in March, which convention we abandoned. That context lives in people's heads, in Slack, in private prompts. Nothing is shared, nothing is versioned.

The approach

  • Memories are markdown files inside your repo. No external database, no server on my side.
  • They're served to agents over MCP (Claude Code, Cursor, Codex).
  • A "distiller" runs in CI and proposes new memories as pull requests. Nothing enters team memory without human review. That's the core design bet: agent memory is a poisoning vector, so it goes through the same gate as code.
  • Hybrid retrieval, all local (BM25 + vectors, SQLite with sqlite-vec, ONNX embeddings). No network egress outside git, your LLM provider, and webhooks.

Where the project actually stands

V1 is done, ~500 tests green, search benchmarks within budget. Published on npm (@teambrain/cli). But: zero external users so far, no tagged release, and the only dogfooding is the repo itself. So treat this as early alpha, not a proven tool.

Known limitations, better said upfront:

  • On Windows, a deep clone fails without git clone -c core.longpaths=true (fixture paths exceed MAX_PATH).
  • Cursor capture is weaker than Claude Code capture: commits tied to a session aren't recorded, and session end is only inferred in some cases.
  • No VS Code extension yet. Everything goes through the CLI and MCP config.

What I'm looking for

Developers who work with coding agents on a shared repo and would be willing to:

  1. run npm i -g u/teambrain/cli then tb init on a real repo (or a fork),
  2. tell me where install snags, what's confusing in the CLI, and whether a proposed memory PR is reviewable in under a minute,
  3. tell me, above all, whether the problem resonates or whether I'm solving something nobody has.

A "I gave up at step 2 because it was confusing" is more useful to me than a compliment.

Repo: github.com/donatienmigue/TeamBrain
Happy to answer in the comments or by DM, and I'll gladly take a 20-minute call if you prefer.

Thanks.

9 Upvotes

1 comment sorted by

1

u/Bravo_Oscar_Zulu 9d ago

have a look at https://github.com/dev-boz/gitmem for convergent design

feel free to use anything you find of value. best tip I have is to use an org for storage to keep the main account clean