If you code with AI on a $20 plan, you know the moment: the agent finally understands your codebase, you're halfway through a task, and then "You've hit your usage limit."
What usually happens next:
I got tired of that, so I built tagteam: a free, open-source CLI and MCP server that hands one coding task from one agent to the next without losing the thread.
A live run on one task: real Claude Code β real Codex β real Claude Code, through tagteam.
When a session ends (usage limit, crash, closed window), tagteam always saves a handoff:
Then it starts your next agent with that handoff as its first prompt.
npm i -g tagteam-ai
tagteam profile add claude
tagteam profile add deepseek --key # or any provider you already pay for
tagteam --auto-switch # on a usage limit, continue on the next profile by itself
You don't need a $200 plan. You need the tools you already have to work as a team.
A summary written against an old commit is worse than no summary, because the next agent trusts it. Every tagteam handoff is stamped with the git state (branch, HEAD, dirty files, a diff hash). If the code changed in between, the next agent is told "2 commits since this handoff touched billing.js, verify first" instead of acting on it blindly.
Telling an agent "don't touch this file" in a prompt is a suggestion. tagteam makes it a rule:
tagteam install claude
tagteam constraint "Don't change the payment gateway" --paths "src/payments/**"
In Claude Code, an Edit or Write to src/payments/** is now refused before it happens (a PreToolUse hook), and the agent is told which rule blocked it. Add --shared to commit the rule for your team, and the included GitHub Action fails pull requests that break it.
tagteam verify
runs your test command itself and compares the result with what the agent claimed in the handoff.
.env values, private keys) are redacted before anything is written to disk.
It works with Claude Code, Codex, Cursor and any MCP client, and it's listed in the official MCP Registry.
Try it: npm i -g tagteam-ai Β· GitHub
I'm the author, and I'd genuinely like to hear what annoyed you when you tried it. That feedback shapes what I build next. π