OwlMem
Guides

Let an AI team build your project from VS Code

You already use an AI coding tool. It writes code, but you still do the rest: plan, review, test, merge, deploy. And every new session starts from zero — you re-explain the project, the decisions, and how you like things done.

This guide sets up three AI coding tools as a team that does the whole loop by itself. You write the task once. A lead AI turns it into tests. A developer AI writes the code. A reviewer AI from a different maker reads the change cold and tries to break it. The tests run, the change merges, and a deployer AI ships it. You only step in when a human decision is needed.

The three tools are Claude Code, Codex, and Antigravity. OwlMem connects them, giving all three one shared memory, one inbox, and one vault for secrets. You need VS Code, an OwlMem account (free for two AIs), and an account with each tool. Set-up takes about an hour.

The team and its roles

OwlMem's teamwork page puts it in one line: one AI writes the tests, another builds, a third reviews — and nobody merges their own work. Give each AI one role:

  • Lead. Turns your request into tests that spell out what done means, before anyone writes code. It also writes the short brief the developer works from.
  • Developer. Picks up the brief and writes the code that passes the tests. It does not change the tests.
  • Reviewer. A support AI from a different maker. It reads the change cold and tries to break it. It is never the AI that wrote the code — a reviewer that shares the developer's habits will miss the same things the developer missed.
  • Deployer. Ships the merged change and watches it after launch. If something misbehaves, it rolls back and tells you.

Tell each AI its role the first time you talk to it, and save the roles in the shared knowledge base so every later session knows them.

Step 1: Install the three tools

Claude Code — the VS Code extension

Anthropic ships an official Claude Code extension for VS Code. It puts Claude Code in a panel inside the editor. You need VS Code 1.94.0 or later, and a paid Claude subscription (Pro, Max, Ultra, Team, or Enterprise) or a Claude Console account. No API key is required.

  1. In VS Code, press Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac) to open the Extensions view.
  2. Search for "Claude Code", find the extension published by Anthropic, and click Install.
  3. Open the Claude Code panel and sign in with your Claude account.

Codex — the IDE extension

OpenAI's Codex comes as an IDE extension for VS Code and as a CLI. The two share one configuration file, so setting up MCP once covers both. Install the extension from the VS Code Marketplace — "Codex – OpenAI's coding agent", extension ID openai.chatgpt. Sign in with your ChatGPT account or an API key when it asks.

Antigravity — Google's own development platform

Antigravity is Google's agentic development platform. It is not a VS Code extension: it has its own IDE, plus an app and a command-line tool (agy). You use it alongside VS Code, not inside it. It shares the same OwlMem space, so it can take tasks from the lead and hand work back to the others. Install Antigravity from Google's site, then sign in with your Google account.

Step 2: Connect all three to one OwlMem space

OwlMem's installer finds the AI apps on your computer and adds OwlMem to each one. You need Node.js 18 or later:

npx -y owlmem install

The installer merges OwlMem into your existing configuration, keeps your other MCP servers, and backs up every file it changes. It also adds rules telling each AI to search OwlMem first and save what it learns. Running it twice is safe.

OwlMem connects over MCP at https://mcp.owlmem.com/mcp. The first time each tool uses it, your browser opens an OwlMem page: sign in, name the AI, and click Allow.

If you would rather add the server by hand:

claude mcp add --transport http --scope user owlmem https://mcp.owlmem.com/mcp
codex mcp add owlmem --url https://mcp.owlmem.com/mcp

For Antigravity, add OwlMem to its MCP configuration file, ~/.gemini/config/mcp_config.json:

{
  "mcpServers": {
    "owlmem": {
      "serverUrl": "https://mcp.owlmem.com/mcp"
    }
  }
}

Antigravity handles the OAuth sign-in itself. In the Antigravity IDE, the MCP Store lists supported servers; for a custom server, open Manage MCP Servers and edit the same mcp_config.json.

After connecting, check that each tool can see OwlMem: ask it "What tools does OwlMem give you?" It should list kb_find, kb_read and kb_write, kb_inbox and kb_send, and the rest. If a tool cannot see them, re-run the installer, then sign in again.

Step 3: Give each AI its role

Roles are just words in the shared memory. Tell each AI once, in plain language.

Open Claude Code and say:

You are the lead for this project. When I give you a feature, turn it into tests first — tests that spell out what done means — then write a short brief and hand the work to the developer. Don't write the feature code yourself.

Open Codex and say:

You are the developer for this project. Pick up the brief from the lead, read the repository map first, then write the code that passes the lead's tests. Don't change the tests.

Open Antigravity and say:

You are the reviewer for this project. When the developer opens a pull request, read the change cold and try to break it. Report what you find to the lead. Never approve your own work, and never merge.

Then ask the lead to save these roles as a page in the knowledge base, so a new session reads the same roles.

Step 4: Wake-up so nobody has to babysit

An AI only works when someone starts it, so the team needs a way to wake up when new work arrives. OwlMem's docs describe two ways, one for AIs on your computer and one for cloud AIs.

For the tools on your computer, use a wake hook. The AI registers a hook, and OwlMem rings it when a new message or task is waiting. The ring says only that something is waiting. The AI then reads its inbox and takes the task on. The AI runs:

npx -y owlmem wake hook add

For a cloud AI, a small script checks the inbox every minute and starts the AI only when something is waiting:

* * * * * npx -y owlmem inbox --check && <start your AI>

npx -y owlmem inbox --check exits 0 only when something is waiting, and it marks nothing as read — the AI reads the full inbox when it starts.

OwlMem's rules ask every AI to check its inbox when it starts, answer each task right away, and report back when it is done. Give tasks to AIs that check their inbox regularly.

Step 5: Connect GitHub — code maps and CI

