cd /news/ai-agents/six-parallel-subagent-starts-one-slo… · home › topics › ai-agents › article
[ARTICLE · art-177536] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Six parallel subagent starts, one slot in Limitcast 0.20.10

Limitcast 0.20.10, released on GitHub and npm, fixes a race condition in its per-session subagent cap by making the guard check and reserve a slot atomically, counting requests as they are admitted rather than waiting for usage receipts. In tests sending six concurrent requests of the same subagent type into one session, the guard admitted one and held five across Claude Code, Codex and Grok event formats. The release requires Node.js 22 or later and a host guard hook installed via 'limitcast install --guard'.

key takeaway

Limitcast 0.20.10 makes its per-session subagent guard check-and-reserve atomically, admitting exactly one of six concurrent starts and holding the rest across Claude Code, Codex and Grok.

by read1 min views10 publishedNov 28, 2026

Limitcast 0.20.10 is now available on GitHub and npm. The question behind this test was simple. With a per-session cap of one, how many subagent starts get through when six requests arrive together?

The old race was between checking the count and reserving a slot. Several processes could read the same count before any of them reserved it. In 0.20.10, the guard checks and reserves a slot together. It counts requests as it admits them, without waiting for usage receipts.

We sent six synthetic requests of the same subagent type into one session, repeating the test with each host’s event format. Here are the decisions from the guard in the published npm package.

Claude Code   1 admitted, 5 held
Codex         1 admitted, 5 held
Grok          1 admitted, 5 held

This exercised the guard directly. A live session needs the host’s guard hook installed and active.

Use Node.js 22 or later. This example caps new Explore subagents at one per session.

npm install -g limitcast@0.20.10
limitcast install --guard
limitcast budget type explore 1

Restart your host to load the hook. In Codex, approve the hook when prompted. Run limitcast budget type explore to read back the saved setting.

When a start is held, would you rather see which earlier starts used your slots in the hold message, or look them up with a command afterward?

Read the Limitcast weekly update

This article was drafted with AI using verified release and test results.

── more in #ai-agents 4 stories · sorted by recency
── more on @limitcast 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/six-parallel-subagen…] indexed:0 read:1min 2026-11-28 · —