TL;DR
When multiple AI agents collaborate on a complex project, they inevitably fight over shared tools—like a single GPU test environment. Instead of making them wait in a blind, first-come-first-served queue, this paper gives each agent a budget of internal credits to bid on resources based on how urgently their piece of the puzzle is needed. It’s an elegant collision of 1940s economic theory and modern AI orchestration that finishes complex tasks faster while slashing scheduling overhead.
What Problem Does This Paper Address?
Picture a team of LLM agents—a coder, a tester, and a checker—working together to build software. Collaboration is great until two agents need the exact same GPU test environment at the exact same time.
Standard runtime schedulers act like rigid traffic cops, relying on surface-level metrics like arrival time (First-Come, First-Served) or estimated job length (Shortest Job First). What they cannot see is the actual value of a request to the overarching goal. One agent might need a routine 5-minute sanity check, while another needs a 5-minute critical-path validation that is currently blocking three other teammates from moving forward.
Because that urgency lives deep inside each agent's local execution state (retry counts, failed tests, downstream dependencies), a central scheduler struggles to gather and compute it all in real time. How do you get agents to honestly and efficiently communicate how badly they need a resource right now?
Methods
Drawing inspiration from Friedrich Hayek’s classic economic idea that prices compress distributed, local knowledge into simple signals, the authors introduce Market: a two-stage auction protocol for runtime resource access. Crucially, the orchestration layer still handles standard workflows and role assignments; the market strictly arbitrates resource bottlenecks.
- Stage 1: Demand Elicitation. Every agent starts with an identical budget of internal credits (distinct from LLM token budgets). When an agent hits a step requiring a shared resource, it looks at a compact summary of its local context—subtask goal, retry count, downstream blocked steps, remaining budget, and recent clearing prices—and uses constrained prompting to output a structured JSON bid. Because budgets are finite, splurging now weakens an agent's purchasing power later.
- Stage 2: Optimal-Stopping Online Clearing. Agents don't submit bids synchronously on a neat timer. If the auctioneer clears the very first bid immediately, it might lock out a critically urgent bid arriving milliseconds later; if it waits too long, everyone sits idle. When contention occurs, the controller opens a candidate window and uses an optimal-stopping rule—weighing the immediate value of current bids against the expected value of predicted upcoming arrivals, minus the delay cost of making current bidders wait. Once the window closes, winners are chosen via a first-price sealed-bid auction (highest bidders win and pay their bid), granted temporary exclusive access, and tracked until release.
Datasets
No training datasets are used, as the protocol operates at inference runtime. The authors evaluate their system across three contention scenarios built on existing software-engineering benchmarks:
- S1 (Homogeneous contention): Uses Commit0-lite, creating uniform competition for validation resources.
- S2 (Heterogeneous contention): Adapts tasks from PaperBench Code-Dev (a lightweight code-development variant of PaperBench) to trigger mixed contention across both GPU and CPU slots.
- S3 (Dependent contention): Organizes the same PaperBench Code-Dev tasks into dependent task graphs, ensuring that critical-path delays actively ripple downstream.
Key Insights and Ideas
- Agents naturally learn to price their own urgency: Without sharing full conversation histories globally, LLM agents produce bids that strongly track post-hoc task criticality (Spearman rank correlations of 0.72 to 0.88). High-criticality agents spend aggressively, while routine-check agents conserve their credits.
- Features aren't enough—skin in the game matters: What if a central LLM just read those same local features and assigned priority scores without budgets? When tested, centralized scorers still trailed Market in completion speed and suffered higher access inequality (Gini of 0.25 vs. Market's 0.19). Tying current urgency to future budget depletion prevents any single agent from hogging the system.
- Markets beat micromanagement on overhead: Compared to a centralized value-aware scheduler equipped with cross-round debt tracking, decentralizing valuation into simple bids cuts allocator decision time by 49.0% and message volume by 85.3%.
Key Results
Tested in a controlled 6-agent runtime sharing 2 GPU environments and 3 CPU slots:
- Faster overall completion (Makespan): Market reduces total wall-clock completion time by 5.2% (S1), 2.5% (S2), and 4.9% (S3) compared to the strongest traditional scheduling baselines in each scenario.
- Better under pressure: As resource contention scales up (more agents per resource slot, ratio $\kappa = 4.0$), Market's advantage widens—cutting makespan by 15.7% over Shortest Job First and 48.1% over First-Come, First-Served.
- Task quality: Market improves normalized task scores (unit-test pass rates and replication rubrics) by roughly 2 percentage points across all scenarios.
Limitations and Future Work
The authors are admirably candid about the boundaries of their setup:
- Cooperative assumptions: The agents here are prompted to be helpful teammates. The mechanism does not prove formal game-theoretic truthfulness, and because zero-bids are allowed with no positive reserve price, there is no hard mathematical guarantee preventing an agent from winning endlessly in edge cases.
- Static budgets & controlled scale: Budgets are fixed and never replenish during an episode, and experiments were run on controlled 6-agent workloads with a compact state interface.
- Future directions: Next steps include dynamic budget recalibration, exploring learned or strategic bidding (where agents might try to game the auction), scaling to much larger agent populations, testing diverse LLM backbones, and deploying into live production systems.
Summary updated