Skip to main content

Alternatives

Most ways of running several agents at once solve a different problem from turnstile's. Worktrees keep agents out of each other's files. Containers keep a mistake inside a box. Cloud agents move the work off your Mac. Job flags cap one tool. All of them are useful, and nearly all of them compose with turnstile rather than replace it.

ApproachWhat it controlsScope
Worktrees and orchestratorsWhich files an agent can touchPer agent
Containers and VMsWhat an agent can reach, and its ceilingPer container
Cloud agentsWhose machine the work runs onPer session
Shell toolsHow many wrapped commands run at oncePer command you remember to wrap
Build tool limitsOne tool's internal parallelismPer invocation
turnstileWhat starts on the machine, and whenEvery shell, repo, and agent

The gap they share​

Each of these draws its boundary around one agent, one container, or one tool. None of them has a view of the machine.

Three agents, each politely capped at four compile jobs, is twelve compile jobs. Three test runners, each sizing its worker pool from your core count, each believe they have the machine to themselves. Nothing in that picture is misconfigured, and the Mac still swaps.

turnstile draws the boundary around the machine instead. A swift test in one worktree knows about the npm run build in another, because both went through the same gate.

When you don't need turnstile​

  • One or two agents. A modern Mac absorbs that. Come back when you're running four.
  • Far more RAM than your builds need. If your heaviest concurrent load still leaves headroom, gating buys you nothing.
  • Everything heavy runs in the cloud. See cloud agents.
  • One repo, one heavy command. A sem alias is less software to install. See shell tools.

What turnstile adds​

It also has real limits, and they're worth reading before you decide.