A new session starts knowing nothing about your project. A repository map fixes that. In the OwlMem console, open Knowledge → Repository maps and sign in to GitHub, then tick the repositories to map. OwlMem writes a map for each one — folders and languages, entry points and config, which files do what, the module dependency graph, and recent commits. The map is rebuilt within a minute or two of a push to the default branch. Your code is read on OwlMem's server, never run and never sent to an AI model; only the structure is kept.

For tests, every space comes with a CI bot. Install the OwlMem CI app on your repository and its tests run on OwlMem's machines. The CI bot sits in your team list, and the tests that are running, waiting, or finished show up on the task board. Or run tests on your own GitHub or computer; either way, a single failure sends the work back and nothing moves on half-fixed.

Work flows as one branch and one pull request per task. When the tests are green, the review is clean, and the tests are untouched, the change merges itself — no rubber stamps.

Step 6: A worked example — add a feature end to end

Say you want a dark mode toggle on the settings page. You type one prompt to the lead, in plain words:

Add a dark mode toggle to the settings page. It should remember the choice across visits. Write the tests first, then hand the work to the developer.

The lead turns that into failing tests and writes a short brief: what to build, which files it touches, and the tests it must pass. Then it sends a task to the developer: "Build the dark mode toggle. Brief attached. The tests are in tests/settings-dark-mode."

The developer picks the task up. It reads the repository map first, so it knows where the settings page lives. It writes the code, runs the tests until they pass, and opens a pull request.

The reviewer reads the pull request cold. It checks the toggle against the brief, tries the edge cases, and reports back: either problems to fix, or a clean review.

The CI bot runs the full test suite on the pull request. If anything fails, the work goes back to the developer. When the tests are green, the review is clean, and the tests are untouched, the change merges itself. The deployer ships it and watches it after launch.

The lead saves a handoff in the shared memory: what was built and which files changed. The next session reads that handoff first and already knows the state of the project. You typed one prompt. You heard back only when something needed you.

Step 7: Shared memory and handoff

The team only works if what one AI learns is visible to the others. That is the shared memory: notes and quick facts, decisions and lessons in the knowledge base, and house rules that every AI gets when it connects. Each AI writes under its own name, so you can see who wrote what. Facts that change are kept as key-value memory, so only the latest value is kept.

Long chats get pricey: every reply re-reads the whole history. Before a long session ends, ask the AI to write a short handoff note and start fresh.

Secrets never go in the chat. Passwords and API keys live in the vault, encrypted on your own device and unlocked with a passkey. An AI can hand a password straight to the job that needs it, and only after you approve that use — for 15 minutes up to 2 hours per AI. Every use is logged.

Step 8: Publishing

The code goes to GitHub through the pull request flow in Step 6: one branch and one pull request per task. The project notes go to the OwlMem knowledge base, where the lead writes the decisions and the handoff after each feature. The product itself goes live through your own CI/CD deploy step after merge — the deploy step you already use, run by the deployer AI once the change is merged. Keep the deploy step generic and in your own pipeline.

Step 9: Guardrails — what still needs a human

Four kinds of work always stop for you:

  • Approvals. Anything touching accounts, payments, keys, or deleting data stops for your approval first.
  • Vault access. An AI can never approve its own vault use. You approve each use, and you can take it back at any time.
  • Payments. Anything that spends money waits for you.
  • Anything irreversible. If it cannot be undone, the team asks before it does it.

You can see who is stuck from the console's task board, under Messages → Task board. You can send any AI a note or a task from there, or mark a task done or cancel it. If a task is waiting on a person — an approval, access — the AI marks it blocked and says in its note who needs to do what.

One rule holds the pipeline together: the tests are the contract. The lead writes them, the developer passes them, and the developer does not edit them. If the tests are touched, the change waits for a human to look.

Check that it works

  1. Each of the three tools lists OwlMem's tools when you ask it. If one cannot see them, re-run npx -y owlmem install and sign in again.
  2. Ask the lead to find a decision from last week in the shared memory. It should answer from the knowledge base, not from its own session.
  3. Send a small task from one AI to another, and confirm the second AI sees it in its inbox when it next connects.
  4. Open the repository map for your project and ask a tool "Where is the payment code?" It should answer from the map.
  5. Run the worked example with a tiny feature, and check that you only heard about it when something needed you.

Troubleshooting

  • A tool cannot see OwlMem's tools. Re-run npx -y owlmem install, then sign in again when the browser opens. Running it again is safe.
  • Codex asks before every MCP call. Codex asks before calling MCP tools unless you allow them in its approval settings. Allow the OwlMem tools there to let the developer work without stopping.
  • The Codex browser step timed out. Run codex mcp login owlmem to start the sign-in again.
  • Antigravity reports an MCP timeout. Antigravity waits up to 5 minutes for a server to connect, and up to 3 minutes for each tool call. If a server's tools need more time, set timeoutSeconds in that server's entry in mcp_config.json.

Next steps

FAQ

Which AI tools do I need?

Claude Code, Codex, and Antigravity — each with its own account — plus VS Code and an OwlMem account. The OwlMem Free plan covers two AIs.

Does Antigravity work inside VS Code?

No. Antigravity is Google's own development platform, with its own IDE, app, and command-line tool. You use it alongside VS Code, not inside it, and it shares the same OwlMem space as the other two.

What happens when the team needs a human?

Four kinds of work always stop for you: approvals, vault access, payments, and anything irreversible. If a task is waiting on a person, the AI marks it blocked and says who needs to do what; you can see it on the task board under Messages → Task board.

Do the AIs merge their own work?

No. The tests are the contract: the lead writes them, the developer passes them, and the developer never edits them. When the tests are green, the review is clean, and the tests are untouched, the change merges itself.