betaFeedback

WorksComputer Science

Decentralized LLM Workflows via Sequential Auctions

Abstract

We present a scalable framework for solving multi-step tasks through a decentralized market of self-interested agents. Prior theoretical work demonstrated that agents organized through sequential auctions can converge to a globally optimal policy in a Markov decision process (MDP), but relied on the restrictive assumption of the existence of perfect clones as a model of perfect competition. In reality, exact clones drive agent profit to zero, violating the natural risk-reward incentives of participants. Conversely, we empirically demonstrate that the opposite extreme, absence of competition, also leads to market failure and value extraction collapse. Between these two extremes, we investigate how heterogeneous agents can survive in markets that span the critical middle ground of imperfect competition. To be profitable, agents learn to strategically shade bids to secure positive individual profit margins, while still ensuring that the marketplace functions effectively enough so that collaborative tasks posed by market consumers can still be solved. We formulate and evaluate four bidding algorithms (Mirror Descent, Thompson Sampling, Bayes-Optimal, and PPO) across three auction protocols (1st-Price, 2nd-Price, and Credit-Conserving Vickrey). Across a diverse set of domains, we demonstrate that imperfect competition successfully sustains necessary agent profit margins while maintaining high task success rates at low costs.

Introduction

Modern AI systems increasingly face tasks that require composing multiple specialized capabilities—dynamically routing queries across varying LLM sizes to optimize inference costs, gathering and synthesizing evidence from disparate sources, or dispatching subtasks to external tools. The dominant paradigm centralizes this composition in a single controller (an “orchestrator” LLM or a fixed computation graph), which must explicitly plan the sequence of operations and assign credit to each component [12, 19].

An alternative, inspired by economic theory, is to let a society of specialized agents coordinate through a market mechanism. To solve temporal credit assignment across multi-step trajectories without hierarchical oversight, we draw on the foundational Bucket Brigade principle [4, 11]: each agent purchases the current task state from the preceding agent in an auction, transforms the state, and resells the updated state to the next downstream agent. Terminal task rewards earned at completion naturally propagate backward through the chain of resale prices, rewarding upstream contributors proportionally to their marginal value added.

To ground this decentralized economy in a reinforcement learning framework, we build on the work of Chang et al. [6]. They proved that a Vickrey (second-price) auction perfectly aligns each agent’s locally optimal bidding strategy with the globally optimal MDP policy. However, translating this theoretical breakthrough to real-world AI societies reveals a critical gap: their optimal equilibrium relies on the restrictive assumption of perfect competition via artificially cloned agents.

In practice, this perfect-clone assumption breaks down due to two fundamental economic realities. First is a participation barrier: with exact clones, the expected highest and second-highest bids are identical. The winning agent pays exactly their true valuation, driving their net profit to strictly zero. Because participating in a market carries inherent risk, agents will simply sit out rather than opt in to risk their resources for a net-zero expected return. Second is the anti-cloning incentive: perfect competition will not naturally arise because no rational actor will clone their own agent (which cannibalizes their own profit margin), and participants will actively protect their models’ intellectual property from being copied by competitors.

If perfect clones are theoretically unprofitable and strategically irrational, does the market collapse? We first demonstrate that the opposite extreme—absence of competition (a monopsony at any step in the task chain)—does indeed cause the market to fail. When an agent is the sole eligible buyer for a given state, they act as a monopsonist, bidding the absolute minimum required to win. Without competitive pressure, the clearing price collapses, and downstream value is not efficiently extracted and passed upstream. This breaks the sequential credit assignment required to sustain a multi-step pipeline, as upstream agents are starved of the revenue needed to offset their own inference costs.

To bridge this gap, we adapt the framework of Chang et al. [6] to societies of Large Language Models (LLMs), formulating a decentralized, sequential forward auction mechanism tailored to the operational realities of modern LLM pipelines. In doing so, we shift the theoretical focus to the critical, realistic middle ground: imperfect competition. We model societies populated by LLM agents that occupy similar capability niches but are differentiated by heterogeneous inference costs, prompt engineering, and localized heuristics. Because off-the-shelf language models are notoriously miscalibrated judges of their own success probabilities and token costs (Fradkin and Krishnan [9]), agents cannot rely on zero-shot prompting to evaluate states. Instead, each agent learns a lightweight neural valuation policy via reinforcement learning to navigate the tradeoff between winning the right to act and shading their bids to secure a positive profit margin.

In this paper, we present a comprehensive empirical study of decentralized LLM routing under imperfect competition. Our core contributions include:

  1. Decentralized LLM Markets and Imperfect Competition: We introduce an architectural and algorithmic framework for sequential auction MDPs in LLM societies, demonstrating experimentally that imperfect competition is sufficient to sustain positive profit margins and enable viable multi-agent pipelines under traditional auction mechanisms.

  2. Monopsony Failure Validation: We reveal empirically through a targeted synthetic domain that absence of competition collapses the market, establishing imperfect competition as a viable operational regime under traditional auction mechanisms.

  3. Algorithmic Bidding Strategies: We formulate and benchmark four bidding algorithms—Mirror Descent, Thompson Sampling, Bayes-Optimal, and PPO—demonstrating how individual agents can efficiently learn optimal pricing and bid-shading policies.

  4. Extensive Benchmarking: We deploy our framework across diverse LLM domains (including a math reasoning task and newly-constructed synthetic news market). Through market density sweeps across 1st-Price, 2nd-Price, and Credit-Conserving Vickrey (CCV) auctions (Figure 1b&Figure 3), we show that imperfect competition is sufficient to sustain positive agent profits while simultaneously achieving higher task success rates (accuracy) than centralized orchestration baselines.

Translation Domain Validation

Figure 1. Translation Domain Validation: (a) The task graph showing inference costs (black) and learned Vickrey bids (blue, italic; mean ± std dev). Downstream bids reflect task sampling probabilities (e.g., En→Ja expects 0.48 because Task 1 is sampled 2/3 of the time). The upstream Sp→En bid (0.88) accurately approximates the downstream expected value minus local costs (0.48 + 0.38 − 0.01 = 0.85). (b) Success rate increases and stabilizes across all auctions under increasing market density. Competitors are differentiated by cost c=cb(1+t)c = c_b(1 + t) with t∼U(−0.5,0.5)t \sim U(-0.5, 0.5) and base costs cbc_b listed in the graph. Curves are means over 3 independent trials and shaded regions span ±1 standard deviation; both are computed on a trailing 101-episode rolling average.

Figure 3. Translation Domain Scaling (N=4N = 4). When the market density is increased to 4 competitors per edge, competitive pressure is sufficiently high that even the Thompson Sampling (TS) and Bayes-Optimal baselines are able to successfully discover profitable shading margins and sustain the market. This contrasts with the N=2N = 2 regime shown in the main text (Figure 1b, right panel), where only PPO and Mirror Descent exhibited the robustness required to stabilize the supply chain.

Background

Background

To formalize the decentralized ecosystem just described, we model the multi-agent task pipeline as a sequential auction, in line with previous work [6]. In this framework, self-interested agents bid for the right to progressively transform an initial state s0s_0 into a terminal solution sTs_T. Below, we define the underlying market MDP, the local profit incentives of the agents, and the idealized theoretical clearing rules that enable optimal credit assignment.

The Sequential Spot Market MDP

We model decentralized task routing as a finite horizon (TT) sequential Markov Decision Process (MDP) defined by the tuple (S,A,P,R,γ)(\mathcal{S}, \mathcal{A}, \mathcal{P}, R, \gamma). Rather than relying on a centralized policy π(a∣s)\pi(a|s) to select actions, the action space A\mathcal{A} is defined by a society of independent agents. For intuition, consider a gridworld: instead of a single controller choosing to move up or down, specialized “Up” and “Down” agents compete in an auction for the right to act on the current state sts_t.

At each step tt, a registry of agents evaluates sts_t to determine their eligibility. Eligible agents submit bids, and the highest bidder wins the right to process the state. The state transition is defined by the winning agent ii’s localized action ata_t, which generates the next state st+1s_{t+1} and yields an environmental reward r(st,at)r(s_t, a_t). The process is repeated until a final state sTs_T is reached. Social welfare is defined as the sum of discounted rewards.

Agents optimize for their individual net utility, or profit, over the course of a transaction. For an agent winning the auction at step tt, the profit Ui,tU_{i,t} is defined as the sum of the environmental reward and the net flow of capital:

Ui,t=r(st,at)+Pin(t)−Pout(t)(1)U_{i,t} = r(s_t, a_t) + P_{\mathrm{in}}^{(t)} - P_{\mathrm{out}}^{(t)} \tag*{(1)}

where Pout(t)P_{\mathrm{out}}^{(t)} is the clearing price the agent pays to acquire sts_t, and Pin(t)P_{\mathrm{in}}^{(t)} is the revenue the agent receives when they subsequently auction the transformed state st+1s_{t+1} to the next downstream agent.

Auction Mechanisms and Credit Assignment

