SuperAPIAI Directory

tagteam

github.com · AI coding

tagteam is a local command-line tool for seamlessly switching tasks between AI coding agents, preserving context through git-verified handoffs to avoid repeated explanations. It supports Claude Code, Codex, Gemini CLI, and other agents, and provides rule guards, drift detection, and automatic switching. It is free and open source (Apache-2.0).

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

tagteam is a local-first command-line tool designed to solve the problem of AI coding agents losing context during long tasks due to usage limits, crashes, or session endings. By saving brief, git-verified handoff files, it lets the next session or another agent continue from the exact next step without re-explaining the project.

Key capabilities include:

  • Handoff saving and loading: Every session end (usage limit, crash, window close, or manual trigger) saves a handoff containing the task, completed work, next actions, test status, and unchecked items. The next session loads it automatically.
  • Drift detection: The handoff records the branch, HEAD, and dirty files; when a new session starts, it compares them with the repository state and flags commits or edits since the handoff.
  • Rule guard: Through tagteam constraint add rules (such as prohibiting modifications to a certain path), block file edits and shell writes during the session (supported in Claude Code, Gemini CLI, and Antigravity), flag them in the handoff, and fail in CI.
  • Automatic switching: When an agent ends due to usage limits,--auto-switch can automatically start the next configuration in the chain.
  • Verification:tagteam verify rerun the test commands in the handoff and compare claimed with actual results.
  • Team collaboration:--shared rules are stored in the repository for use by the team and CI;tagteam share handoffs can be shared with teammates.

Usage: Install via Homebrew or Scoop (Node is installed automatically), then run in the repository tagteam install <agent> integration, after which use tagteam instead of launching the agent directly. Supports Claude Code, Codex, Gemini CLI, Antigravity, Cursor, OpenCode, Cline, and Aider.

Use cases: long AI coding sessions, multi-agent switching, team collaboration, and CI rule enforcement.

Limitations: early version (0.5); some features depend on agent hooks; rule guards cannot block scripts or python one-liners; the summarizer is the only network call and can be disabled with --no-summary to disable it. Data is stored locally, and keys are kept in the system keychain.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools