HiveMind: OS-Inspired Scheduling for Concurrent LLM Agent Workloads
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
When multiple LLM coding agents share a rate-limited API endpoint, they exhibit resource contention patterns analogous to unscheduled OS processes competing for CPU, memory, and I/O. In a motivating incident, 3 of 11 parallel agents died from connection resets and HTTP 502 errors - a 27% failure rate - despite the API having sufficient aggregate capacity to serve all 11 sequentially. We present HIVEMIND, a transparent HTTP proxy that applies five OS-inspired scheduling primitives - admission control, rate-limit tracking, AIMD backpressure with circuit breaking, token budget management, and priority queuing - to eliminate the failure modes caused by uncoordinated parallel execution. The proxy requires zero modifications to existing agent code and supports Anthropic, OpenAI, and local model APIs via auto-detected provider profiles. Our evaluation across seven scenarios (5-50 concurrent agents) shows that uncoordinated agents fail at 72-100% rates under contention, while HIVEMIND reduces failures to 0-18% and eliminates 48-100% of wasted compute. An ablation study reveals that transparent retry - not admission control - is the single most critical primitive, but the primitives are most effective in combination. Real-world validation against Ollama confirms that HIVEMIND adds under 3ms of proxy overhead per request. The system is open-source under the MIT license.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 3 of its 24 references that are in the map. First posted on arXiv 18 Apr 2026.
Builds on
3 of 24 references.
Closest ancestors · 2
Same direction, newest first
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation16 Aug
Other references · 1
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Pythia: Exploiting Workflow Predictability for Efficient Agent-Native LLM Serving
- 2026TokenDance: Scaling Multi-Agent LLM Serving via Collective KV Cache Sharing
- 2026MemMux: Runtime Verification and Honest Resource Attribution for Fleets of Parallel Coding Agents
- 2025Astraea: A State-Aware Scheduling Engine for LLM-Powered Agents
- 2026AgentCgroup: Understanding and Controlling OS Resources of AI Agents
- 2025Gradientsys: A Multi-Agent LLM Scheduler with ReAct Orchestration
- 2026Hive: A Multi-Agent Infrastructure for Algorithm- and Task-Level Scaling
- 2026PeakBench: Benchmarking Resource-Aware Tool Invocation in LLM Agents