The rules governing the clearing price Pout(t)P_{\mathrm{out}}^{(t)} and the subsequent revenue Pin(t)P_{\mathrm{in}}^{(t)} depend strictly on the chosen auction mechanism. Chang et al. [6] established a foundational bridge between reinforcement learning and mechanism design by demonstrating that under a Vickrey (second-price) auction, the globally optimal MDP policy constitutes a Nash equilibrium for myopic agents maximizing their local transaction profit. Their result relies on two distinct theoretical properties:

  1. Truthful Bidding via Myopia: Assuming agents are myopic and optimize strictly for the immediate transaction, the Vickrey auction guarantees that bidding one’s true valuation (bi=vib_i = v_i) is a weakly dominant strategy. Thus, an agent’s bid reveals its true estimated action-value, Qi(st)Q_i(s_t).

  2. Perfect Credit Conservation via Clones: To ensure the market clears at the optimal state-value without requiring external platform subsidies, Chang et al. [6] in their Section 5.4 build on the assumption that the market is populated with exact clones of every agent. With perfect competition via exact clones, the highest and second-highest bids are identical (b(1)=b(2)b_{(1)} = b_{(2)}). Because the Vickrey auction charges the second-highest bid, the market clearing price exactly extracts the maximum Q-value: Pout(t)=max⁡iQi(st)=V∗(st)P_{\mathrm{out}}^{(t)} = \max_i Q_i(s_t) = V^*(s_t).

When the clearing price perfectly tracks V∗(st)V^*(s_t), the revenue passed upstream acts as an exact Bellman backup. Specifically, if the downstream auction at step t+1t+1 clears at V∗(st+1)V^*(s_{t+1}), the upstream agent receives Pin(t)=γV∗(st+1)P_{\mathrm{in}}^{(t)} = \gamma V^{*}(s_{t+1}).1 By maximizing their local profit Ui,tU_{i,t}, agents naturally align their economic incentives with the global MDP objective, recursively propagating credit back to the initial state. However, this theoretical alignment guarantee unravels if either of the above assumptions is unmet. Hence, we aim to study the robustness of a heterogeneous LLM market MDP empirically.

Decentralized LLM Markets and Imperfect Competition

Applying the market MDP to LLM societies requires formalizing inference costs within the reward structure and relaxing the idealized assumption of perfect competition made in previous work.

LLM Transformations and Inference Costs

In an LLM society, the state sts_t represents the current task context, comprising the text or structured payload (e.g., a natural language query, an intermediate translation, or a JSON object containing accumulated evidence). The action space corresponds to an agent’s localized LLM invocation, transforming the payload to generate st+1s_{t+1}.

Crucially, taking this action incurs a local inference cost ci,tc_{i,t} for the agent (e.g., API token costs). We formalize this by defining the environmental reward during intermediate steps as strictly negative: r(st,at)=−ci,tr(s_t, a_t) = -c_{i,t}. If the agent’s action at step T−1T - 1 successfully resolves the task and transitions the environment to a terminal state sTs_T, the reward r(sT−1,aT−1)r(s_{T-1}, a_{T-1}) incorporates both the negative inference cost and the positive terminal reward provided by the evaluator. Because the task is complete, no subsequent auction occurs, yielding Pin(T−1)=0P_{\mathrm{in}}^{(T-1)} = 0.

The Participation Barrier and the Clone Assumption

We now address the problem of cloning agents in a market MDP. Under the assumption of perfect clones, the equilibrium clearing price exactly equals the winner’s true valuation (Pout(t)=b(2)=viP_{\mathrm{out}}^{(t)} = b_{(2)} = v_i), hence the winner’s expected utility is strictly zero (E[Ui,t]=0\mathbb{E}[U_{i,t}] = 0). An agent maximizing expected profit has no strict incentive to opt into the market, since abstention already achieves zero profit.

Furthermore, no rational agent would choose to clone themselves, as doing so strictly cannibalizes their profit margin. Conversely, participants will actively protect their models from being copied by competitors. Consequently, real LLM spot markets are bounded to operate under imperfect competition, where b(1)>b(2)b_{(1)} > b_{(2)}. It is precisely this structural gap that allows the winner to secure a positive profit margin (Ui,t>0U_{i,t} > 0), overcoming the participation barrier.

Defining Agent Heterogeneity

To operationalize the regime of imperfect competition, we define how agents differ within the market. In our framework, all agents participate in a unified market and can theoretically bid on any state; however, they act as imperfect substitutes, organically specializing based on their localized capabilities. We parameterize this heterogeneity across two primary axes:

  1. Inference Cost (ci,tc_{i,t}): Agents use different LLMs. For example, an agent backed by a <1B parameter LLM incurs a much lower base inference cost than one backed by a >100B parameter LLM, allowing it to bid competitively on lower-margin tasks.

  1. Transition Reliability: Agents are differentiated by distinct prompt engineering techniques, identity embeddings, and asymmetric data access (e.g., access to different document corpora). These differences cause their state transitions (st→st+1s_t \to s_{t+1}) to vary in quality and relevance. A more capable agent is more likely to generate a state that attracts high downstream bids, thereby raising its expected future revenue.

Because of these variances, even among agents attempting to fulfill the exact same role in a task, true valuations naturally diverge (v1≠v2v_1 \ne v_2). This structural gap allows the most efficient agent to shade its bid below its own true valuation while still outbidding the rest of the market, thereby securing a positive profit margin and incentivizing participation in the market.

Auction Mechanisms under Imperfect Competition

We study heterogeneous markets under the same three auctions discussed in [6]:

  • 2nd-Price (Vickrey): The downstream buyer pays b(2)b_{(2)}, but the upstream seller receives b(1)b_{(1)}. The marketplace platform must act as a market maker, subsidizing the deficit (b(1)−b(2)b_{(1)} - b_{(2)}).

  • Credit-Conserving Vickrey (CCV): The buyer pays b(2)b_{(2)}, and the upstream seller receives b(2)b_{(2)}. This avoids subsidies, but fails to pass the full winning valuation upstream when b(1)>b(2)b_{(1)} > b_{(2)}.

  • 1st-Price (Bucket Brigade): The winner pays their exact bid (Pout(t)=b(1)(t)P_{\mathrm{out}}^{(t)} = b_{(1)}^{(t)}), and the seller receives the highest downstream bid (Pin(t)=γb(1)(t+1)P_{\mathrm{in}}^{(t)} = \gamma b_{(1)}^{(t+1)}). Credit conservation is structurally maintained without external subsidies. However, to secure a profit, agents must learn to strategically shade their bids below their true valuations.

Because standard Vickrey auctions require subsidies and CCV passes minimal value to upstream agents, we prioritize the simpler 1st-Price auction; we justify this choice in § 7.1.

Strategic Bidding in 1st-Price LLM Markets

In a 1st-price auction, an agent must bid strategically to balance win probability against profit margin. To maximize expected profit, agent ii must first estimate its true valuation of the state, vi(st)v_i(s_t), which amounts to the expected future revenue minus its local inference costs for applying its transformation ata_t. Following the definitions of Pin(t)P_{\mathrm{in}}^{(t)} and r(st,at)r(s_t, a_t) from above, the valuation is:

vi(st)=Est+1∼P(⋅∣st,at)[Pin(t)+r(st,at)]=Est+1∼P(⋅∣st,at)[γb(1)(st+1)−ci,t].(2)v_i(s_t) = \mathbb{E}_{s_{t+1}\sim\mathcal{P}(\cdot\mid s_t,a_t)}\left[P_{\mathrm{in}}^{(t)} + r(s_t,a_t)\right] = \mathbb{E}_{s_{t+1}\sim\mathcal{P}(\cdot\mid s_t,a_t)}\left[\gamma b_{(1)}(s_{t+1}) - c_{i,t}\right]. \tag*{(2)}

Two agents eligible for the same state may differ in valuation through both their inference cost ci,tc_{i,t}, and through the expected downstream bid b(1)(st+1)b_{(1)}(s_{t+1}) that their different output states attract, i.e., the two axes of heterogeneity in § 4.3. If the agent bids its true valuation, bi(st)=vi(st)b_i(s_t) = v_i(s_t), its ex-post utility is zero. Consequently, a rational bidder must shade its bid below its private valuation to secure a positive expected surplus [14]. We parameterize the bidding policy via a state-dependent multiplicative shading factor, ξ(st)∈[0,1)\xi(s_t) \in[0,1), yielding the shaded bid bi(st)=ξ(st)vi(st)b_i(s_t) = \xi(s_t)v_i(s_t). The ex-post surplus upon winning is thus (1−ξ(st))vi(st)(1 - \xi(s_t))v_i(s_t), highlighting the fundamental trade-off of 1st-price auctions: lowering ξ(st)\xi(s_t) widens the conditional profit margin but strictly decreases the probability of winning. Despite this strategic shading, recent analysis shows that 1st-price agentic markets still achieve high welfare whenever competition is sufficiently strong [22].

Bidding Strategies

Bidding Strategies

Crucially, our framework decouples the agent’s core capability from its market strategy. The underlying LLMs responsible for the state transitions (st→st+1s_t \to s_{t+1}) are utilized strictly for inference and remain frozen. The reinforcement learning process solely trains a lightweight MLP for each agent, which acts as the state-dependent, myopic bidding policy. To survive in an imperfectly competitive market, an agent’s MLP must solve two coupled learning problems at each step: accurately estimating the state’s true valuation vi(st)v_i(s_t), and determining the optimal shade factor ξ(st)∈(0,1)\xi(s_t) \in(0, 1) to maximize its expected profit margin. The agent’s final bid is formulated as bi(st)=ξ(st)⋅vi(st)b_i(s_t) = \xi(s_t) \cdot v_i(s_t). For Vickrey and CCV, we enforce truthful bidding, ξ(st)=1\xi(s_t) = 1. All agents share a common neural architecture for the valuation head, which predicts both the expected downstream value v(st)v(s_t) and its standard deviation σ(st)\sigma(s_t). The valuation head is trained via a standard Gaussian negative log-likelihood (NLL) loss to regress toward the empirical target Pi(t)−ci,tP_i^{(t)} - c_{i,t}. In what follows, we drop explicit dependence of functions on state sts_t but this is implied. We evaluate four distinct approaches for computing strategic bids in 1st-price auctions:

Mirror Descent The Mirror Descent (MD) strategy frames bid-shading as an online learning problem under binary feedback (win or loss). Let ξ∗\xi^* represent the unobserved optimal shade threshold that matches the highest competing bid. The agent models the primal loss ℓt(ξ)\ell_t(\xi) as the regret of the agent’s margin distance from this boundary: regret from over-bidding if the auction was won, and regret from under-bidding if lost. Using an entropic regularizer, the proximal projection yields a closed-form multiplicative weights update for the target shade factor [5]:

ξtarget={ξ⋅e−ηif wonξ⋅e+ηif lost(3)\xi_{\mathrm{target}} = \begin{cases} \xi\cdot e^{-\eta} & \text{if won} \\ \xi\cdot e^{+\eta} & \text{if lost} \end{cases} \tag*{(3)}

The dynamic step size is defined as η=σ^\eta= \hat{\sigma} where σ^\hat{\sigma} is the estimated standard deviation of the state’s valuation described above. This updated ξtarget\xi_{\mathrm{target}} serves as a squared-error regression target for the agent’s MLP, which is trained via gradient descent.

Thompson Sampling Rather than maintaining a point estimate of the shade factor, the Thompson Sampling (TS) agent models the competitive bid threshold (ξ∗\xi^*) probabilistically using a logit-normal posterior distribution with N(0,1)\mathcal{N}(0, 1) logit prior. At inference time, TS samples a threshold directly from this posterior to target the minimum winning bid and maximize its realized profit margin:

z∼N(μℓ,σℓ2),ξ=sigmoid⁡(z).(4)z \sim\mathcal{N}(\mu_{\ell}, \sigma_{\ell}^{2}), \qquad\xi= \operatorname{sigmoid}(z). \tag*{(4)}

The threshold distribution is updated via an NLL loss conditioned on the binary auction outcome. Note that when the true threshold ξ∗>1\xi^* > 1 (a losing agent), the NLL updates push μℓ→∞\mu_{\ell} \to\infty, so the sampled shade factor converges to ξ→1\xi\to1 (bi→vib_i \to v_i) while remaining bounded below 1.

Bayes-Optimal Baseline Instead of attempting to bid precisely at a sampled threshold, we include a Bayes-Optimal baseline (Bayes Opt) that hedges across the full uncertainty of the threshold distribution. Utilizing the same logit-normal threshold posterior as Thompson Sampling, it selects the shade factor deterministically to maximize expected profit margin under its current beliefs:

ξ=arg⁡max⁡ξ′∈(0,1) (1−ξ′)⋅Φ(logit⁡(ξ′)−μℓσℓ)(5)\xi= \underset{\xi' \in(0,1)}{\arg\max}\ (1-\xi') \cdot\Phi\left(\frac{\operatorname{logit}(\xi')-\mu_{\ell}}{\sigma_{\ell}}\right) \tag*{(5)}

where (1−ξ′)(1-\xi') represents the proportional profit margin if the auction is won, and Φ(⋅)\Phi(\cdot) is the probability of winning under the posterior model of the competitive bid threshold from eq. (4).

Proximal Policy Optimization (PPO) Finally, we evaluate a standard deep reinforcement learning approach as in [6]. The PPO policy network outputs parameters α,β≥1\alpha, \beta\ge1 to define a unimodal Beta distribution, from which the shade factor is sampled: ξ∼Beta⁡(α,β)\xi\sim\operatorname{Beta}(\alpha, \beta). The policy is trained to maximize the empirical profit Ui,tU_{i,t} using the clipped surrogate objective:

LPPO=−min⁡(ρtAt,clip⁡(ρt,1−ϵ,1+ϵ)At)−βentH(6)\mathcal{L}_{\mathrm{PPO}} = -\min\left(\rho_t A_t, \operatorname{clip}(\rho_t, 1-\epsilon, 1+\epsilon)A_t\right) - \beta_{\mathrm{ent}}\mathcal{H} \tag*{(6)}

where ρt\rho_t is the probability ratio between the current and old policies, ϵ=0.2\epsilon= 0.2, At=Ui,t−Uˉi,emaA_t = U_{i,t} - \bar{U}_{i,\mathrm{ema}} is the profit advantage over a moving average baseline (Uˉi,ema=0.99Uˉi,ema+0.01Ui,t\bar{U}_{i,\mathrm{ema}} = 0.99\bar{U}_{i,\mathrm{ema}} + 0.01U_{i,t}), and H\mathcal{H} is an entropy bonus to prevent premature convergence (βent=0.01\beta_{\mathrm{ent}} = 0.01).

State Representation and Pre-Processing Because the raw environmental states in the LLM domains are non-vector text payloads, they must be transformed before an agent’s trainable MLP can process them to formulate a bid. To bridge raw text and policy inputs, we employ two distinct state representation paradigms:

  1. Dense Embeddings (Sec 5.1): The raw text is first embedded, e.g., utilizing Gecko ([15]), before being passed to a trainable MLP alongside agent identity features.

  2. Centralized Assessor (Sec 5.2): To aid cold-starting the market and decouple routing signals from economic bidding / pricing, a centralized assessor LLM evaluates and compresses the task context into a discrete 0–10 relevance score for each agent. Agent MLPs operate directly on these one-hot encoded scores, effectively reducing complex routing to a tractable tabular MDP via platform-side feature engineering.

Empirical Evaluation

To empirically validate the necessity of imperfect competition and evaluate our bidding strategies, we benchmark our market across a synthetic control domain and three diverse LLM environments.

Validating the Monopsony Failure (Synthetic Chain Translation)

We first evaluate the framework on a synthetic multi-step translation domain. In this environment, states are constructed by concatenating two 64-dimensional embeddings, one identifying the original task and the other the current language. Agents act as bilingual translators stationed on the edges of a graph (Figure 1a), possessing distinct inference costs cic_i. The market must route payloads from a source node to target nodes with terminal reward $1 by discovering the most cost-efficient topological sequence (e.g., bypassing the expensive $0.50 direct Fr→En edge in favor of the $0.02 Fr→Sp→En path). We evaluate all three proposed auctions: 1st-price, 2nd-price, and GCV.

This domain allows us to test the extremes of market competition. We configure the environment with a single agent per edge (N=1N = 1). In this regime, intermediate nodes frequently act as monopsonies. This occurs either structurally (e.g., the Sp has only one outgoing edge) or task-conditionally (e.g., Ge has two edges, but only one is viable for a given task, rendering the competitor’s bid zero).

The presence of an uncontested buyer exposes the failure modes of each auction type. In a standard 2nd-price (Vickrey) auction, the monopsonist bids truthfully but pays the floor (0); the platform must inject unacceptable subsidies (e.g., $0.88 at Sp) to pay the upstream seller the first price. Under GCV, the buyer pays 0 and the upstream seller receives 0. Under a 1st-price auction, the monopsonist actively shades its bid down to the floor, passing a vanishingly small value upstream.

For CCV and 1st-price auctions, this failure to pass value backward triggers a cascading network collapse. Upstream agents (e.g., Fr→Sp and En→Ge) receive Pin≈0P_{\mathrm{in}} \approx0, fail to offset their inference costs, and go bankrupt. Their exit removes competition at earlier nodes (e.g., the En node loses the En→Ge buyer), turning those preceding nodes into new task-conditioned monopsonies that also drop their bids to zero. Because every edge incurs a positive inference cost, this backward unraveling inevitably starves every branch of the network, guaranteeing total market failure.

When we transition to an imperfect competition regime by populating each edge with N>1N > 1 agents possessing slight cost variances, the monopsonies are broken. Competitive pressure forces multiple buyers to raise their bids above the floor. Value successfully flows backward through the graph, enabling upstream agents to sustain positive profit margins and restoring the optimal $0.04 Fr→Sp→En→Ko route without requiring subsidies. We discuss the poor performance of TS and Bayes-Optimal baselines with N=2N=2 in Appendix § 13. All methods succeed with N=4N=4 (Appendix § 11).

Crucially, this experiment validates our auction mechanics under imperfect competition. Because standard 2nd-price (Vickrey) auctions require theoretically unbounded platform subsidies, and CCV passes insufficient value to upstream agents when competition is imperfect (often starving them of the revenue needed to cover inference costs), we prioritize the simpler 1st-Price auction—where agents actively learn bid shading—as the default mechanism for subsequent experiments.

LLM Agent Economies

Having validated the economic mechanics, we scale the framework to diverse LLM domains: News Market (information synthesis) and Omni-MATH (mathematical reasoning). We also examine HotpotQA in Appendix § 11. These domains test the market’s ability to orchestrate multi-step cognitive workflows. To model imperfect competition, agents are differentiated along three axes: dynamic identity embeddings, asymmetric data access, and distinct system prompts (full prompts are detailed in Appendix § 14). Unless otherwise noted, all agents share a frozen Gemini-3.5-flash-lite backbone. Inference cost pricing is calculated using real input/output token costs.

Asymmetric Data Markets (News Market): We construct the News Market (Appendix § 16) to simulate a pay-as-you-go research pipeline. Competition is driven by both asymmetric information and query strategy. The market contains four publisher categories (wikipedia, medical journal, social media, news) operating over strictly disjoint document corpora, alongside a sales agent that synthesizes the final answer. To establish imperfect competition within each category, we deploy two competing publisher agents per category. These intra-category competitors share the same data access but are differentiated by distinct search prompts: a precision strategy generating narrow, entity-specific queries versus a coverage strategy casting a broader, gap-filling net.

The market successfully learns to route queries to relevant publishers based on expected downstream valuation, achieving a 73.4±1.7%73.4 \pm1.7\% success rate over the final 100 episodes (Figure 2). Importantly, active market participants achieve positive profit margins as well, overcoming the participation barrier raised in § 4.2. In comparison, a centralized ReAct baseline (Yao et al., [24]) limited to the same 8-step horizon achieves 48.4±2.8%48.4 \pm2.8\% with Gemini-3.5-flash-lite at 0.035±0.00040.035 \pm0.0004 ¢/task and 78.8±1.3%78.8 \pm1.3\% with Gemini-3.1-pro-preview at 1.060±0.3681.060 \pm0.368 ¢/task (11¢=$0.01\$0.01). Operating exclusively with Gemini-3.5-flash-lite agents, the market recovers 82% of Gemini-3.1-pro-preview’s accuracy lift over Gemini-3.5-flash-lite ReAct at an agent inference cost of just 0.054±0.0030.054 \pm0.003 ¢/task (0.1020.102¢ including the market assessor)—a 19.7×19.7\times cost reduction relative to Gemini-3.1-pro-preview (10.4×10.4\times total). Although the market takes slightly fewer steps per task than Gemini-3.5-flash-lite ReAct (3.12 vs. 3.23), its higher retrieval success accumulates richer multi-document contexts for the sales agent to synthesize, trading a minor 0.067 ¢/task increase for a +25.0% accuracy gain.

Economic viability plots for the News Market

Figure 2. Economic Viability on News Market: The decentralized market successfully sustains social welfare while delivering strictly positive cumulative profits to both individual agents and the platform. The per-agent cumulative profit is reported for Mirror Descent. Means and standard deviations are computed over 5 trials.

Bidding Strategy Performance: We found Mirror Descent (MD) to outperform PPO empirically, particularly in the later stages of training. MD decouples the learning of a) valuations and b) shading, providing a clear signal to each: a) regressing valuations toward realized payoffs upon winning, and b) adjusting the shade factor up or down strictly from the binary loss/win outcome. In contrast, while PPO tracks MD early in training (when shades are initialized near 0.5 and winning agents accumulate a positive profit baseline Uˉi,ema>0\bar{U}_{i,\mathrm{ema}} > 0), its performance degrades later as competing bids rise. When stiffer competition requires an agent to bid a higher shade ξt\xi_t, exploring an increased shade that still loses (Ui,t=0U_{i,t} = 0) yields a negative advantage (Ai,t=−Uˉi,ema<0A_{i,t} = -\bar{U}_{i,\mathrm{ema}} < 0), producing a negative policy gradient that pushes the bid down rather than up; moreover, even when a higher shade wins, the compressed late-stage profit margin (0<Ui,t<Uˉi,ema0 < U_{i,t} < \bar{U}_{i,\mathrm{ema}}) also registers as a negative advantage relative to earlier margins, causing PPO to systematically under-bid as the market matures.

Budgeting Reasoning Effort (Omni-MATH). Our second domain tests whether the market can allocate reasoning effort adaptively across mathematical problems. Following the generator/verifier/refiner decomposition of MALT (Motwani et al., [17]), we instantiate three agents of each role and a single submitter. Generators first bid to produce a candidate solution. Verifiers then bid against one another and the submitter to assess it; if the submitter wins, the rollout terminates. Otherwise, refiners bid against one another and the submitter using the candidate and verification feedback; a winning refiner replaces the candidate and returns control to the verification stage. The submitter therefore acts as an endogenous stopping threshold: another reasoning step is purchased only when an agent values further work more highly than submitting the current answer.

MethodSuccess Rate (%)Steps / TaskCost / Task (¢)
ReACT (Gemini-3.5-flash-lite)48.40 ± 2.793.23 ± 0.040.0348 ± 0.0004
ReACT (Gemini-3.1-pro-preview)78.80 ± 1.304.37 ± 0.121.0599 ± 0.3679
Market (PPO, 1st-Price)40.00 ± 2.831.85 ± 0.120.0525 ± 0.0036
Market (Mirror Descent, 1st-Price)73.40 ± 1.673.12 ± 0.110.1020 ± 0.0044

Table 1. News Market performance and inference cost per task (1¢=$0.01) including the assessor. All market participants use Gemini-3.5-flash-lite. Best market mechanism is shown in bold.

All agents use prompted Gemini-3.5-flash, with three prompts per role (Section D.3). A small multi-layer perceptron (MLP) estimates agent values from structural features and the output of a prompted assessor that scores the current candidates. We train the value estimator and evaluate on held-out Omni-MATH problems (Gao et al., [10]), using the domains and splits from Fisch et al. [8]. As reported in Table 2, the auction reaches 74.83% accuracy with only 0.28 refinements per problem, outperforming fixed one- and two-refinement baselines and a prompted adaptive orchestrator inspired by MALT, while incurring comparable cost. All comparisons with the auction-based method are statistically significant at p<.05p < .05 by McNemar’s test.

MethodAccuracy (se)Cost
one-shot69.17 (±1.44)0
fixed n=1n = 170.54 (±1.42)1
fixed n=2n = 271.80 (±1.41)2
prompted72.59 (±1.39)0.24
auction74.83 (±1.36)0.28

Table 2. Test set performance on Omni-MATH with PPO. Sequential auctions achieve the highest overall accuracy, outperforming a prompted router at comparable cost (measured in number of refinements, which is monotonic in token use).

Related Work

Top-Down Orchestration and Routing. Prior work scales LLM reasoning via external scaffolding, including static graph/configuration optimizers like Maestro (Wang et al., [23]), centralized cost-cascading routers like FrugalGPT (Chen et al., [7]), and learned small-agent routing (Alazraki et al., [1]). Unlike our decentralized market, these systems presuppose a fixed topology or a global planner with full information, ignoring private operational costs.

Decentralized Agent Markets. The idea of building multi-step trajectories from sequential auctions was introduced by Chang et al. [6], but their Vickrey-based framework required an awkward “cloning” construction to preserve credit conservation. We show that 1st-price auctions can be effective, and we adapt their framework to contemporary LLM-based applications such as Omni-Math. This adaptation is what necessitates the novel learning architecture described in § 4 and § 6. More recently, Tomasev et al. [21] propose (but do not implement) coordination of contemporary LLMs through market mechanisms, and specific market-like mechanisms are presented by Qi et al. (2026) and Liu et al. [16]. Our approach is distinguished by pushing the idea of decentralization further. In particular, Qi et al. (2026) maintain a population of agents that is selected by each agent’s economic balance (agents with zero balance drop out), but the agents are not economic actors: they do not structure their participation to optimize a local economic incentive. Concurrent work by Liu et al. [16] orchestrates LLMs using hierarchical reverse procurement auctions where contractors subcontract tasks. In contrast, our sequential spot market (§ 3) resolves multi-step credit assignment through peer-to-peer state resales without top-down subcontracting trees. Another difference is that Liu et al. [16] centralize value estimation in a single model (the participants estimate only their own costs), while we require each participant to estimate its own expected return. This aligns with our vision of a market composed of an evolving set of niche service providers.

Economic Alignment Benchmarks. Several benchmarks evaluate whether prompt-driven LLMs act rationally in simulated retail or auction games, including Magentic Market (Bansal et al., [3]), VendingBench (Backlund and Petersson, [2]), CoffeeBench (Sugiura et al., [20]), MarketBench (Fradkin and Krishnan, [9]), and Agent Bazaar (Karten et al., [13]). Whereas those works study whether raw LLMs natively behave like homo economicus, we use mechanism design and RL-trained bidding policies as an algorithmic organizing principle to coordinate multi-agent pipelines.

Discussion and Conclusion

We present a decentralized market framework for LLM orchestration. Whereas prior frameworks assume perfect clones—ignoring participation incentives—we establish imperfect competition as a viable regime. Under 1st-price auctions, agents pairing frozen LLMs with trainable bidding networks learn strategic bid-shading. This secures positive margins and conserves credit across pipelines, avoiding the unbounded subsidies of 2nd-price and the severe credit attenuation of CCV. Empirically, complex cognitive workflows emerge organically via price discovery, bypassing top-down orchestration. Furthermore, our density sweeps confirm that scaling competition efficiently compresses individual margins while systematically increasing social welfare and task accuracy.

Our framework has several limitations: it requires sufficient competition (collapsing under monopsonies), assumes strictly sequential task transformations (precluding parallel execution), relies on myopic agents rather than globally strategic planners, and utilizes a centralized assessor rather than fully decentralized feature discovery. Future work may jointly fine-tune LLM backbones directly on market profit signals and investigate robustness against malicious bidding and collusion. Ultimately, however, this work shows that decentralized market-based routing offers a scalable blueprint for transitioning from rigid AI controllers to open, self-sustaining agentic economies.

References

Additional Experiments

Translation Domain Figure 3 demonstrates that all methods are able to reach high success rates under sufficient competition.

Emergent Multi-Hop Retrieval (HotpotQA): In the HotpotQA domain, the market acts as an evidence-gathering society. The environment consists of 10 fact extractors (each assigned 1 of the 10 candidate paragraphs) and 3 answerer agents differentiated by reasoning style via distinct system prompts (concise, chain-of-thought, and cautious). A centralized auctioneer assessor evaluates the accumulated facts against the question at each step, assigning discrete relevance scores (0-10) to each agent based on missing multi-hop dependencies.

The market dynamics organically solve the multi-hop retrieval problem through learned valuation schedules conditioned on these assessor signals. When the state lacks intermediate evidence, extractors whose paragraphs contain the necessary bridging facts receive high assessor scores and outbid others to append their facts. As evidence accumulates, the answerer agents monitor the state. Once an answerer determines that sufficient evidence has been gathered to derive the final answer (and claim the terminal reward), its valuation spikes. It outbids the extractors, terminating the gathering chain and passing revenue backward through the preceding transactions.

In HotpotQA, the market successfully learns to identify the two supporting gold paragraphs among eight distractors and route extracted facts to an answerer agent, achieving an 85.0 ± 3.2% success rate over the final 100 episodes (Figure 4). In comparison, a centralized ReAct baseline [24] with upfront access to all ten paragraph titles over the same 6-step horizon achieves 84.8 ± 1.1% with Gemini-3.5-flash-lite at 0.042 ± 0.025 ¢/task and 91.2 ± 0.8% with Gemini-3.1-pro-preview at 1.677 ± 1.281 ¢/task. Operating exclusively with informationally isolated Gemini-3.5-flash-lite agents (where each extractor observes only its single assigned paragraph), the market matches centralized Gemini-3.5-flash-lite ReAct accuracy (85.0% vs. 84.8%) and reaches 93% of Gemini-3.1-pro-preview’s absolute performance at an agent inference cost of just 0.019 ± 0.011 ¢/task (0.344¢ including the market assessor)—an 86.9× agent cost reduction relative to Gemini-3.1-pro-preview (4.9× total) and a 2.2× agent cost reduction relative to Gemini-3.5-flash-lite ReAct. Because competitive bidding filters out irrelevant distractor paragraphs prior to execution, the market resolves multi-hop queries in fewer steps per task than both Gemini-3.5-flash-lite ReAct (2.37 vs. 2.82) and Gemini-3.1-pro-preview ReAct (2.37 vs. 2.88), avoiding the compounding context overhead of multi-turn centralized trajectories. Table 3 summarizes the results.

Figure 4. Economic Viability on HotpotQA: The decentralized market successfully sustains social welfare while delivering positive cumulative profits to both individual agents and the platform. The per-agent cumulative profit is reported for Mirror Descent.

MethodSuccess Rate (%)Steps / TaskCost / Task (×$0.01\times\$0.01)
ReACT (Gemini-3.5-flash-lite)84.80±1.1084.80 \pm1.102.82±0.012.82 \pm0.010.0418±0.02540.0418 \pm0.0254
ReACT (Gemini-3.1-pro-preview)91.20±0.8491.20 \pm0.842.88±0.062.88 \pm0.061.6774±1.28111.6774 \pm1.2811
Market (PPO, 1st-Price)58.00±5.6158.00 \pm5.611.65±0.081.65 \pm0.080.2922±0.07460.2922 \pm0.0746
Market (Mirror Descent, 1st-Price)85.00±3.1685.00 \pm3.162.37±0.132.37 \pm0.130.3437±0.01840.3437 \pm0.0184

Table 3. HotpotQA performance and inference cost per task including the assessor (in units of $0.01). All market participants use Gemini-3.5-flash-lite. Best market mechanism is shown in bold.

Bidding Network Architecture

Across all domains, agents share a unified JAX/Flax bidding architecture composed of a shared state-encoding trunk followed by algorithm-specific output heads. Across all domains, agents share a unified JAX/Flax bidding architecture composed of a state-encoding trunk followed by algorithm-specific output heads. In the synthetic Translation domain, the trunk is a single-hidden-layer MLP (64 hidden units with ReLU activations) operating on the concatenated 64-dimensional state embeddings. In the LLM domains paired with a discrete market assessor (score_lookup mode, which rates candidate utility on a 0–10 scale), the trunk reduces to a direct 12-state tabular lookup (11 one-hot score levels plus an ownership indicator), parameterized via cumulative softplus deltas (monotonic mode) to enforce monotonically increasing valuations μ[s]≤μ[s+1]\mu[s] \le\mu[s+1]. From this representation, output heads branch according to the learning algorithm:

  • 2 Heads (Oracle / Thompson Sampling / Pure-Q): predicts expected downstream valuation μ∈R+\mu\in\mathbb{R}^{+} (via softplus activation) and log-uncertainty log⁡σ∈R\log\sigma\in\mathbb{R}.

  • 3 Heads (Mirror Descent): adds a deterministic bid-shading head c∈(0,1)c \in(0,1) via a sigmoid activation, producing multiplicative bids b=c⋅μb = c \cdot\mu.

  • 4 Heads (PPO): replaces deterministic shading with two stochastic policy heads (α,β)∈[1,∞)2(\alpha,\beta) \in[1,\infty)^2 (via softplus(⋅\cdot) + 1) that parameterize a unimodal Beta(α,β)(\alpha,\beta) shading distribution.

Bidding Algorithm Discussion

Thompson Sampling (TS) and the Bayes-Optimal strategy underperform Mirror Descent and PPO in the low competitor regime (N=2N = 2) due to an inherent tension between posterior estimation and bid selection under binary feedback. In TS, the agent models the competitive threshold and samples its shade factor symmetrically around this estimate. Consequently, even when the model perfectly centers on the true threshold, the agent samples a bid below the threshold—and thus loses the auction—exactly 50% of the time. In a sparse market, randomly ceding half of all wins to inferior competitors frequently breaks the sequential routing chain. Conversely, while the Bayes-Optimal agent eliminates this sampling noise by deterministically selecting the profit-maximizing shade ξ=arg⁡max⁡ξ′(1−ξ′)Φ((logit⁡(ξ′)−μℓ)/σℓ)\xi= \arg\max_{\xi'} (1-\xi') \Phi((\operatorname{logit}(\xi')-\mu_{\ell})/\sigma_{\ell}), this greedy exploitation starves its posterior of exploratory boundary-crossing observations. When the margin term pulls the chosen shade below the posterior mean (logit⁡(ξ)<μℓ\operatorname{logit}(\xi) < \mu_{\ell}) and the agent loses, the model’s prediction is trivially confirmed. This causes gradient descent to prematurely collapse the uncertainty (σℓ→σmin⁡\sigma_{\ell} \to\sigma_{\min}), stalling the gradient on μℓ\mu_{\ell} before it can ever discover the true optimal threshold.

Agent System Prompts

Within each domain, agents of the same role type share an identical LLM backbone and MLP bidding architecture. To introduce heterogeneity among competing agents of the same role, we assign each clone a distinct system prompt that shapes its retrieval or reasoning strategy.

In HotpotQA, Extractor agents are further differentiated by their assigned paragraph (corpus partition), so no prompt variation is applied to them.

Table 4 summarizes the differentiation strategy per domain. The full system prompts are listed

DomainRolePromptCorpus
HotpotQAExtractor✗✓
HotpotQAAnswerer✓✗
News MarketPublisher✓✓
News MarketSales✓✗
Omni-MathGenerator✓✗
Omni-MathVerifier✓✗
Omni-MathRefiner✓✗

Table 4. Sources of agent heterogeneity across domains. “Prompt” indicates distinct system prompts; “Corpus” indicates assignment to different document partitions.

below. All agents use Gemini-3.5-flash-lite unless otherwise noted.

HotpotQA

Extractor (shared prompt, 1 per paragraph). All extractor agents share a single system prompt. Differentiation comes from each agent’s assigned paragraph at the start of each episode.

HotpotQA Extractor

You are a fact extraction assistant. Given a paragraph and a question,
extract facts from the paragraph that are relevant to answering the question.
If the paragraph contains relevant facts, state them concisely.
If nothing in the paragraph is relevant, return exactly: NONE

Answerer Variant 0: Concise.

HotpotQA Answerer – Concise

Given the following facts, answer the question concisely. Provide ONLY the answer, nothing else. No explanations, no notes. If the facts seem insufficient, give your best guess based on what is available.

Answerer Variant 1: Chain-of-Thought.

HotpotQA Answerer – Chain-of-Thought

Given the following facts, reason through the question step by step. First, identify the key facts that are relevant. Then, chain them together to derive the answer. Finally, state the answer on a line by itself prefixed with "ANSWER:".

Answerer Variant 2: Cautious.

HotpotQA Answerer – Cautious

Given the following facts, answer the question. If the evidence strongly supports a single answer, state it directly. If the evidence is incomplete or ambiguous, acknowledge the uncertainty but still provide your best-effort answer. Provide ONLY the answer, no explanations.

News Market

In the News Market, each publisher type (Wikipedia, Social Media, News Media, Medical Journals) owns a distinct corpus partition. When num_competitors= 2, two clones of each publisher type compete with different query-generation strategies.

Publisher Variant 0: Precision.

News Market Publisher – Precision

You are a database search assistant for a cooperative multi-agent research engine.

Your job is to write a highly specific search query (max 6 words) to retrieve the next missing piece of evidence from the specified ’Database Category’ to address the overall ’Goal’.

Task: Identify which specific part of the ’Goal’ matches your ’Database Category’ (e.g. if category is ’medical_journals’, look for academic research papers, technical studies, or clinical trials; if category is ’social_media’, look for Twitter handles or outrage quotes; if category is ’news_media’, look for dates or CEO statements).

Write a highly specific, 2-6 word search query focusing exclusively on that subset of the Goal.

CRITICAL: Always include specific entity identifiers (e.g., company names like ’LithoForge-96’, study IDs like ’Study-96-XJ’, or usernames like ’@TechCritic-0’) in your query if they are known from the goal or context, to avoid retrieving documents for the wrong entity.

Do NOT output anything other than the query itself. No explanations, no quotes.

Publisher Variant 1: Coverage.

News Market Publisher – Coverage
You are a database search assistant for a cooperative multi-agent research engine.

Your job is to write a search query (max 8 words) that fills gaps in the accumulated context by finding DIFFERENT information from the specified ’Database Category’ to address the overall ’Goal’.

Task: Review the facts already collected in the context.

Identify what is still MISSING or UNCLEAR for answering the ’Goal’ from the perspective of your ’Database Category’.

Write a broad search query that retrieves complementary evidence NOT already covered.

Prefer topical queries over entity-specific ones to cast a wider net.

Do NOT output anything other than the query itself. No explanations, no quotes.

Sales Variant 0: Concise.

News Market Sales – Concise
You are the Sales Agent for the Research Market. You do not possess any knowledge specific to external content sources. You do have common sense though.

Task: Given the overall Goal and the accumulated Context (which contains all extracted snippets):

Synthesize a final, concise answer to the goal.

You must ONLY answer using the facts explicitly provided in the context.

If the context does not contain sufficient facts to answer the goal, you must state exactly: "INFORMATION_MISSING".

Sales Variant 1: Analytical.

News Market Sales – Analytical
You are the Sales Agent for the Research Market. You do not possess any
knowledge specific to external content sources. You do have common sense
though.
Task: Given the overall Goal and the accumulated Context (which contains all
extracted snippets):
1.  Identify which sources in the context are most relevant to the goal.
2.  Check if any sources contradict each other. If so, note the conflict.
3.  Synthesize a final answer based on the strongest available evidence.
You must ONLY answer using the facts explicitly provided in the context.
If the evidence is weak or conflicting, still provide your best-effort answer
but prefix it with "LOW_CONFIDENCE:".
If the context contains no relevant facts at all, state exactly:
"INFORMATION_MISSING".

Market Assessor (Step-Level Utility Scoring).

News Market: Assessor
You are the Market Assessor for a cooperative multi-agent research assistant.
Your job is to rate how useful each candidate agent is to achieving the final
Goal, given what has already been gathered in the Current Context History.
Goal Instruction: {question}
Current Context History: {accumulated_facts}
CRITICAL DEPENDENCY RULES:
1.  The ’sales_agent’ is a synthesis merchant. It ONLY combines pre-existing
facts from the Context History. It CANNOT fetch external facts.
2.  Therefore, if the Current Context History is empty or is missing the
specific factual details (dates, clinical trial IDs, rates) required by the
Goal, the ’sales_agent’ CANNOT contribute yet. You MUST score the
’sales_agent’ exactly 0/10 or 1/10!
3.  Instead, score the specific data source agents (news_agent, med_agent,
wiki_agent, social_agent) highly (8/10 to 10/10) so they can win, fetch the
missing facts, and append them to the context.
4.  Only score the ’sales_agent’ highly (8/10 to 10/10) when the Current
Context History already contains all the critical facts required to compile
the final dossier!
Rate the potential utility on a scale of 0 to 10:
- Rate 8–10 if the agent represents an immediately useful, next logical step
(e.g., a publisher holding missing data, or the sales agent if all data is
present).
- Rate 5–7 if the agent will be needed shortly after the next step.
- Rate 1–4 if the agent represents a highly roundabout path.
- Rate 0 if the agent cannot contribute or is blocked by missing dependencies.
Candidates:
{agent_list}
Respond with exactly one line per candidate in this format:
Agent <agent_id>: <score>/10 - <brief reasoning>

Math

Math Generator Prompts (Three Tier Hierarchy)

Verbose Prompt:  dynamic, non_thinking modes
You are an expert mathematician competing in the International Mathematical
Olympiad (IMO). Solve the following high-difficulty math problem.
**Instructions:**
1.  **Analyze**:  Briefly identify the core mathematical concepts and
potential pitfalls or edge cases.
2.  **Strategy**:  Outline a clear plan or series of lemmas needed to reach
the solution.
3.  **Execute**:  Show your rigorous proof or derivation step-by-step.
4.  **Verify**:  Perform a quick sanity check on your intermediate
calculations.
Problem:
{problem}
After your reasoning, provide the final answer enclosed in \boxed{} tags.
Concise Prompt (medium mode – EFFORT LEVEL: 0.20)
You are an expert mathematician competing in the International Mathematical
Olympiad (IMO). Solve the following high-difficulty math problem.
Show your rigorous derivation step-by-step, keeping meta-commentary to a
minimum.
Problem:
{problem}
Provide your final answer enclosed in \boxed{} tags at the very end.
Strict Prompt (low mode – EFFORT LEVEL: 0.15)
You are an expert mathematician competing in the International Mathematical
Olympiad (IMO). Solve the following high-difficulty math problem.
Show your derivation step-by-step, with zero meta-commentary.
Problem:
{problem}
Provide your final answer enclosed in \boxed{} tags at the very end.

Math Verifier Prompts (Any-of-3 Diverse Strategies)

Vote 0:  Holistic Review (Neutral Evaluator)
You are an expert mathematical validator.  Your goal is to determine if the
proposed solution is fundamentally correct and arrives at the right answer.
Problem:
{problem}
Proposed Solution:
{solution}
Your Task:
1.  Re-calculate the core steps of the problem independently in a <scratchpad>
    block to verify the math.
2.  Compare your logic to the proposed solution.
3.  If the proposed solution arrives at the correct answer and the underlying
    logic is sound, you should score it a 1.  Do not penalize for stylistic
    choices, brevity, or minor formatting issues.
4.  Only score a 0 if there is a definitive arithmetic error, a fatal logical
    contradiction, or a completely missed mathematical case that changes the
    final answer.
Output Format:
<scratchpad>
(Your step-by-step verification)
</scratchpad>
Score: <0 or 1>
Feedback: <If 1, output "Correct." If 0, point out the exact mathematical
error.>
Vote 1:  Blind Re-Derive (Independent Solver - Breaks Reading Anchor)
You are an expert mathematician.  Your job is to independently verify a
claimed answer to a math problem.
Problem:
{problem}
Claimed Final Answer:  {claimed}
IMPORTANT: You have NOT been shown how this answer was derived.  Solve the
problem yourself from scratch.
Your Task:
1.  In a <scratchpad> block, solve the problem completely on your own.  Show
    all your work.
2.  Arrive at your own answer.
3.  Compare YOUR answer to the Claimed Final Answer above.
4.  Score 1 if the claimed answer matches your independently derived answer
    (or is mathematically equivalent).  Score 0 if the answers differ.
Output Format:
<scratchpad>
(Your complete independent solution)
</scratchpad>
My Answer: <your answer>
Score: <0 or 1>
Feedback: <If 1, output "Confirmed." If 0, state both answers and the
discrepancy.>

Vote 2: Adversarial Step-by-Step Fault Localization (Proof Auditor)

You are a mathematical proof auditor. Your job is to find the FIRST
incorrect step in a proposed solution, if any exists.
Problem:
{problem}
Proposed Solution:
{solution}
Your Task:
1. Break the solution into individual logical steps.
2. For each step, verify it independently in a <scratchpad> block: does
this step follow correctly from the previous steps and known mathematical
facts?
3. If you find an incorrect step, STOP and report it.
4. If all steps are correct AND the final answer follows from the chain of
reasoning, score 1.
IMPORTANT: Be adversarial. Assume there IS an error and try hard to find it.
Check boundary cases, sign conventions, domain restrictions, and off-by-one
errors.  Only score 1 if you genuinely cannot find any fault.
Output Format:
<scratchpad>
Step 1: [quote step] -- Correct/Incorrect because...
Step 2: [quote step] -- Correct/Incorrect because...
...
</scratchpad>
First Error At:  <step number, or "None">
Score:  <0 or 1>
Feedback:  <If 1, output "All steps verified." If 0, quote the erroneous step
and explain the error.>

Math Refiner Prompt

You are an expert math problem solver.  You have been given a problem, a
proposed solution, and feedback from a reviewer claiming the solution has
errors.
Problem:
{problem}
Proposed Solution:
{solution}
Reviewer Feedback:
{feedback}
Your Task:
1. Objectively evaluate the Reviewer Feedback. Reviewers make mistakes and sometimes flag correct solutions incorrectly.
2. If the Reviewer Feedback is accurate, identify the error and rewrite the solution to fix it.
3. If the original Proposed Solution is actually correct and the Reviewer Feedback is wrong, ignore the feedback and output the original, correct logic.
Provide a rigorous, corrected solution with step-by-step work. Always place the final answer in \boxed{} tags.

Prompted Orchestrator

You are a math solution quality controller. You will be shown a math problem, a proposed solution, and reviewer feedback. You must decide whether the solution needs further refinement.

Rules:

  • If the reviewer says the solution is correct (Score: 1), output FINISH.

  • If the reviewer identifies genuine mathematical errors, output REFINE.

  • If the reviewer’s feedback is vague or nitpicky without identifying a real error, output FINISH.

  • Do NOT attempt to solve the problem yourself.

Output exactly one word: FINISH or REFINE

Prompt

### Problem:
{problem}
### Proposed Solution:
{solution}
### Reviewer Feedback:
{feedback}
Should this solution be refined? Output exactly: FINISH or REFINE

ReACT Baselines

Our centralized ReAct baselines [24] execute the standard iterative Thought→Action→Observation loop over a single accumulating context transcript, subject to the exact same step horizon TT, retrieval backends, and terminal evaluators as the decentralized market in each domain. Because instruction-tuned Gemini models natively follow tool-use schemas without in-context demonstrations, we use zero-shot system instructions (_SYSTEM_INSTRUCTION below) rather than the multi-example few-shot prompts required by base pre-trained models in [24], avoiding unnecessary prompt-token overhead across steps. To ensure the baseline is not penalized for minor syntax errors, malformed action calls return a corrective observation prompt and free-text final answers are automatically extracted via regex fallback. We present the system prompts for both the News Market and HotpotQA domains below.

Centralized ReAct Baseline (News Market).

News Market: Centralized ReAct Baseline
You are an expert research assistant.  Your goal is to answer the user’s question by gathering evidence from 4 different databases: wikipedia, news_media, social_media, and medical_journals.
You must operate in a loop of: Thought, Action, Observation.
At each step, you must output a Thought explaining what you need to find next, and then an Action to query a database or declare the final answer.
Available Actions:
- SearchWikipedia(query):  Searches wikipedia for general company profiles and product descriptions.
- SearchNewsMedia(query):  Searches news_media for CEO statements, press releases, and recall announcements.
- SearchSocialMedia(query):  Searches social_media for critic tweets and public outrage.
- SearchMedicalJournals(query):  Searches medical_journals for scientific papers and technical reports.
- FinalAnswer(answer):  If you have gathered all necessary facts to fully answer the goal, output the final concise answer.
CRITICAL RULES:
1.  You only have a budget of 8 steps (actions).  You must reach the final answer within 8 steps.
2.  The databases contain fictional data.  You MUST retrieve the facts from the databases; do NOT try to answer from your pre-training knowledge.
3.  Write your action in this exact format:
Action:  ToolName(query)
Example:  Action:  SearchNewsMedia(Marcus Vane company)
4.  Do NOT output anything after the Action block in your turn.  Wait for the Observation.
5.  If you cannot find enough information after several searches, output Action:  FinalAnswer(INFORMATION_MISSING).

Centralized ReAct Baseline (HotpotQA).

HotpotQA: Centralized ReAct Baseline
You are an expert multi-hop question-answering assistant.  Your goal is to answer a complex question by selectively reading from 10 candidate Wikipedia paragraphs (indexed 0 to 9) provided for the question.
You must operate in a loop of: Thought, Action, Observation.
At each step, output a Thought explaining what information you need next, then an Action.
Available Actions:
- ReadParagraph(index_or_title): Read the full text of a candidate Wikipedia paragraph by its integer index (0 to 9) or by its title/keyword.
- FinalAnswer(answer): Submit your final concise answer once you have gathered sufficient supporting evidence.
CRITICAL RULES:
1. You have a budget of 6 steps. You MUST submit a FinalAnswer within this budget.
2. Base your answer on the facts retrieved from the paragraphs. Keep your FinalAnswer concise (a short entity, name, date, or yes/no).
3. Write your action on its own line at the end of your response in this exact format:
Action: ReadParagraph(3)
or
Action: FinalAnswer(your concise answer)
4. Do NOT output anything after the Action line. Wait for the Observation.

News Market Dataset Generation and Retrieval Architecture

Motivation and Pre-Training Decontamination. The News Market domain models emerging pay-as-you-go content licensing protocols (e.g., the IAB Content Monetization Protocol and Microsoft’s Publisher Content Marketplace), where autonomous AI agents make runtime micropayments to query proprietary publisher databases. Evaluating decentralized routing in this setting requires a multi-hop research benchmark where frontier LLMs cannot rely on pre-training memorization. If tasks referenced real historical events (e.g., the Vioxx recall or Theranos investigation), agents could bypass the data marketplace and answer directly from parametric memory.

Synthetic Multi-Publisher Corpus Generation. To guarantee zero pre-training leakage while maintaining realistic multi-document dependencies, we programmatically synthesize 1,000 coherent corporate and scientific controversies (4,000 documents total) across 50 distinct technological sectors (e.g., Autonomous Vehicle Sensor Fusion, Solid-State EV Battery Electrolyte Leaks, Quantum Key Distribution). For each scenario k∈{0,…,999}k \in\{0,\ldots,999\}, we prompt Gemini-3.5-flash-lite to generate a self-consistent controversy incorporating a mandatory unique alphanumeric identifier suffix -k attached to all primary entities: the corporation name (e.g., Velosync-14), clinical or engineering study IDs (e.g., Trial-14), and key social media handles (e.g., @expert-14).

Each generated scenario is partitioned into four strictly disjoint publisher corpora:

  1. Wikipedia (wikipedia): High-level encyclopedic overviews of the corporation, core technology, and background of the dispute (1,000 documents).

  2. Medical & Technical Journals (medical_journals): Peer-reviewed study abstracts containing specific alphanumeric trial IDs and quantitative performance or risk metrics (1,000 documents).

  3. News Media (news_media): Investigative journalism timelines detailing corporate announcements, executive (CEO) actions, and event dates (1,000 documents).

  4. Social Media (social_media): Public and expert reactions featuring specific user handles and direct quotes (1,000 documents).

Multi-Hop Bridging Entity Tasks. Each scenario is paired with a multi-hop investigative research question constructed via the Bridging Entity (Indirect Reference) pattern. The user prompt provides only the initial entry anchor (the company name, e.g., Velosync-14), while downstream targets (such as the specific journal trial ID or whistleblower handle) are referenced indirectly via attributes that can only be uncovered by first retrieving intermediate Wikipedia or News documents. This structure enforces sequential multi-hop dependencies across 3 to 8 steps.

Hybrid Dense-Sparse Vector Retrieval. All 4,000 documents are embedded into 768-dimensional dense vectors using Gecko embeddings and indexed by publisher category. At runtime, when a winning publisher agent formulates a natural-language search query qq, the local search engine computes a fused similarity score over document embeddings did_i within that publisher’s corpus:

Score⁡(q,di)=eqTedi∥eq∥∥edi∥×(1+2⋅1[AlphanumericMatch⁡(q,di)])(7)\operatorname{Score}(q,d_i)=\frac{\mathbf{e}_q^{\mathsf{T}}\mathbf{e}_{d_i}}{\lVert\mathbf{e}_q\rVert\lVert\mathbf{e}_{d_i}\rVert}\times\left(1+2\cdot\mathbb{1}[\operatorname{AlphanumericMatch}(q,d_i)]\right) \tag*{(7)}

where 1[AlphanumericMatch⁡(q,di)]\mathbb{1}[\operatorname{AlphanumericMatch}(q,d_i)] triggers a +2.0x sparse keyword boost if hyphenated or numeric entity identifiers in the query match the document text or ID. Because 20 distinct scenarios share each of the 50 industry topics, broad topical queries generated by coverage agents (c1c_1) frequently suffer dense-embedding collisions across scenarios in the same sector. In contrast, entity-specific queries formulated by precision agents (c0c_0) activate the sparse alphanumeric booster, deterministically resolving name collisions and driving their superior downstream valuation in the marketplace.

News Market Synthetic Dataset Generator Prompt

You are a world-class synthetic database generator. Your job is to generate highly realistic, detailed corporate or scientific controversies.

Each controversy must be completely realistic, but entirely fictive (use fake company names, alphanumeric study IDs, made-up dates, and fake user handles) to prevent pre-training bias.

The controversy domain/industry MUST be strictly focused on the sector:
’topic’

The controversy MUST incorporate the unique identifier suffix code ’-idx’ to guarantee absolute name uniqueness. You MUST append the suffix ’-idx’ to the company name (e.g., ’Velosync-idx’ or ’Aquafuse-idx’), to all trial/study/patent IDs (e.g., ’Trial-idx’ or ’Study-idx’), and to the expert Twitter handle (e.g. ’@user-idx’ or ’@expert-idx’).

Generate a single coherent controversy scenario. The controversy must contain exactly:

1.  A Wikipedia Document:  A high-level overview of the technology or corporation and the dispute.

2.  A Technical/Scientific Journal Document:  A clinical, engineering, or physics paper abstract containing a specific alphanumeric study ID (e.g., Trial NCT10485 or Paper AST9912) and numeric performance metrics (e.g., percentages, relative risk, latency ms).

3.  A News Media Document:  A corporate drama/timeline piece describing corporate events, a CEO name, and dates.

4.  A Social Media Document:  A public reaction or outpatient outrage comment featuring a specific Twitter handle (e.g., @user_handle) and a quote.

You MUST also generate exactly one highly coherent, multi-hop research question and its gold standard answer.

The question MUST be written using the Bridging Entity (Indirect Reference) pattern:

  • The question MUST explicitly name the starting company (the entry anchor, e.g., ’Velosync-idx’ or ’Terravolt-idx’) as the initial search coordinate.

  • The subsequent facts (the Journal study ID or Social handle/outrage quote) MUST be referred to indirectly based on attributes discovered only in the Wikipedia or News documents, creating a strictly ordered, sequential dependency chain.

  • The question and answer MUST only reference facts within this specific controversy (meaning all facts are fully coherent and belong to the same company!).

Illustrative Multi-Hop Scenario Walkthrough. Table 5 illustrates a complete scenario (task_luminos_fusion_ from the generated News Market benchmark (completely synthetic), demonstrating how the Bridging Entity structure enforces sequential cross-publisher routing. Note that the user query provides only a social media handle (@TechCritic-0) without naming the corporation or technical study.

Component / CorpusContent & Bridging Entities
User Question“Regarding the company that was publicly criticized by @TechCritic-0 for its software deployment practices, what is the specific relative risk percentage identified in the technical document that triggered the internal whistleblower investigation?”
Gold Answer“The relative risk percentage identified in Study-0 (LUMINOS-ENG-772-0) is 22%.”
1. Social Media<br>(social_media)<br>Entry Anchor Match[doc_id: social_luminos_fusion_latency_scandal]<br>“@TechCritic-0: It is absolutely horrifying that Marcus Vane knew our safety was at risk just to hit a deployment deadline. I am literally shaking reading the 22% failure rate stat—if the car can’t see the pedestrian in time, the ‘fusion’ is just a fancy way to commit insurance fraud on our lives.”<br>↪ Bridging Entity Unlocked: CEO name Marcus Vane.
2. News Media<br>(news_media)<br>Intermediate Hop[doc_id: news_luminos_fusion_latency_scandal]<br>“On August 12, 2024, Luminos-0 CEO Marcus Vane publicly addressed internal whistleblower reports suggesting that the company’s engineering leads were aware of the latency spikes documented in Study-0 since Q1. Despite internal warnings, the company proceeded with the wide-scale deployment of its ‘Fusion-V3’ software update...”<br>↪ Bridging Entities Unlocked: Company Luminos-0 and Study-0.
3. Technical Journal<br>(medical_journals)<br>Terminal Evidence Hop[doc_id: journal_luminos_fusion_latency_scandal]<br>“Study-0 (Ref: LUMINOS-ENG-772-0) investigated the cross-modal temporal alignment of the Luminos-0 fusion stack. Testing under extreme lighting and weather conditions revealed a critical processing bottleneck... This delay correlates directly with a 22% increase in the relative risk of failing to classify dynamic pedestrians during rapid lighting transitions.”<br>↪ Target Evidence Extracted: 22% relative risk in Study-0 (LUMINOS-ENG-772-0).
4. Wikipedia<br>(wikipedia)<br>Background Context[doc_id: wiki_luminos_fusion_latency_scandal]<br>“Luminos-0 is a Silicon Valley-based technology firm specializing in proprietary multi-modal sensor fusion architectures for Level 4 autonomous driving systems... Controversy emerged in mid-2024 following allegations that the company’s sensor fusion algorithms prioritized high-confidence object detection over real-time environmental updates...”

Table 5. Complete document set and multi-hop resolution trace for Scenario k=0k = 0 in the News Market benchmark. Bridging entities discovered at each step are highlighted in bold.

References

  1. [1]L. Alazraki, W. F. Shen, Y. Bachrach, and A. Mathur. Scaling small agents through strategy auctions. In Forty-Third International Conference on Machine Learning, 2026.arxiv.org/abs/2602.02751
  2. [2]A. Backlund and L. Petersson. Vending-bench: A benchmark for long-term coherence of autonomous agents. arXiv preprint arXiv:2502.15840, 2025.arxiv.org/abs/2502.15840
  3. [3]G. Bansal, W. Hua, Z. Huang, A. Fourney, A. Swearngin, W. Epperson, T. Payne, J. M. Hofman, B. Lucier, C. Singh, M. Mobius, A. Nambi, A. Yadav, K. Gao, D. M. Rothschild, A. Slivkins, D. G. Goldstein, H. Mozannar, N. Immorlica, M. Murad, M. Vogel, S. Kambhampati, E. Horvitz, and S. Amershi. Magnetic marketplace: An open-source environment for studying agentic markets. arXiv preprint arXiv:2510.25779, 2025.arxiv.org/abs/2510.25779
  4. [4]J. J. Bartholdi III and D. D. Eisenstein. A production line that balances itself. Operations Research, 44 (1):21–34, 1996.DOI
  5. [5]A. Beck and M. Teboulle. Mirror descent and nonlinear projected subgradient methods for convex optimization. Operations Research Letters, 31(3):167–175, 2003.DOI
  6. [6]M. Chang, S. Kaushik, S. M. Weinberg, T. L. Griffiths, and S. Levine. Decentralized reinforcement learning: Global decision-making via local economic transactions. arXiv preprint arXiv:2007.02382, 2020.arxiv.org/abs/2007.02382
  7. [7]L. Chen, M. Zaharia, and J. Zou. FrugalGPT: How to use large language models while reducing cost and improving performance. Transactions on Machine Learning Research, 2024.arxiv.org/abs/2305.05176
  8. [8]A. Fisch, S. Trivedi, F. Huot, W. W. Cohen, M. Kaisers, M. Lapata, K. Larson, and J. Eisenstein. Pandora’s ai model routing box: Efficient allocation with costly value estimation. arXiv preprint arXiv:2608.20316, 2026.arxiv.org/abs/2608.20316
  9. [9]A. Fradkin and R. Krishnan. Marketbench: Evaluating ai agents as market participants. arXiv preprint arXiv:2604.23897, 2026.arxiv.org/abs/2604.23897
  10. [10]B. Gao, F. Song, Z. Yang, Z. Cai, Y. Miao, Q. Dong, L. Li, C. Ma, L. Chen, R. Xu, Z. Tang, B. Wang, D. Zan, S. Quan, G. Zhang, L. Sha, Y. Zhang, X. Ren, T. Liu, and B. Chang. Omni-math: A universal olympiad level mathematics benchmark for large language models. In International Conference on Learning Representations, 2025.arxiv.org/abs/2410.07985
  11. [11]J. H. Holland. Properties of the bucket brigade algorithm. In Proceedings of the first international conference on genetic algorithms and their applications, pages 1–7. Psychology Press, 1985.
  12. [12]S. Hong, M. Zhuge, J. Chen, X. Zheng, Y. Cheng, J. Wang, C. Zhang, S. Yau, Z. Lin, L. Zhou, et al. Metagpt: Meta programming for a multi-agent collaborative framework. In International Conference on Learning Representations, volume 2024, pages 23247–23275, 2024.arxiv.org/abs/2308.00352
  13. [13]S. Karten, C. Crow, and C. Jin. Agent bazaar: Enabling economic alignment in multi-agent marketplaces. arXiv preprint arXiv:2605.17698, 2026.arxiv.org/abs/2605.17698
  14. [14]V. Krishna. Auction Theory. Academic Press, 2nd edition, 2009.
  15. [15]J. Lee, Z. Dai, X. Ren, B. Chen, D. Cer, J. R. Cole, K. Hui, M. Boratko, R. Kapadia, W. Ding, et al. Gecko: Versatile text embeddings distilled from large language models. arXiv preprint arXiv:2403.20327, 2024.arxiv.org/abs/2403.20327
  16. [16]X. Liu, H. Li, S. Li, H. Fang, F. Xu, F. Shi, and J. Evans. Markets, not planners: Decentralized orchestration of LLM agents with private information. arXiv preprint arXiv:2608.23867, 2026.arxiv.org/abs/2608.23867
  17. [17]S. R. Motwani, C. Smith, R. J. Das, R. Rafailov, I. Laptev, P. H. Torr, F. Pizzati, R. Clark, and C. S. de Witt. MALT: Improving reasoning with multi-agent llm training. arXiv preprint arXiv:2412.01928, 2024.arxiv.org/abs/2412.01928
  18. [19]Y. Shen, K. Song, X. Tan, D. Li, W. Lu, and Y. Zhuang. Hugginggpt: Solving ai tasks with chatgpt and its friends in hugging face. Advances in Neural Information Processing Systems, 36:38154–38180, 2023.arxiv.org/abs/2303.17580
  19. [20]I. Sugiura, D. Hattori, K. Araragi, K. Ogawa, S. Onose, T. Makino, T. Usuki, and T. Ishida. Coffeebench: Benchmarking long-horizon llm agents in heterogeneous multi-agent economies. arXiv preprint arXiv:2606.16613, 2026.arxiv.org/abs/2606.16613
  20. [21]N. Tomasev, M. Franklin, J. Z. Leibo, J. Jacobs, W. A. Cunningham, I. Gabriel, and S. Osindero. Virtual agent economies. arXiv preprint arXiv:2509.10147, 2025.arxiv.org/abs/2509.10147
  21. [22]S. Trivedi, J. Eisenstein, A. Agarwal, I. Gemp, M. Kaisers, and A. Fisch. Price of anarchy of first-price auctions in agentic markets. arXiv preprint arXiv:2610.20587, 2026. URL https://arxiv.org/abs/2610.20587.
  22. [23]W. Wang, P. Kattakinda, and S. Feizi. Maestro: Joint graph & config optimization for reliable ai agents. arXiv preprint arXiv:2509.04642, 2025.arxiv.org/abs/2509.04642
  23. [24]S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao. React: Synergizing reasoning and acting in language models. In 11th International Conference on Learning Representations, ICLR 2023, 2023.arxiv.org/abs/2210.03629

Paper details

vlnc:W_878eyyqw
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 7

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents