I spend my day across a MacBook, a couple of devpods and the odd SSH box, and I bounce between Claude Code, Cursor and Codex depending on the task.
On my laptop, Claude Code is great. It knows the repo uses pnpm, that the tests need the local database, that we write conventional commits, and that it should never touch .env files.
Then I open a devpod. It knows nothing. No rules, no project context, no skills. I re-explain the stack. Again. Switch to Cursor: same thing. A teammate clones the repo: same thing.
The memory and rules these agents rely on live on one disk: ~/.claude, a CLAUDE.md here, an AGENTS.md there. Every new machine and every other agent starts from zero.
So I built Carrybrain: one brain for every coding agent, on every machine.
What it carries
🧠 Memories
Your agents save facts as they work and recall them anywhere. Saved on the MacBook on Monday, recalled on the devpod on Thursday:
> how do I run the tests? ● recall("run tests") pnpm test needs the local db ● Start the db, then pnpm test. Recall is hybrid search (meaning + exact words), so identifiers and error messages are found too. Memories can expire, keep their earlier versions, and near-duplicates are merged.
🪄 Auto-capture
When a session ends, Carrybrain can pull the lasting facts out of the conversation and save them as private memories, so the lessons stick without anyone typing remember. Secrets are masked before anything leaves your machine. It's opt-in.
📏 Rules, layered
Rules come in four layers that merge into one set by key:
org secrets Never read .env files. 🔒 locked by an admin team testing Run vitest before pushing. repo testing pnpm test needs the local db. ← overrides team for this repo you commits Short commit subjects. The most specific layer wins, except company policy an admin has locked, which always wins. Every agent gets the same merged result, so Claude Code in a devpod and Cursor on your laptop follow the same conventions.
🧩 Skills
Write a how-to once (release steps, a review checklist, how to add an endpoint) and every agent can use it. Carrybrain tracks which skills actually get used, so you can see what's pulling its weight.
👥 Teams
Shared team memory, invites and roles, an audit log of who changed what, and keys you can make read-only or limit to one repo or team, handy for CI.
🔒 Secret masking
API keys, tokens, private keys and passwords become [redacted:...] before they are saved, in memories, rules and skills.
Connecting is one command (or one click)
Carrybrain speaks MCP, so any MCP client can use it. For Claude Code:
claude mcp add --transport http carrybrain https://app.carrybrain.org/mcp Claude Code opens your browser, you approve, and it's connected. No API key to copy. The same works for claude.ai custom connectors, Cursor and VS Code.
Or use the CLI, which also installs the Claude Code hooks (rules and recall injected at session start, auto-capture at session end):
npm i -g carrybrain carrybrain login # opens your browser carrybrain install claude The part I'm happiest with: carrybrain login works over SSH. It prints a link and a short code; you approve in the browser on your laptop, and the devpod is logged in. No port forwarding, no key in your clipboard.
Codex, Cursor and Gemini CLI: carrybrain install codex|cursor|gemini, or carrybrain install --all --yes.
For your own tools
There's a REST API plus TypeScript and Python SDKs, if you want your scripts or CI to read rules or save memories:
import { Carrybrain } from "carrybrain-sdk"; // reads CARRYBRAIN_URL and CARRYBRAIN_KEY from the environment const cb = new Carrybrain({ repo: "github.com/acme/api" }); const hits = await cb.memories.recall("how do we deploy to staging?", { limit: 5 }); Already have a CLAUDE.md or AGENTS.md full of rules? carrybrain import brings them in.
Try it
Carrybrain is at carrybrain.org: sign in with Google and connect your agent in a minute. The quick start walks through it.
I'd love to hear from you in the comments:
- What's the one thing you're tired of telling your agent every session?
- Where does it forget the most for you: new laptops, devpods, switching agents, or teammates' machines?
I'll read and reply to every comment. 🙌