Write the team. Your agents take the turns.

Turning is a small language for describing how a team of AI agents takes turns. A t() expression names a goal, sets a number of rounds, and lists the participants in order. You can give each participant a role and nest a team inside another team when part of the work needs its own conversation.

Read it as a plan

t("Improve the search page", 2,
  builder:implementer,
  critic:reviewer)
A team is a ring with its members in written order. Each trip around it is one round. The gold card is the handoff each turn leaves for the next agent.

This expression creates two distinct agents. The builder acts first, then the critic. They repeat that order for a second round, making four turns in total. Each agent returns to its own session, carrying its earlier context forward. If the harness cannot resume a session, the coordinator must say that it is reconstructing context from saved records.

Teams inside teams

Nested teams follow the same rules: members act from left to right, and their round counts multiply the turns within them.

t("Ship the change", 2,
  builder:implementer,
  t:review("Check the change",
    critic:correctness,
    critic:operations),
  builder:integrator)
review rounds
4 agents, 8 turns. Agent root/02/01 acts at turns 2 and 6. The review team keeps its back and forth in its own thread, a line per turn, and passes one summary out: the double card.

Run it with the skill

Turning makes the order, participants, and limits visible before execution starts. The downloadable Turning Teams skill teaches a compatible agent harness how to coordinate that plan using persistent sessions and tmux. It supplies instructions rather than a bundled compiler. Finishing the rounds is separate from proving that the goal was achieved.

curl -fsSL https://turning.work/install.sh | bash

Installs into ~/.claude/skills. Start a new session and run /turning-teams.

This installs turning-teams 0.4.1, under the Apache License 2.0. The script checks the zip’s sha256 and moves any earlier install to a backup first. You need tmux, Bash on Linux, macOS or WSL, and the agent CLIs you name, installed and signed in.