[00 // Team Agent] NEW Zero background daemons. Here is why it matters → Open sourceAGPL-3.0

Orchestrate autonomous AI coding agents in native terminals.

Coordinate Claude Code, OpenAI Codex and Pi into collaborative engineering teams. Zero background daemons, zero database locks, 100% native CLI.

$npx @team-agent/installer@latest install

Open source (AGPL-3.0) · macOS & Linux · uses the agent CLIs and subscriptions you already have

Console // ~/acme-apiReplay
Resident
0 MB
Supervisor
native · tmux
Database
none
Agents
3 / 3 ok
$ team-agent claude
  Claude Code started as the leader of this workspace

> Build a team for this repo: Codex implements the
  billing API, Pi writes the tests, and a second
  Claude reviews every change before merge.

  ✓ wrote .team/current/TEAM.md and 3 role files
  ✓ started 3 teammates in their own tmux panes

$ team-agent status
  name       provider   activity   health
  backend    codex      working    ok
  tests      pi         working    ok
  reviewer   claude     idle       ok

$ 
Illustrative session, output shortened. Each teammate runs in its own tmux pane.
0MB
idle footprint: no daemon, no resident process
0
databases to lock, corrupt or migrate
6
agent CLIs: Claude Code, Codex, Pi, Cursor, Grok, Kiro
1line
team-agent doctor output when everything is healthy
01The problem

One AI agent is fast. Several agents are usually chaos.

Running more than one coding agent on a project sounds like free parallelism. In practice it breaks down in the same few ways for everyone.

  1. P.01You become the message bus

    Copy, paste, repeat

    Claude designs, Codex implements, and you shuttle context between windows all day. The agents never talk to each other, so you do it for them.

  2. P.02Lost sessions

    Close the laptop, lose the team

    A closed terminal, an SSH drop or a reboot kills the agents and their context. Tomorrow you re-explain the whole project from scratch.

  3. P.03Heavy orchestrators

    Servers that hang and leak

    Many orchestration tools add an always-on server and a database queue. When it stalls or runs an old version, every agent stops, and memory stays allocated even when nobody is working.

02Why Team Agent

Built like infrastructure, used like a conversation.

You keep working in Claude Code, Codex or Pi exactly as before. Team Agent adds the missing layer: starting teammates, routing messages, and keeping everything alive and recoverable.

[01 // Multi-provider coexistence]

Claude Code, Codex and Pi in the same workspace

Pick the best model for each role: Claude for planning and review, Codex for fast implementation, Pi for any model catalog you have access to. Every teammate keeps its own provider, login and settings. No vendor lock-in, and you stack the subscriptions you already pay for.

[02 // Rock-solid session continuity]

Teams survive restarts, disconnects and resets

Every agent runs in tmux, so closing the terminal or losing SSH changes nothing. After a reboot, team-agent start brings the team back with each agent's conversation resumed. Need a clean slate for one teammate? Reset it while the rest keep working.

[03 // Stateless & lightweight]

0 MB idle. A CLI, not a daemon

There is no always-on server and no database. Each command does its job and exits. Messages live in small append-only inbox files you can read with tail. Stop the team and Team Agent leaves nothing running: no daemon, no memory, no open database.

[04 // Native terminal actuation]

Real CLIs, real terminals, no API wrappers

Team Agent types into each agent's own terminal (PTY) through tmux, the way you would. It runs the official binaries from your PATH with your configuration and wrappers. Your tools are not intercepted; agents simply gain three small tools to message teammates and report results.

03How it works

One leader you talk to. Teammates that do the work.

Everything runs on your machine, in processes you can see. There is no hidden service between you and your agents.

  1. 01Step 1

    Describe the team

    Say “build a team” to your leader, or write a short TEAM.md plus one file per role with its provider and instructions.

  2. 02Step 2

    Agents work in parallel

    Each teammate starts in its own pane. Messages are saved to the recipient's inbox first, then typed into its terminal, so nothing is lost if an agent is busy.

  3. 03Step 3

    Results come back to you

    Teammates report results to the leader, which summarizes and only asks you when a real decision is needed. Stop for the day; resume tomorrow.

Fig. 01 — System schematicLocal machine · no hidden services
You
Your conversationtalk to the leader in plain language
Optional CLIteam-agent status · send · inbox · doctor
Any terminalattach to any pane to watch or step in
Team Agent CLI (runs only when called)
Launchstart each agent CLI in its own tmux pane
Inboxappend-only message file per recipient
Delivertype into the right terminal, safely
Recoverresume saved sessions after restarts
Diagnose6-step health check, one line when OK
Teammates (your official CLIs, in tmux)
Leaderclaude
backendcodex
frontendcodex
testspi
reviewerclaude
Team Agent: short-lived CLI commands, no resident processYour processes: tmux and the agent CLIs you already use
04Supported agent CLIs

Bring the agents you already use.

Mix providers freely. The leader and every teammate choose their own CLI, model and permission settings.

Claude CodeAnthropic · leader or teammate
Codex CLIOpenAI · leader or teammate
Pimulti-model coding agent
CursorCursor agent CLI
GrokxAI Grok Build
KiroKiro CLI

Third-party and self-hosted models (for example DeepSeek through an Anthropic-compatible endpoint) can be attached with a local profile. Keys stay in local files and never enter prompts.

05See it run

One request, a whole team at work.

Short walkthroughs of real team runs.

06Quick start

Three steps. Then just talk.

Requirements: macOS or Linux (WSL works), Node.js 18+, tmux, and at least one agent CLI installed and signed in.

01Install

Install the CLI

One command installs the team-agent binary for your platform.

$npx @team-agent/installer@latest install
02Launch

Start your leader

Use team-agent claude instead of claude. Works the same with codex or pi.

$team-agent claude
03Ask

Ask for a team

Describe the roles in plain language. The leader writes the team files, starts everyone and reports back.

>Build a team: Codex implements, Claude reviews.
team-agent statusteam-agent send backend "…"team-agent inbox leader -n 3team-agent doctorteam-agent stopteam-agent start · resume tomorrow
07Compare

Team Agent vs. the usual ways to use several agents

The honest alternatives are a single agent with built-in subagents, or several terminals you coordinate yourself.

CapabilityBuilt-in subagentsTerminals by handTeam Agent
Mix Claude Code, Codex and PiNo, one providerYes, manuallyYes, per role
Agents message each otherReport to parent onlyNo, you relay everythingDirectly, plus results to the leader
Teammates persist across daysUsually one-shotUntil you close the windowYes, resume with context
Survives terminal close or rebootNoNoYes (tmux + session resume)
Background service requiredNoneNoneNone, 0 MB idle
Uses your existing subscriptionsYesYesYes, several at once
09FAQ

Frequently asked questions

What is Team Agent?

Team Agent is an open-source command-line tool that turns terminal AI coding agents such as Claude Code, OpenAI Codex and Pi into one collaborating team. You talk to a single leader agent; it starts teammates in their own tmux panes, sends them tasks, and collects their results. Teammates can message each other directly and keep their memory between sessions.

How do I run Claude Code and OpenAI Codex together?

Install Team Agent with npx @team-agent/installer@latest install, start Claude Code as the leader with team-agent claude, and ask it to build a team, for example: a Codex teammate that implements and a Claude teammate that reviews. Team Agent launches each CLI in its own tmux pane with your existing logins and routes messages between them. Read the full guide →

Does Team Agent run a background server or daemon?

No. Team Agent is a plain CLI with no background server. Each command does its work and exits. The only Team Agent processes you will see are attached to agents you are running (your leader's launcher and a small messaging helper per agent), and each exits with its agent. Close your agents and, with nothing scheduled, nothing remains: a 0 MB idle footprint. Scheduled reminders use a short-lived process supervised by the operating system (launchd on macOS) that exits when the schedule is empty. Why we built it this way →

What happens if I close the terminal or restart my machine?

Closing the terminal does not stop the team, because every agent runs inside tmux. After a machine restart, team-agent start brings the team back and resumes each agent's saved conversation where the agent CLI supports it, so teammates continue with their previous context.

Do I need API keys?

No. Team Agent runs the official agent CLIs you already use, signed in with your existing subscriptions or accounts. If you prefer API access or a third-party model, you can attach a local profile with its own endpoint and key; keys stay in local files and never enter prompts.

How is Team Agent different from Claude Code subagents?

Built-in subagents run inside one session, report only to their parent and are usually gone when the task ends. Team Agent teammates are persistent processes with their own conversation history; they can use different providers, message each other directly, and are still there tomorrow.

Which operating systems are supported?

macOS (Apple Silicon and Intel) and Linux x64, including Windows through WSL. You need Node.js 18 or later, tmux, and at least one supported agent CLI.

Is Team Agent free?

Yes. Team Agent is open source under the AGPL-3.0-or-later license. You only pay for the agent subscriptions or API usage you already have. Commercial licensing is available on request.

Ready when you are

Turn your terminal into an engineering team.

Install once, keep using the agents you know, and let them work together.

$npx @team-agent/installer@latest install
Star on GitHub