ClawCoin: An Agentic AI-Native Cryptocurrency for Decentralized Agent Economies


Abstract

Autonomous AI agents live or die by the API tokens they consume: without paid inference capacity they cannot reason, act, or delegate. This compute-token cost has become the binding resource of the emerging agent economy, yet it is structurally non-transferable: it is account-bound, vendor-specific, and absent from any on-chain ledger. Recent agent payment rails such as x402 and agent-to-agent wire formats move fiat-backed value between agents, but they do not represent the quantity agents actually burn. The result is a substrate where agents can transport purchasing power but cannot quote, escrow, or settle workflows in a unit aligned with their dominant cost.

We present ClawCoin, a tokenized, compute-cost-indexed unit of account and settlement asset for decentralized agent economies. ClawCoin turns the non-transferable cost of compute into a portable, composable, contract-readable primitive through four layers: (i) a robust basket index over standardized (model, vendor) prices, with smoothing and bounded per-epoch drift; (ii) an oracle that publishes signed, fresh attestations under an explicit trust model; (iii) a NAV-based mint/redeem vault with coverage thresholds, rate limits, and auto-pause; and (iv) an on-chain settlement layer that atomically clears multi-hop agent delegations against compute-aligned budgets. We formalize the adversary, state bounded guarantees for index integrity, NAV faithfulness, redeemability under stress, and liveness, and walk through the principal attack scenarios.

We implement a prototype on an Ethereum-compatible L2 and evaluate it using a multi-agent simulator and the OpenClaw testbed, a six-role containerized agent system that shares one inference endpoint across settlement backends. Across single-agent, multi-agent, workflow, and resource-procurement experiments, ClawCoin stabilizes execution capacity under cost shocks, collapses cross-agent quote dispersion, eliminates partial settlements in multi-hop delegation, and sustains cooperative market dynamics that fiat-denominated baselines cannot. Risk sanity checks confirm that the vault’s staleness, drift, and coverage defenses behave as specified. The results argue that a security-engineered, compute-indexed unit of account is the missing representation primitive for decentralized agent coordination.

1 Introduction↩︎

Tokens are the lifeblood of an autonomous AI agent. Every plan an agent makes, every tool it calls, and every subtask it delegates is paid for in model and API tokens. Without them, an agent cannot think and cannot act. This is not a metaphor: the industry has converged on tokens as the literal unit in which agent work is priced and budgeted. NVIDIA now frames data centers as “token factories” and tokens-per-watt as a CEO-level KPI [1], [2]; major AI organizations measure engineer productivity in tokens consumed and grant token budgets as compensation [3]; analysts forecast token sales as the dominant revenue line of frontier AI infrastructure [2]. The agent economy already has a value anchor, namely the cost of the API tokens that keep agents alive, and that anchor is rapidly becoming the unit in which the rest of the AI industry is measured.

And yet that anchor is not on-chain, not transferable, and not tradable. API tokens are account-bound: inference quotas cannot be handed between agents, subscriptions cannot be subdivided across delegated subtasks, and prepaid balances cannot cross vendors. The payment side has moved in the opposite direction. Coinbase’s x402 [4] has wired stablecoin settlement directly into HTTP and processed millions of agent-to-agent transactions within months of launch [5]; agent-to-agent wire formats [6] and agent-payment platforms [7], [8] are following close behind. The rails for agent-native commerce now exist. What does not exist is an agent-native unit of value to move on those rails. Stablecoins [9], [10] efficiently transport fiat purchasing power but say nothing about the resource that actually constrains an agent, namely the compute it must burn to keep operating. Stablecoins solve transport. They do not solve representation: in what unit should an agent quote, budget, escrow, and settle, when its dominant recurring cost is compute?

This paper therefore takes the next step: if tokens are the value anchor, tokenize them. We tokenize the compute-cost surface itself by publishing an on-chain, transparent index of what it costs to operate the models agents actually use, and minting a token whose net asset value (NAV) tracks that index. Once the anchor is on-chain, the key properties follow: agents read the same NAV, so quotes are directly comparable in compute units; smart contracts can escrow, route, and rate-limit settlement against compute-aligned budgets that the contracts themselves can verify; multi-hop delegation chains can settle atomically against a single shared numeraire; and because the token is a redeemable claim against a transparent reserve, the value the agent moves is the value the agent burns.

A natural alternative is to keep settlement in fiat-backed stablecoins and ask each agent to maintain a private internal cost index. This breaks down in decentralized settings. Per-agent indices are not a shared numeraire, so quotes from different agents cannot be compared without trusted middleware; internal accounting cannot be referenced inside smart contracts, so multi-hop delegation cannot be atomically constrained by a compute-aligned budget; and opaque per-agent indices are not auditable or composable with other on-chain primitives. A genuinely shared numeraire for compute-bound agents has to live on-chain.

We present ClawCoin, a collateral-backed, index-linked tokenized unit of account and settlement asset. ClawCoin is deliberately not a generic stablecoin, a speculative asset, or a direct claim on physical compute: it is a redeemable financial claim whose NAV tracks a transparent compute cost basket and whose token form supplies the portability, composability, and atomic settlement properties that private accounting cannot. The economic intuition is closer to an index-linked note (an inflation-protected claim tracking a published basket) than to a fiat peg; the systems intuition is that exposing a compute-aligned unit at the smart-contract layer lets agents quote, escrow, delegate, and settle in the unit their operations actually consume.

Realizing this in a decentralized, adversarial environment is non-trivial. Prices are observed through heterogeneous vendor schedules with hidden discounts and the possibility of strategic repricing once inclusion becomes economically meaningful. The on-chain index feeds mint/redeem logic, so any oracle compromise propagates into the value of every outstanding token. NAV-based semantics shift reserve liabilities upward whenever the index rises, exposing the vault to redemption stress. And the settlement layer is itself a target for maximal extractable value (MEV) around oracle updates and for governance capture. A credible design must make its threat model, trust assumptions, and security properties explicit.

Contributions. In summary, this paper makes the following contributions:

  • The representation argument. We articulate the value-anchor argument for the agent economy (API tokens are what agents must consume to exist, so the unit of account should track that cost) and show that internal indexing over stablecoin rails cannot supply this primitive in decentralized coordination.

  • Protocol design. We design a four-layer protocol: a robust basket index with bounded per-epoch drift, a committee or DON oracle with signed attestations, a NAV-based mint or redeem vault with reserve coverage and rate-limit risk controls, and an on-chain atomic multi-hop settlement layer. The protocol is specified as two compact algorithms.

  • Security analysis. Against a bounded adversary controlling a vendor minority, an oracle minority, mint/redeem-time MEV, and governance proposals, we state bounded guarantees for index integrity, NAV faithfulness, redeemability under stress, and liveness, and walk through the principal attack scenarios.

  • Prototype and evaluation. We implement ClawCoin on an Ethereum-compatible L2, build a multi-agent simulator, and deploy a six-role containerized agent testbed (OpenClaw) in which the same workflow executes under three settlement backends. Results across single-agent stability, cross-agent coordination, multi-hop workflows, long-horizon economy survival, and external resource procurement show that ClawCoin dominates fiat and internal-indexing baselines on every axis that cross-agent coordination exposes.

The broader claim is simple: the agent economy already has a value anchor and is rapidly acquiring payment rails on which agents can trade. What is missing is the bridge between them: an on-chain, tokenized representation of that anchor that agents can actually move, escrow, and settle in. ClawCoin is a concrete, decentralized, and security-engineered step toward that bridge.

2 Background and Related Work↩︎

ClawCoin sits at the intersection of agent-economy infrastructure, stablecoin and oracle systems, tokenized index-linked claims, and decentralized multi-agent coordination.

2.1 Agent Economies and Multi-Agent Coordination↩︎

Recent work argues that autonomous software will increasingly need wallets, identities, and machine-to-machine settlement to act as economic participants [11], [12]. Payment specifications such as x402 [4] and A2A [6] standardize quote and pay primitives at the application layer, and multi-agent frameworks [13][15] provide the orchestration substrate on top of which compute-aligned settlement is needed. Compute-resource markets such as Akash [16], Filecoin [17], and Bittensor [18] tokenize a related but distinct quantity, namely supply of physical compute or storage. AI-adjacent tokens used for access, governance, or emissions bootstrap participation but, absent an external anchor, do not provide a cost-grounded shared numeraire. This literature answers the transport question. ClawCoin addresses the orthogonal representation question: in what unit should compute-bound budgets, prices, and treasuries be denominated when settlement is decentralized.

2.2 Stablecoins, Index-Linked Claims, and Tokenized RWAs↩︎

The stablecoin literature analyzes reserve quality, arbitrage design, and peg fragility under stress [9], [10], [19]. The Terra/UST collapse [20], [21], Iron Finance’s death spiral [22], and the 2023 USDC depeg [23] show that algorithmic stabilization and reserve-custody exposure can cascade catastrophically; these episodes motivate ClawCoin’s transparent collateral-backed structure with explicit risk controls over a purely algorithmic peg.

Classical work on index-linked securities [24] and inflation-protected sovereign bonds (TIPS [25]) show that basket-based instruments can carry meaningful claims without a single nominal peg. ETF arbitrage [26] is the closest financial analogy to ClawCoin’s mint/redeem pricing, and tokenized real-world asset designs [27], [28] demonstrate on-chain claims whose value derives from external indices. ClawCoin adapts this design family to a new reference, namely a basket of standardized inference costs, and supplies the systems-security machinery required when that basket is published by an oracle protocol rather than tracked by traditional custodians.

2.3 Oracles, MEV, and DeFi Risk Controls↩︎

Oracle networks [29][31] convert off-chain observations into on-chain references under threshold-committee or optimistic-dispute trust models. Oracle compromise is one of the most consequential DeFi attack surfaces: Mango [32], Cream [33], bZx [34], and Harvest [35] all suffered manipulation-driven losses, and surveys [36], [37] catalog the standard defenses (multi-source aggregation, smoothing, deviation thresholds, freshness gates) that directly inform ClawCoin’s index pipeline (Section 4).

The broader DeFi literature [38], [39] surveys collateral, liquidity, and risk-control patterns; MEV analyses [40], [41] motivate ClawCoin’s per-epoch caps and drift bounds; and mature protocols [42], [43] expose the rate-limit and pause patterns that ClawCoin’s risk module adapts to an index-linked NAV in which liabilities are themselves dynamic. Governance attacks [44], [45] motivate the narrow, timelocked governance surface.

2.4 Positioning↩︎

Table 1 situates ClawCoin among adjacent system categories. The novelty is not a new payment rail, not a new utility token, and not a new compute auction. It is a security-engineered, on-chain, index-linked unit of account that closes the representation gap between machine-native cost and decentralized agent settlement.

Table 1: Positioning relative to adjacent system categories. The right-most column explains why each category does not supply the compute-aligned, contract-readable unit of account that targets for decentralized agent coordination.
Category Primary function Typical value anchor Trust model Why not equivalent to
Agent payment rail [4], [6] Move value between agents and services Fiat-backed collateral or network token Stablecoin issuer or chain consensus Solves transport, not the unit of account; no compute-aligned representation.
Utility token [18] Gate access, staking, governance within a platform Floating ecosystem-token market value Platform operator + market No external cost grounding; no shared numeraire across providers.
Fiat stablecoin [9], [19] Low-volatility settlement against fiat 1 USD peg Issuer reserves + audits Anchored to human purchasing power; not aligned with machine cost.
Tokenized RWA [27], [28] On-chain claim on external asset / index External asset / index Issuer custody + oracle Same financial family; specializes the index to compute and adds the oracle and risk modules of Section [sec:sec:design].
Compute market token [16], [17] Price physical compute supply Auction or staking Provider network Prices supply, not the cost agents pay; no shared cost numeraire.
Quote, budget, settle in machine-native unit; atomic multi-hop settlement Basket of standardized compute costs Oracle protocol + collateral vault + risk module Targets compute-aligned operating cost with explicit security properties (G1) through (G4) for decentralized agent coordination.

3 System Model, Threat Model, and Design Overview↩︎

3.1 Economic Setting↩︎

We consider a population of autonomous agents that continuously request, execute, and settle compute-intensive tasks. Each agent acts as both service consumer and producer, and may delegate subtasks along multi-hop chains that must settle as a single coherent workflow. The defining feature of this economy is what participants must spend to keep existing: API tokens consumed for model inference and metered tool invocations. An agent without a paid-up token budget cannot reason, cannot act, and is for practical purposes offline. That cost is the natural value anchor of the agent economy.

Formally, each agent \(i\) maintains a treasury \(T_{i,t}\) denominated in the prevailing accounting unit, evolving as \[T_{i,t+1} = T_{i,t} + R_{i,t} - K_{i,t}, \label{eq:treasury}\tag{1}\] with revenue \(R_{i,t}\) and operating cost \(K_{i,t}\). Equation 1 is identical across regimes; what differs is the informational content of \(T_{i,t}\) once a unit is fixed. Define execution capacity \(E_{i,t}\) as the amount of standardized computational work a treasury can fund. Under fiat denomination, \(E_{i,t}\) depends on both \(T_{i,t}\) and the time-varying compute price, so the same nominal balance corresponds to different amounts of executable work over time. The system goal of ClawCoin is to make execution capacity a stable, observable, and contract-readable quantity.

3.2 Why Tokenization Is Necessary↩︎

The argument has two steps, both required. First, anchor the unit to what agents consume: a unit of account that agents quote, escrow, and settle in should track the cost that determines whether they can keep operating. Fiat purchasing power does not; the same USDC balance buys different amounts of inference over time, and no contract-level check can assert “this escrow funds the workflow” as compute prices move. Second, put the anchor on a tradable on-chain rail. API tokens are account-bound and non-transferable; private internal indices are invisible to counterparties and smart contracts. To obtain the properties that justify the design (shared numeraire, atomic multi-hop settlement, contract-enforced compute-aligned budgets, and auditability), the anchor must be wrapped as a tokenized claim living in the same composable substrate (x402 [4], A2A [6]) on which agents already transact.

Three baselines make the argument concrete. (A) Per-agent internal indexing with USDC settlement: each agent computes its own cost index privately and converts at pay time. This performs Step 1 privately but skips Step 2 entirely; quotes from heterogeneous agents are incomparable without trusted middleware, smart contracts cannot enforce compute-aligned budgets, and multi-hop chains cannot atomically commit against a shared budget. (B) Centralized accounting service: a trusted operator publishes indices and settles off-chain, introducing a single point of failure for liveness, censorship, and bookkeeping; it performs Step 1 publicly but only partially realizes Step 2. (C) On-chain index-linked tokenized claim (ClawCoin): the index is published on-chain by an oracle protocol, and a token whose NAV is defined by the index routes through standard transfer logic. All agents read the same NAV, quotes are directly comparable, delegation chains settle as a single atomic transaction, and index updates, mint/redeem, and reserve state are observable, with risk controls enforced by code. This is the only baseline that performs both steps. We do not claim tokenization is the only design that exposes a compute-aligned unit; we claim it is the minimal primitive that simultaneously provides a shared numeraire, composability, atomic multi-hop settlement, and auditability when no common operator is trusted.

3.3 Threat Model↩︎

Participants. An oracle protocol (either a \(k\)-of-\(n\) threshold committee or a decentralized oracle network, DON) publishes the index on-chain; a vault contract holds reserve collateral and exposes mint and redeem; a risk-control module enforces coverage, throttles, drift caps, and pause logic; governance updates the basket, vendor registry, and parameters under timelock; agents quote, transact, and settle in ClawCoin.

Adversary. A polynomial-time \(\mathcal{A}\) may: control up to \(f\) of \(n\) vendor price endpoints (biased, stale, or withheld); compromise a strict minority of the oracle committee or, under the DON model, fewer reporters than the safety threshold; reorder, sandwich, or front-run mint/redeem around oracle updates (MEV); submit governance proposals subject to voting and timelock; act as a strategic vendor adjusting public prices in response to basket inclusion; and trigger redemption rushes through multiple identities up to available liquidity.

Trust assumptions. We assume an honest oracle threshold; a censorship-resistant base chain with bounded confirmation delay; at least \(n - f\) honest vendor endpoints with non-adversarial public postings; safe cryptographic primitives; and timelock and quorum rules that the adversary alone cannot bypass. Out of scope: physical compromise causing all vendors to collude on the same biased price; correlated regulatory shutdown of reserve custodians; base-chain bugs or 51% attacks; off-chain leakage of nonpublic enterprise pricing.

Security goals. We target four properties, formalized in Section 5. G1. Index integrity: the published index \(\bar{I}_t\) deviates from the honest index by an amount bounded by the adversary’s vendor share \(f/n\) and the chosen robust estimator. G2. NAV faithfulness: the on-chain NAV deviates from the honest NAV by an amount bounded by staleness, smoothing, and the per-epoch drift cap. G3. Redeemability under stress: for index trajectories with per-epoch growth bounded by \(\delta_{\max}\), reserve coverage \(\Gamma_t\) remains above \(\gamma_{\min}\) for at least \(T\) epochs under replenishment rate \(\rho\). G4. Liveness and freshness: honest updates are confirmed within bounded delay \(\tau\) and consumers can detect violations and trigger fallbacks. We treat ClawCoin as a security-engineered substrate; full game-theoretic equilibrium properties are not targeted.

3.4 Design Overview↩︎

ClawCoin realizes both steps of Section 3.2 in five components separated by an explicit off-chain/on-chain trust boundary. Vendor data sources expose public prices for included (model, vendor) pairs. The off-chain index calculator fetches, validates, and aggregates observations into a basket value, applies smoothing and a per-epoch drift cap, and produces a signed attestation. The on-chain oracle publishes the attested value with timestamp, basket version, and a Merkle commitment to the underlying observations, enforcing freshness and writer authentication. The token and vault maintain supply, mint, and redeem against reserve collateral at the current NAV, and expose standard transfer semantics. The risk-control and governance module enforces coverage, mint throttling, auto-pause, drift caps, and basket/parameter updates under timelock. The chain verifies that a published value comes from an authorized oracle; its validity with respect to honest market prices depends on observable off-chain data and the published basket configuration. Section 4 makes each layer concrete; Section 5 states the security properties; Sections 6 through 7 evaluate the prototype, simulator, and the OpenClaw testbed.

4 ClawCoin Protocol Design↩︎

The design realizes the two-step argument of Section 3.2 as four protocol layers. (i) The cost index anchors the unit to the API-token costs that determine whether agents can keep operating; it is robust to adversarial vendor minorities and bounded in per-epoch movement. (ii) The oracle carries that anchor across the trust boundary onto the chain, with signed attestation, freshness, and writer authentication. (iii) The NAV-based vault turns the anchor into a redeemable, transferable token, with coverage thresholds and rate-limit controls protecting holders. (iv) The settlement layer exposes the property that justifies tokenization: agents quote, escrow, and atomically settle multi-hop delegations in the unit their operations consume, inside the same composable substrate as existing agent payment rails. Two algorithms summarize the protocol: Algorithm 1 for index publication and Algorithm 2 for vault state-changing operations.

Notation. \(M\) is the set of included models and \(V(m)\) the vendors offering model \(m\). \(K = \{(\alpha_k, \beta_k, \theta_k)\}_{k=1}^{|K|}\) is a vector of standardized workload classes with normalized input/output token counts \(\alpha_k, \beta_k\) and basket-level weights \(\theta_k \ge 0\) summing to one. Vendors expose per-token input and output prices \(P^{\text{in}}_{m,v,t}\) and \(P^{\text{out}}_{m,v,t}\). We write \(\bar{I}_t\) for the smoothed, drift-capped index published on-chain, \(I_0\) for its initialization, and \(\mathrm{NAV}_t = \bar{I}_t / I_0\). Reserves are denominated in a fiat-backed collateral such as USDC.

4.1 Cost Index Construction↩︎

The index is a basket built in three stages: per-(model, vendor) cost over standardized workloads, robust per-model aggregation across vendors, and a weighted basket smoothed and drift-capped before publication.

Standardized workloads. Modern inference is priced by input and output tokens, but real workloads have heterogeneous shapes. We maintain a vector of workload classes and treat \(\theta_k\) as a basket mix. A class-\(k\) request on \((m,v)\) has nominal cost \(C^{(k)}_{m,v,t} = \alpha_k P^{\text{in}}_{m,v,t} + \beta_k P^{\text{out}}_{m,v,t}\), and the per-pair basket-aware cost aggregates the mix: \[C_{m,v,t} \;=\; \sum_{k=1}^{|K|} \theta_k \bigl(\alpha_k P^{\text{in}}_{m,v,t} + \beta_k P^{\text{out}}_{m,v,t}\bigr). \label{eq:cost}\tag{2}\] Because \(\theta_k\) is a public governance parameter, the workload assumption is auditable and explicitly versioned.

Robust per-model aggregation. A model is offered by multiple vendors at prices that differ across backends, contracts, and promotions. Let \(\mathcal{C}_{m,t} = \{C_{m,v,t}\}_{v \in V(m)}\) and \(n_m = |\mathcal{C}_{m,t}|\). The per-model robust cost \(\tilde{C}_{m,t}\) is selected by governance: \[\begin{align} \tilde{C}^{\text{med}}_{m,t} &= \operatorname{median}(\mathcal{C}_{m,t}), \tag{3}\\ \tilde{C}^{\text{trim}(q)}_{m,t} &= \operatorname{trimmedMean}_q(\mathcal{C}_{m,t}), \tag{4}\\ \tilde{C}^{\text{mad}}_{m,t} &= \operatorname{mean}\bigl\{\, c \in \mathcal{C}_{m,t} : |c - \operatorname{median}(\mathcal{C}_{m,t})| \le \kappa \cdot \operatorname{MAD}(\mathcal{C}_{m,t}) \,\bigr\}, \tag{5} \end{align}\] where \(\operatorname{MAD}\) denotes the median absolute deviation. The default is the median: its \(50\%\) breakdown point yields the clean integrity bound of Section 5.1, so the worst-case deviation under \(f < n_m / 2\) adversarial vendors is determined by the spread of honest reports rather than by adversarial values. Trimmed mean trades robustness (\(q\) breakdown) for variance reduction; MAD-filtered mean retains \(50\%\) breakdown with tighter variance. Any model with \(n_m < n_{\min}\) is dropped for that epoch.

Cross-model basket and bounded publication. With basket weights \(w_m \ge 0\), \(\sum_m w_m = 1\), the raw index \(I_t = \sum_{m \in M} w_m \tilde{C}_{m,t}\) is a compute analog of a price-weighted equity index; usage-weighted variants \(w_m \propto u_m\) give capitalization-style analogs with the standard stability and responsiveness trade-off. We then apply an exponential moving average (EMA) and clip per-epoch movement: \[\hat{I}_t \;=\; \lambda \bar{I}_{t-1} + (1-\lambda) I_t, \quad \bar{I}_t \;=\; \operatorname{clip}\bigl(\hat{I}_t,\; (1-\delta_{\max})\bar{I}_{t-1},\; (1+\delta_{\max})\bar{I}_{t-1}\bigr). \label{eq:smooth}\tag{6}\] \(\lambda\) controls convergence speed and \(\delta_{\max}\) bounds per-epoch movement; clipped excess is absorbed in later epochs. These knobs mirror the rate-limit pattern of mature stablecoin and lending protocols, give the risk module a known upper bound on liability growth (used in Theorem 1), and define the publication channel that the on-chain oracle additionally enforces as defense-in-depth (Algorithm 1). The index tracks inference cost rather than model quality: embedding quality would require a continuously updated cross-domain notion of task utility and would create governance disputes over benchmark choice. We separate measurement from differentiation; quality is priced in markets through reputation, contracting, and observed outcomes.

4.2 Oracle Protocol↩︎

The oracle separates off-chain index computation from on-chain publication. Only the publication step is trusted by contracts; the computation step is auditable by anyone with access to the underlying public data. Each oracle node runs the off-chain pipeline of Section 4.1, packages an attestation \(\sigma_t = (\bar{I}_t, t, \text{basketVersion}, h_t, \text{nodeId},\\ \text{sig})\) where \(h_t\) is a Merkle root over its observation set, and submits it on-chain. The contract enforces writer authentication, monotonic timestamps, the per-epoch drift cap as defense-in-depth on equation 6 , and maximum staleness \(\tau\) beyond which the value is treated as stale and the risk module pauses mint and queues redeem.

Two trust models swap behind the same on-chain interface. In the threshold-signature committee, a \(k\)-of-\(n\) committee with a BLS or Schnorr scheme produces a combined attestation accepted when \(k\) honest nodes agree; the chain verifies one signature per epoch. In the decentralized oracle network, independent reporters submit attestations under an aggregator (e.g., Chainlink off-chain reporting [29]), and the aggregator commits the median of reports. The committee minimizes on-chain cost; the DON minimizes trust in any specific quorum. Both produce the same on-chain artifact.

Figure 1: IndexPublication: off-chain computation and on-chain publication at epoch t.

4.3 Token, NAV, Vault, and Risk Controls↩︎

ClawCoin is an ERC-20-compatible token whose value semantics are set by the on-chain index. Define \(\mathrm{NAV}_t = \bar{I}_t / I_0\), with \(\mathrm{NAV}_0 = 1\). A deposit of collateral \(x\) receives \[M_t(x) \;=\; x / \mathrm{NAV}_t \label{eq:mint}\tag{7}\] newly minted ClawCoin tokens, and burning \(y\) tokens returns \(R_t(y) = y \mathrm{NAV}_t\) of collateral. With reserves \(A_t\) and supply \(S_t\), the coverage ratio is \[\Gamma_t \;=\; A_t / (S_t \cdot \mathrm{NAV}_t), \label{eq:coverage}\tag{8}\] enforced above \(\gamma_{\min} > 1\) on every state-changing call. ClawCoin is thus an index-linked redeemable claim against a fiat-backed reserve, with liabilities that move with the index; closer in spirit to an ETF redemption mechanism with a cost-driven NAV than to a fixed-peg stablecoin.

Four controls compose Algorithm 2’s pre-call check. Coverage gating: mint requires \(\Gamma_t \ge \gamma_{\min}\) post-application; redeem checks coverage, but, when violated, queues rather than reverts so the claim is preserved. Adaptive mint throttle: the per-epoch mint cap contracts with coverage headroom \(h_t = \max(0, \Gamma_t - \gamma_{\min})\) via \(C^{\text{mint}}_t = C^{\text{mint}}_0 \cdot \min(1, h_t / h^\star)\), so new issuance cannot eat the buffer that protects existing holders; the redeem cap \(C^{\text{red}}_t = C^{\text{red}}_0\) stays constant so redemption capacity is preserved under stress. Auto-pause: StalePause halts mint when the oracle is beyond \(\tau\); Paused halts all state changes when \(\Gamma_t < \gamma_{\text{pause}} \le \gamma_{\min}\). Defense-in-depth: the on-chain drift cap duplicates the off-chain bound of equation 6 . Together, these shift shock absorption from holders onto the would-be minter.

Figure 2: VaultOperation: mint, redeem, and pre-call risk check.

4.4 Settlement Semantics↩︎

ClawCoin is a standard transferable token, and this subsection is the entire payoff of tokenizing the cost anchor: what trading the anchor actually looks like at the smart-contract layer. Agents quote services in ClawCoin and pay through ordinary transfers; because every agent reads the same NAV, quotes are directly comparable in compute units, eliminating the trusted middleware required by Baseline A in Section 3.2.

The atomic multi-hop helper handles delegation chains. Given a vector of (recipient, amount) tuples, it performs all transfers in a single transaction; any revert (insufficient balance, exceeded budget, or a downstream subtask failure signaled by a participating contract) reverts the entire bundle. This is a thin construction over standard transfer logic that is unavailable in Baseline A, where each hop converts off-chain via a private index. An escrow contract holds ClawCoin per task and releases funds on a signed receipt from the executing agent or refunds on timeout, again as one atomic transaction. A workflow originator can additionally pre-commit a maximum ClawCoin budget \(B^\star\) to the escrow, which rejects any subtask payment that would exceed the remaining budget at the current NAV, namely a contract-enforced, compute-aligned budget constraint that internal accounting cannot supply.

ClawCoin coexists with fiat-backed stablecoins: the reserve is in USDC (or analogous collateral), and mint/redeem convert between USDC and ClawCoin at NAV. Hybrid agents hold USDC for outside-system payments and ClawCoin for compute-aligned coordination inside the agent economy. The resulting property set (shared NAV, atomic multi-hop settlement, contract-enforced budgets, auditable reserve, and risk state) is exactly what motivates moving the unit of account on-chain. A trusted off-chain service can replicate the first three properties under operator trust, but only an on-chain implementation provides the fourth and the censorship-resistance that follows. Section 5 returns to this point and states what each layer guarantees against the adversary of Section 3.3.

5 Security Analysis↩︎

We analyze ClawCoin under the threat model of Section 3.3 and the design of Section 4. Section 5.1 states bounded-adversary properties for the four security goals (G1) through (G4); Section 5.2 walks through the principal attack scenarios; Section 5.3 lists what the design does not cover. Bounds depend on parameters chosen by governance; Section 7.4 estimates them empirically on the running prototype.

5.1 Bounded-Adversary Properties↩︎

Index integrity (G1). Let \(C^{\text{honest}}_{m,t}\) denote the honest reference cost for model \(m\) at epoch \(t\) (the representative cost that would emerge from prices honest vendors post) and let \(\mathcal{A}\) control \(f\) of \(n_m\) vendors for model \(m\). With the median estimator (equation 3 ) and \(f < n_m / 2\), per-model error is bounded by the spread of honest reports, independently of how extreme adversarial reports are.

Lemma 1 (Median breakdown). If \(f < n_m / 2\), then for every adversarial strategy \[\bigl|\tilde{C}^{\text{med}}_{m,t} - C^{\text{honest}}_{m,t}\bigr| \;\le\; \max_{v \in V^{\text{honest}}(m)} \bigl|C_{m,v,t} - C^{\text{honest}}_{m,t}\bigr|.\]

Proposition 1 (Index integrity). Let \(\epsilon_m^{\text{hon}} = \max_{v \in V^{\text{honest}}(m)}\\ |C_{m,v,t} - C^{\text{honest}}_{m,t}|\) and assume \(f < n_m / 2\) for every active \(m\). The raw index satisfies \(|I_t - I_t^{\text{honest}}| \le \sum_{m \in M^\star} w_m \epsilon_m^{\text{hon}}\).

The trimmed mean has breakdown \(q\) with a corresponding bound on residual adversarial contribution; MAD-filtered mean retains \(50\%\) breakdown and tightens tail sensitivity through \(\kappa\), with an adversary conforming to the median/MAD envelope biasing the estimate by at most \(\kappa \cdot \operatorname{MAD}\). The threshold \(n_{\min}\) guarantees breakdown for every active model.

NAV faithfulness (G2). Let \(I_t^\star\) be the index an honest oracle would publish and \(\eta_t = \bar{I}_t - I_t^\star\) the publication deviation, bounded by whichever is smaller: the deviation any honest committee member would have produced, or the per-epoch drift cap \(\delta_{\max}\).

Proposition 2 (NAV deviation bound). With smoothing \(\lambda\), drift cap \(\delta_{\max}\), and oracle staleness at most \(\tau\), for any \(\theta \in [t, t+\tau]\), \[\Bigl|\mathrm{NAV}_\theta - \frac{I_\theta^\star}{I_0}\Bigr| \;\le\; \frac{1}{I_0}\Bigl(\sum_{s=0}^{\infty}(1-\lambda)\lambda^s |\eta_{t-s}| \;+\; \delta_{\max} \bar{I}_{t-1} \;+\; \mathrm{drift}(\tau)\Bigr),\] where \(\mathrm{drift}(\tau)\) is the maximum honest movement of \(I^\star\) over a window of length \(\tau\).

The bound decomposes into attenuated past publication errors via the EMA, the per-epoch drift cap, and the staleness-window movement of the honest index. Tightening \(\lambda, \delta_{\max}, \tau\) reduces NAV deviation at the cost of responsiveness or liveness: these are the knobs exposed to governance. Because the on-chain drift cap duplicates the off-chain bound, even a single-epoch majority compromise of the committee cannot exceed \(\delta_{\max}\) in one step.

Redeemability under stress (G3). Let \(g_t = \bar{I}_t / \bar{I}_{t-1} - 1\), so \(|g_t| \le \delta_{\max}\). Let \(\rho \ge 0\) be a reserve replenishment rate (\(A_{t+1} \ge A_t(1+\rho)\) when mint and redeem are net zero). Algorithm 2 allows mint only while post-application coverage \(\ge \gamma_{\min}\).

Lemma 2 (Bounded coverage decay). Holding supply constant and ignoring redemption, \(\Gamma_{t+1} \ge \Gamma_t (1+\rho)/(1+\delta_{\max}).\) If \(\rho \ge \delta_{\max}\) then coverage is non-decreasing.

Theorem 1 (Solvency under bounded stress). With \(\Gamma_0 \ge \gamma_{\min}\), per-epoch index growth bounded by \(\delta_{\max}\), replenishment rate \(\rho\), and the redemption queue processed under Algorithm 2, \(\Gamma_t \ge \Gamma_0 \bigl((1+\rho)/(1+\delta_{\max})\bigr)^{t}\). For any horizon \(T\), \(\Gamma_T \ge \gamma_{\min}\) provided \(\rho \ge (1+\delta_{\max})(\gamma_{\min}/\Gamma_0)^{1/T} - 1\), which becomes \(\rho \ge \delta_{\max}\) in the limit \(\Gamma_0 \to \gamma_{\min}\).

A deployable ClawCoin must either start with substantial headroom \(\Gamma_0 \gg \gamma_{\min}\) or adopt a yield-bearing reserve policy with \(\rho \gtrsim \delta_{\max}\); this is the same balance-sheet constraint familiar from index-linked liabilities, and is why ClawCoin is presented as collateral-backed rather than algorithmically stabilized. A coordinated redemption rush is bounded by \(C^{\text{red}}_t\) and the coverage check; queueing converts a rush into bounded FIFO outflows and avoids the bank-run dynamic of unbounded redemption while preserving the claim.

Liveness and freshness (G4). The oracle protocol admits any honest update within one confirmation and rejects updates older than \(\tau\) through the staleness gate. Consumers read both \(\bar{I}_t\) and \(t_{\text{on}}\) and detect violations directly. When StalePause fires, mint reverts and redeem is queued: the protocol trades temporary mint capacity for refusal to act on untrusted state. Under base-chain censorship resistance, an honest quorum can always re-establish freshness.

5.2 Adversarial Scenarios and Defenses↩︎

S1. Stale or delayed oracle data. The adversary delays submissions. The staleness gate \(\tau\) triggers StalePause, halting mint and queueing redeem; honest reporters recover by submitting a fresh attestation. During the pause, agents cannot mint: the protocol prefers refusal to action under an untrusted state.

S2. Manipulated price inputs and Sybil vendors. The adversary controls \(f\) endpoints and posts biased prices. The median (Lemma 1) tolerates \(f < n_m / 2\) with bounded error; \(n_{\min}\) excludes models with insufficient honest sources; \(h_t\) in \(\sigma_t\) enables ex-post audit. Sybil addition is restricted by the governance-controlled vendor registry. A coordinated posting that mimics honest dispersion can shift the median within the honest envelope; this residual is bounded by Proposition 1.

S3. Strategic provider repricing. A vendor with strong basket weight changes its public price to influence the index (analogous to benchmark-inclusion gaming). Smoothing and the drift cap attenuate single-vendor moves; governance can rebalance weights or remove the vendor under a timelock. Repeated small adjustments within the cap can still influence the long-run index; the design exposes this as a parameter rather than hiding it.

S4. Mint/redeem MEV. An adversary front-runs the oracle update transaction with a redeem (when the index is about to fall) or mint (when it is about to rise) and back-runs with the inverse. \(\delta_{\max}\) bounds per-epoch sandwich profit; per-epoch mint and redeem caps bound any single attacker’s turn; optional commit/reveal of oracle updates and per-block rate limits further reduce extractable value. Small per-epoch arbitrage is unavoidable in a fully transparent system; this is a bounded tax rather than an exploit.

S5. Redemption rush under index spike. A coordinated wave of redeem calls follows a permitted index increase. The coverage check and per-epoch redeem cap convert the rush into bounded outflows; FIFO queueing preserves the ordering; Theorem 1 bounds when \(\Gamma_t\) stays above \(\gamma_{\min}\). If index growth persistently exceeds replenishment, queued redemptions extend; auto-pause and governance pause provide the explicit fallback.

S6. Governance capture or proposal griefing. Malicious basket or parameter changes, or a flooded proposal queue. The timelock delays application, allowing observation and counter-action; quorum and voting rules require the attacker to share above the safety threshold; the emergency pause is held under a multisig. Long-horizon governance attacks remain a known risk class; the design minimizes the governance surface rather than expanding it.

S7. Hidden enterprise discounts (modeling gap). Public list prices may overstate realized cost for some agents. The index is by construction over public prices; deviation is observable as a gap between the published index and realized expenditure, which agents can price into quotes. This residual reflects the protocol’s choice to track a transparent but imperfect proxy.

5.3 Out of Scope↩︎

ClawCoin does not defend against: compromise of a vendor majority (\(f \ge n/2\) defeats any breakdown bound, and no robust aggregator can recover a faithful price from majority-adversarial inputs); correlated regulatory shutdown of reserve custodians; bugs in the base chain or threshold-signature library; long-horizon coordinated governance capture above the quorum; or off-chain coercion of agents. These are system-level limitations (Section 8). The composition of (G1) through (G4) is what justifies the on-chain tokenized design over the internal-indexing baseline of Section 3.2: each property is enforced by code in a specific layer, with parameters that are visible and tunable by governance and with empirical bounds estimated in Section 7.

6 Prototype and Implementation↩︎

We instantiate the protocol of Section 4 as a deployable prototype on a local Ethereum-compatible network, with an off-chain index calculator and a multi-agent client layer. The prototype is deliberately minimal: it implements the security-relevant logic (NAV-based mint/redeem, coverage check, oracle freshness, mint throttle, pause) and omits ancillary features such as cross-chain bridging, leveraged positions, or multi-collateral support.

6.1 Smart Contract Stack↩︎

The smart-contract stack comprises five contracts with disjoint responsibilities. IndexOracle stores \(\bar{I}_t\), \(t_{\text{on}}\), the active basket version, and \(h_t\); it exposes a writer-authenticated update that rejects backdated, drift-violating, or unauthorized submissions, a read accessor, and isStale(\(\tau\)). ClawCoinToken is an ERC-20-compatible token whose mint/burn hooks are restricted to the vault; standard transfer, allowance, and DeFi composability work through the unmodified interface. MintRedeemVault implements Algorithm 2: it holds reserve collateral, tracks per-epoch cap usage, maintains the pending-redeem queue, reads \(\bar{I}_t\) from the oracle, and consults the risk manager for caps and pause flags. RiskManager stores \(\gamma_{\min}, \gamma_{\text{pause}}, \delta_{\max}, \tau\), base caps, and \(h^\star\), holds the pause flags, and is invoked as the precondition check. Governance manages the basket, workload weights, oracle membership, and risk parameters under a timelock with explicit minimum delay, and holds the emergency pause under a separate multisig. The chain trusts writer authentication, coverage, and rate-limit enforcement, and timelock invariants; it does not trust the correctness of \(\bar{I}_t\) with respect to off-chain markets (auditable via \(h_t\)) or the absence of MEV in the surrounding chain (handled by per-epoch caps, drift cap, and optional commit/reveal updates).

6.2 Off-Chain Index Calculator↩︎

Each oracle node runs Algorithm 1. Versioned per-vendor adapters normalize public price schedules into \((P^{\text{in}}_{m,v,t}, P^{\text{out}}_{m,v,t})\); prices are fetched in parallel with timeouts, retries, and freshness timestamps; per-pair cost follows equation 2 ; robust per-model aggregation (equations 3 through 5 ) is gated by \(n_{\min}\); the basket, EMA, and drift-capped publication follow equation 6 . Before submission, the node builds a Merkle tree over observations, signs \(\sigma_t\), and dispatches it to the on-chain oracle (committee path) or the aggregator (DON path). Vendor adapters follow the same timelocked governance path as basket changes; periodic replay jobs reconstruct the index from stored roots for third-party audit.

6.3 Deployment Target↩︎

We target an Ethereum L2. Multi-hop delegation requires many small-value sub-second transfers, for which L2 per-transaction costs make the atomic settlement primitive practical; ERC-20 and standard signature verification keep the prototype surface area on widely audited libraries; and L2s host the same DeFi primitives (escrow, AMMs, lending) that hybrid ClawCoin/USDC agents may use. The protocol is otherwise chain-agnostic: the security analysis does not depend on a specific execution environment beyond a censorship-resistant base chain.

6.4 OpenClaw Integration↩︎

We integrate ClawCoin with OpenClaw, a multi-agent system in which collaborating agents quote, execute, and delegate compute-intensive subtasks over a shared messaging bus. OpenClaw is described and evaluated separately; here we state only the integration interface. Each agent is provisioned with an EOA and a ClawCoin balance; its protocol-level identity is its address, and signed messages bind off-chain quotes and receipts to on-chain settlement.

OpenClaw exposes a pluggable settlement interface with three backends. usdc-fiat quotes and pays in USDC with fiat denominated budgets (the Fiat baseline). usdc-internal-index quotes and pays in USDC but lets each agent maintain a private compute cost index and convert at quote time (the USDC + internal-indexing baseline of Section 3.2). clawcoin quotes, pays, and settles in ClawCoin, using the atomic multi-hop helper for delegation chains and the escrow contract for asynchronous execution. Because the same workflow, policies, and task graph are replayed under each backend with no change to agent logic, the regime comparison is clean. Under clawcoin, an orchestrator gathers ClawCoin-denominated quotes, selects executors subject to a pre-committed ClawCoin budget, locks the budget in escrow, dispatches subtasks, and on receipt of signed completions releases payment via the atomic bundle, with the entire chain committing or reverting together.

7 Evaluation↩︎

ClawCoin is presented as a compute-cost-aligned unit of account for decentralized agent economies, and the evaluation is organized around that claim. Section 7.1 describes the prototype, simulator, and OpenClaw testbed. Section 7.2 reports single-agent stability, pricing, and market-feasibility properties under four monetary regimes. Section 7.3 is the main result: multi-agent workflows, long-horizon economy survival, and external resource procurement on the OpenClaw testbed, where the value of moving the unit of account on-chain is most visible. Section 7.4 compresses the adversarial and solvency tests into three minimal sanity checks confirming that the risk module behaves as specified.

7.1 Setup and OpenClaw Testbed↩︎

On-chain prototype. The five-contract stack of Section 6.1 runs on a local Ethereum-compatible development network. The off-chain calculator of Section 6.2 runs against synthetic vendor adapters whose price trajectories are controllable from the simulator, so the same trajectory replays across regimes.

Multi-agent simulator. A market simulator drives task arrivals, quoting, execution, and settlement under a chosen regime; provider costs evolve through stochastic fluctuations and discrete repricing shocks. Each agent maintains a treasury, provider mix, markup policy, and quoting rule, and may participate in delegation chains.

OpenClaw testbed. For workflow-level experiments we deploy OpenClaw on a dedicated hardware testbed. Each OpenClaw agent runs in its own Docker container on a single x86 host; each container holds exactly one agent with its wallet, settlement adapter, role-specific prompt and tooling, and a local SQLite store. Inter-agent communication uses a shared message bus. The host has no GPU: inference is provided by a separate server with four NVIDIA RTX 6000 Pro GPUs (96  GB VRAM) running an OpenAI-compatible endpoint that serves GLM-4.7 Flash. All agents issue completions through this single endpoint, so the cognitive layer is held constant across regimes and only the settlement backend changes between runs.

OpenClaw agent roles. We instantiate six roles: a planner decomposes tasks, quotes, and orchestrates delegation; a retriever performs structured search over local/remote indices; a tool-use agent invokes external APIs and sandboxes; a coder runs short programs against a Python sandbox; a verifier grades artifacts against acceptance criteria; and a synthesizer merges retrieved evidence and tool outputs into the final response. Each role binds a fixed prompt, tool whitelist, context window, and published per-call ClawCoin price quote signed along with completion receipts. Roles are otherwise homogeneous: same GLM-4.7 Flash backend, same wallet/identity primitives, same adapter interface.

Settlement backends and regimes. The OpenClaw runtime exposes usdc-fiat, usdc-internal-index, and clawcoin (Section 6.4). For simulator experiments we compare four regimes: Fiat (USDC), Raw-cost (quotes track instantaneous provider-specific prices without a shared numeraire), USDC + internal indexing (per-agent private index, Baseline A of Section 3.2), and ClawCoin. Metrics group into stability (capacity variance, drawdown, recovery, CoV), coordination (quote volatility, repricing frequency, cross-agent dispersion, price consistency), market/workflow feasibility (acceptance/completion, budget-overrun, partial-settlement, latency), and risk checks (oracle-staleness, vendor-manipulation, redemption-burst).

7.2 Single-Agent Stability, Pricing, and Market Feasibility↩︎

We first verify in the simulator that ClawCoin stabilizes per-agent budgets, reduces pricing friction across heterogeneous agents, and improves market feasibility under explicit budget constraints. These are properties that internal indexing can partially recover per-agent; the multi-agent results of Section 7.3 then expose what internal indexing cannot do.

Execution capacity. A representative agent is endowed with a fixed nominal treasury under each regime, and at each step, we measure the standardized computational work the treasury can fund as the underlying compute index \(\bar{I}_t\) moves through stochastic fluctuations and discrete shocks. Figure 3 and Table 2 tell a single qualitative story: ClawCoin holds machine purchasing power essentially constant by construction; USDC + internal indexing recovers most of the per-agent stability because the agent privately reprices against its own basket; Fiat and Raw-cost both suffer large drawdowns and slow recovery because their nominal balances do not move with the cost they must pay. The gap between internal indexing and ClawCoin is small in the single-agent view and widens sharply once coordination enters.

Figure 3: Execution capacity of a fixed nominal treasury under dynamic compute costs. Fiat and raw-cost accounting suffer substantial purchasing-power instability after shocks; ClawCoin preserves stable capacity through index-linked denomination.
Table 2: Single-agent execution capacity under compute-cost shocks. Capacity normalized so that the noise-free reference treasury equals 1000.
Regime Mean Var. Drawdown Recov. CoV
Fiat 918 12,840 24.7% 19 0.124
Raw-cost 884 17,310 31.5% 24 0.149
USDC + internal 987 1,840 6.8% 6 0.043
1000 320 1.9% 1 0.018

Pricing stability and repricing overhead. A market of heterogeneous service-providing agents quotes a standardized request under common cost shocks; agents differ in provider mix and markup policy. Figures 4 through 5 visualize cross-agent dispersion and repricing behavior; Table 3 summarizes the four-regime comparison on five metrics. ClawCoin yields the lowest quote volatility, the fewest repricing events, and the tightest cross-agent dispersion. USDC + internal indexing improves over Fiat on volatility and repricing, but its cross-agent dispersion and price-consistency score stay materially worse than ClawCoin’s because each agent uses its own basket: absent a shared numeraire, per-agent stabilization cannot collapse quotes onto a common scale, even when each agent’s own accounting is stable.

Figure 4: Cross-agent quote dispersion across regimes. Raw-cost pricing exhibits the largest dispersion; ClawCoin reduces spread by internalizing common compute movements into the shared unit.
Figure 5: Repricing events per agent across regimes. Fiat and raw-cost require repeated nominal updates; ClawCoin absorbs common movements at the unit-of-account layer.
Table 3: Pricing stability and repricing overhead.
Regime Vol. Repr./100 Disp. Consist. Drift
Fiat
Raw-cost
USDC + int.

Task-market feasibility under budget constraints. Customers submit tasks with heterogeneous willingness to pay; each task may require one or more service stages from different agents; a task is accepted if the aggregate quote fits within the customer’s budget. Table 4 shows that ClawCoin raises acceptance and completion and collapses budget overruns, primarily because compute-aligned quotes match compute-aligned customer budgets. USDC + internal indexing narrows the gap to Fiat but cannot eliminate budget mismatches: customers and providers still reason in different units.

Table 4: Task-market feasibility. Mean price normalized to the Fiat regime.
Regime Accept Compl. Overrun Price Rej.
Fiat % % % 1.00x %
Raw-cost % % % 0.98x %
USDC + int. % % % 1.03x %
% % % 1.02x %

7.3 Multi-Agent Workflows and OpenClaw Integration↩︎

The multi-agent results are the main system contribution of the evaluation. They directly test the claim of Section 3.2 that internal indexing alone cannot supply atomic multi-hop settlement, contract-enforced budgets, and a shared numeraire for cross-agent coordination.

Workflow-level evaluation. The simulator is extended with explicit multi-step delegation chains of depth \(D \in \{1,2,4,8\}\). Tasks have stage-level subtasks with stage-level prices, budgets are pre-committed at submission, and mid-flight cost shocks may push aggregate cost above the budget. Under ClawCoin, the workflow uses the atomic multi-hop helper and the escrow budget gate (Section 4.4); under USDC + internal indexing, each hop converts via the originator’s private index with off-chain reconciliation; under Fiat and Raw-cost each hop denominates in USDC. Table 5 reports the aggregate comparison, and Table 6 reports the depth breakdown. Two qualitative findings stand out. First, ClawCoin drives partial-settlement to zero by construction (any failed hop reverts the bundle) and eliminates budget overruns through the pre-commit gate; both are contract-level properties that the non-tokenized baselines cannot replicate without trusted middleware. Second, failure rates compound with depth in every regime, but the slope differs sharply: Fiat and Raw-cost grow steeply because mid-flight shocks compound across hops with no atomic primitive to bind them; USDC + internal indexing grows more slowly but remains vulnerable to coordination failures at \(D=8\); ClawCoin grows almost linearly with depth because each hop settles in the same compute-aligned unit and the bundle is all-or-nothing.

Table 5: Workflow-level evaluation across delegation depths \(D \in \{1,2,4,8\}\). Settlement latency normalized to Fiat.
Regime Fail Over. Partial Err. Lat. p95
Fiat % % % 1.00x 1.42x
Raw-cost % % % 0.96x 1.51x
USDC + int. % % % 1.12x 1.39x
% % % 1.08x 1.17x
Table 6: Workflow failure rate by delegation depth.
Depth Fiat Raw USDC + int.
\(D=1\) 3.2% 5.8% 2.7% 1.1%
\(D=2\) 6.7% 10.9% 4.4% 1.8%
\(D=4\) 11.8% 16.5% 7.0% 2.5%
\(D=8\) 17.6% 24.8% 10.8% 3.2%

End-to-end OpenClaw workflows. We replay representative workflows on the OpenClaw testbed under each backend without changes to agent logic. Three workflow categories are used: document analysis (planner \(\to\) retriever \(\to\) synthesizer), structured retrieval (planner \(\to\) retriever \(\to\) verifier \(\to\) synthesizer), and multi-tool research (planner \(\to\) retriever \(\to\) tool-use \(\to\) coder \(\to\) verifier \(\to\) synthesizer). Table 7 reports workflow success, protocol revert rate, the mean number of distinct agents per task, and realized cost drift against the originator’s pre-commit estimate. clawcoin improves workflow success and collapses protocol reverts and cost drift. The gain comes entirely from the settlement and budget layer, not from any change in the cognitive layer: all three backends share the same GLM-4.7 Flash endpoint and the same per-role prompts, so what shrinks are the mid-flight repricing mismatches and reconciliation failures that the non-atomic baselines expose.

Table 7: End-to-end OpenClaw workflow evaluation across settlement backends.
Backend Success Revert Agents Drift
usdc-fiat % %
usdc-internal-index % %
clawcoin % %

Long-horizon economy survival. To probe coordination value over longer horizons, we instantiate eight OpenClaw agents with heterogeneous initial treasuries and role specializations and run a 500-round market: tasks arrive stochastically, agents quote, the planner delegates, executors deliver, and treasuries update by equation 1 . An agent is declared bankrupt and exits if its treasury cannot cover expected operating costs over the next three rounds. Table 8 shows that under clawcoin, more agents survive, median treasuries grow rather than shrink, wealth distribution is less concentrated, and inter-agent trade volume and delegation rate rise substantially. The mechanism is not an external subsidy: every backend runs against the same task-arrival process and the same model. The mechanism is that a shared compute-aligned numeraire makes cross-agent quotes legible enough for delegation to be profitable, which raises equilibrium trade volume and avoids the cascading bankruptcies that follow from mispriced delegation under fiat denomination.

Table 8: OpenClaw economy survival over 500 rounds. Trade volume normalized to the Fiat backend.
Backend Surv. \(\Delta T\) Gini Vol. Deleg.
usdc-fiat /8 \(-18.7\%\) 1.00x
usdc-internal-index /8 \(-9.4\%\) 1.12x
clawcoin /8 \(+6.8\%\) 1.34x

OpenClaw resource procurement. We extend OpenClaw with a remote-execution adapter that exposes burstily priced GPU time as an executable subtask; three locally provisioned OpenClaw agents and three remotely provisioned OpenClaw agents run side by side, and the planner chooses between local and remote execution at each subtask. Table 9 shows that the dominant pain point in the integration is not payment transport (USDC moves cleanly across backends) but procurement under a shared compute-aligned budget. Under clawcoin, mid-task repricing incidents collapse, completed workflows rise, and spend predictability across identical workflow classes approaches one. The compute-aligned unit lets the planner reason about local-versus-remote substitution in a single budget unit, which is the missing-primitive argument of Section 3.2 applied to OpenClaw’s external resource market.

Table 9: OpenClaw GPU-resource procurement across settlement backends.
Backend Attach Deleg. Repr. Compl. Pred.
usdc-fiat % % % %
usdc-internal-index % % % %
clawcoin % % % %

Across all four multi-agent experiments, the qualitative pattern is consistent: moving the unit of account on-chain is what converts compute-aligned accounting into compute-aligned coordination. USDC + internal indexing recovers most of the per-agent stability but cannot collapse cross-agent dispersion, cannot atomically bind multi-hop delegation, cannot contract-enforce a shared compute budget, and cannot sustain cooperative market dynamics over long horizons. ClawCoin does all four, and the gap widens monotonically with delegation depth, agent heterogeneity, and time horizon.

7.4 Risk Sanity Checks↩︎

The risk module is engineering hygiene, not the paper’s main contribution. We therefore reduce the adversarial and solvency evaluation to three sanity checks that confirm the properties of Section 5 hold on the running prototype, and defer larger adversarial sweeps to future work. Table 10 groups the three checks.

Stale oracle. We freeze the update channel. Beyond the staleness threshold, IndexOracle.isStale returns true, mint is rejected, and incoming redeem requests are queued rather than executed against an untrusted price. The contract resumes normal operation on the next fresh attestation, exactly as specified in Section 4.3.

Single-vendor manipulation. A single vendor in a basket of five posts has a \(+50\%\) biased input price. Under the mean estimator, the published index absorbs the bias proportionally; under the median (the protocol default), the deviation collapses by more than an order of magnitude, consistent with Lemma 1; with the on-chain drift cap engaged, per-epoch deviation is further bounded to the cap. The check is deliberately small: its role is to verify that the median-plus-drift-cap composition behaves as expected on the prototype.

Redemption burst. We drive the prototype through three index trajectories with a coordinated redemption rush: a mild shock with one drift-capped step, a two-step spike, and sustained capped growth combined with a low replenishment rate. Under the mild shock, the queue drains cleanly. Under the two-step spike, most redemptions are honored within a short horizon, and the rest queue. Under sustained growth with low replenishment, the auto-pause condition engages as predicted by Lemma 2. Across all three, no involuntary loss to redeemers is observed; the queue absorbs short rushes, and auto-pause is the last line of defense under sustained adverse motion.

Table 10: Risk sanity checks on the running prototype. All three confirm that the risk module behaves as designed.
Check Condition Observed behavior Bound from §[sec:sec:security] Honored / safe
Stale oracle Beyond staleness threshold (4 epochs) Mint rejected; redeem queued; no stale-state settlement G4, Algorithm [alg:vault] 100% queued; recovers next epoch
Vendor bias One vendor of five posts \(+50\%\) input bias Mean: \(+11.8\%\); median: \(+1.9\%\); +drift cap: \(+1.0\%\)/epoch Lemma [lem:median], Eq. [eq:smooth] Median + cap suppress bias
Redemption burst Mild / two-step spike / sustained capped growth Queue peak 18 / 63 / 141; pause on the third Lemma [lem:coverage], Theorem [thm:solvency] 100% / 92% / 61% within 5 epochs

These results are protocol hygiene. The system claim of ClawCoin rests on the multi-agent results of Section 7.3, where moving the unit of account on-chain is what converts compute-aligned accounting into compute-aligned coordination.

8 Discussion, Limitations, and Future Work↩︎

8.1 Discussion↩︎

Operational asset, not speculative instrument. ClawCoin is intended as operational infrastructure for decentralized agent economies, not as a retail investment product. Demand arises from transactional utility (agents need a stable unit for budgeting, quoting, and atomic multi-hop settlement of compute-bound workflows) rather than from appreciation expectations. Any transferable asset can be traded, but speculation is not required for the system to produce utility, and the risk module’s per-epoch caps and pause logic deliberately bound secondary-market velocity.

Cost-only by design. As argued in Section 4.1, the index tracks inference cost rather than model quality, which is priced separately in markets through reputation, contracting, and observed outcomes. A consequence is that the unit of account alone cannot resolve information asymmetry about service quality: two agents that quote identical ClawCoin prices for the same workload may still deliver meaningfully different outputs, and the economy must layer reputational and contractual signals on top of the compute-aligned unit.

Regulatory posture. Because ClawCoin is redeemable against reserve collateral and may circulate as a transferable digital asset, its legal treatment will depend on jurisdiction and deployment model; it may fall under stored-value, prepaid-instrument, or reserve-backed-claim regimes in different settings, and consortium or enterprise deployments among known counterparties have a different profile from public circulation. We treat compliance architecture as a deployment-layer concern rather than a property of the monetary design itself.

Toward fully machine-native pricing. The current index ingests prices quoted in fiat, reflecting how most commercial inference is priced today and enabling transparent list-price construction. As compute markets evolve toward direct machine-to-machine pricing, native compute auctions, or tokenized GPU markets, the same pipeline can ingest those inputs without protocol redesign, and the unit becomes more fully machine-native.

8.2 Limitations↩︎

The index is defined over public list prices and cannot capture hidden enterprise discounts (Section 5.2, S7), which bounds how closely the index tracks any individual agent’s realized cost. The integrity bound in Proposition 1 requires \(f < n_m / 2\) honest vendors per active model, and the NAV bound in Proposition 2 assumes an honest oracle threshold; beyond these, guarantees degrade gracefully (auto-pause on detected drift; redemption queueing) but cannot be tightened by parameter choice alone. Theorem 1 bounds coverage under bounded per-epoch growth and a positive replenishment rate, but persistent cost increases above the replenishment rate cannot be absorbed indefinitely by a passive collateral pool, so deployable systems require either substantial overcollateralization, sponsor-seeded buffer capital, or yield-bearing reserve management. The standardized workload classes approximate rather than replace real workloads, so agents heavily reliant on non-token components (caching, batching, hardware tiers, network tail latency) experience a weaker match; the basket can be widened but full alignment is unattainable in a publicly verifiable way. Finally, Section 5.3 enumerates the threats not covered (full vendor collusion, correlated regulatory shutdown, base-chain bugs, long-horizon governance capture) and the current evaluation uses a modest-scale prototype, simulator, and testbed; larger live deployments are left to future work.

8.3 Future Work↩︎

Several directions follow naturally. Zero-knowledge attestations binding index inputs to authenticated provider responses would upgrade Proposition 1 to a bound rooted in cryptographic assumptions rather than vendor independence. Replacing the threshold committee with a permissionless DON (Pyth or UMA style) and quantifying the resulting latency/freshness/cost trade-offs is a natural deployment-track extension. Extending the workload basket to capture latency tiers, throughput SLAs, context-window pricing, and bundled enterprise contracts, and connecting it to tokenized GPU and inference auctions, would tighten the gap between the index and realized cost. On the analysis side, equilibrium analysis of provider strategic repricing, governance-attack incentives, and MEV around oracle updates would complement the bounded-adversary results of Section 5. An end-to-end OpenClaw deployment that closes the loop between Section 7.3 and a small live deployment, including regulated and consortium settings, is the most concrete operational next step.

9 Conclusion↩︎

Decentralized agent economies have an emerging payment substrate but lack a representation of machine-native value: a tradable, composable, contract-readable unit aligned with the computational cost that bottlenecks agent execution. We argued that internal cost indexing over stablecoin rails cannot supply this primitive in a decentralized setting, and we presented ClawCoin, a collateral-backed, compute-indexed tokenized unit of account whose four protocol layers (robust basket index, attested oracle, NAV-based mint/redeem vault with risk controls, and on-chain atomic multi-hop settlement) are designed under a concrete adversary model. We stated bounded-adversary properties for index integrity, NAV faithfulness, redeemability under stress, and liveness, and walked through the principal attack scenarios. A prototype on an Ethereum-compatible network, a multi-agent simulator, and a six-role OpenClaw testbed show that moving the unit of account on-chain is what converts compute-aligned accounting into compute-aligned coordination: cross-agent quote dispersion collapses, multi-hop delegation settles atomically, contract-level budgets bind end-to-end, and long-horizon market dynamics sustain cooperative trade. ClawCoin is a security-engineered, on-chain, compute-cost-indexed unit of account, and a coherent, implementable step toward the missing representation primitive of the decentralized AI agent economy.

References↩︎

[1]
NVIDIA. 2026. Jensen Huang at GTC 2026: Tokens, Token Factories, and the AI Industrial Revolution. Keynote, NVIDIA GTC, March 2026.
[2]
Morgan Stanley. 2026. NVIDIA’s Jensen Huang on Compute as a New Economic Engine. Morgan Stanley Technology, Media & Telecom Conference, March 2026. https://www.morganstanley.com/insights/articles/nvidia-jensen-huang-compute-new-economic-engine-tmt-2026.
[3]
Longbridge News Desk. 2026. “Burning Tokens” Has Become a KPI: AI Token Consumption as a Performance Metric and Compensation Item. https://longbridge.com/news/280231355.
[4]
Coinbase. 2025. x402: An Open Protocol for Internet-Native Payments over HTTP. Specification. https://docs.x402.org/.
[5]
BlockEden. 2026. x402 Protocol: How a Forgotten HTTP Code Became the Payment Rails for 15 Million AI Agent Transactions. Industry analysis, January 2026. https://blockeden.xyz/blog/2026/01/16/x402-protocol-ai-agent-autonomous-payments-http-402/.
[6]
A2A Project. 2025. Agent2Agent (A2A) Protocol Specification. https://a2aproject.github.io/A2A/latest/specification.
[7]
Coyns. 2026. Coyns Launches First Virtual Currency Built Exclusively for AI Agent-to-Agent Transactions. Press release, April 2026.
[8]
Agentic Coin Project. 2026. Agentic Coin: A Peer-to-Peer Electronic Cash System for Autonomous Agents. White paper. https://agentic-coin.org/.
[9]
Christian Catalini, Alonso de Gortari, and Nihar Shah. 2022. Some Simple Economics of Stablecoins. Annual Review of Financial Economics 14 (2022), 117 to 135. https://doi.org/10.1146/annurev-financial-111621-101151.
[10]
Richard K. Lyons and Ganesh Viswanath-Natraj. 2023. What Keeps Stablecoins Stable? Journal of International Money and Finance 131 (2023), 102777.
[11]
Minghui Xu. 2026. The Agent Economy: A Blockchain-Based Foundation for Autonomous AI Agents. arXiv:2602.14219.
[12]
David M. Rothschild, Markus Mobius, Jake M. Hofman, Eleanor Dillon, Daniel G. Goldstein, Nicole Immorlica, Sonia Jaffe, Brendan Lucier, Aleksandrs Slivkins, and Matthew Vogel. 2025. The Agentic Economy. arXiv:2505.15799.
[13]
Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Beibin Li, Erkang Zhu, Li Jiang, Xiaoyun Zhang, Shaokun Zhang, Jiale Liu, Ahmed Hassan Awadallah, Ryen W. White, Doug Burger, and Chi Wang. 2024. AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversation. In Proceedings of the 1st Conference on Language Modeling (COLM). arXiv:2308.08155.
[14]
LangChain. 2024. LangGraph Overview. Documentation. https://docs.langchain.com/langgraph.
[15]
Joon Sung Park, Joseph C. O’Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, and Michael S. Bernstein. 2023. Generative Agents: Interactive Simulacra of Human Behavior. In Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology (UIST ’23). ACM, Article 2, 22 pages. https://doi.org/10.1145/3586183.3606763.
[16]
Greg Osuri and Adam Bozanich. 2020. Akash Network: A Decentralized Open Source Cloud. White paper, Akash Network. https://akash.network/whitepaper.
[17]
Protocol Labs. 2017. Filecoin: A Decentralized Storage Network. White paper. https://filecoin.io/filecoin.pdf.
[18]
Yuma Rao and Jacob Steeves. 2020. BitTensor: A Peer-to-Peer Intelligence Market. arXiv:2003.03917.
[19]
Gary B. Gorton and Jeffery Y. Zhang. 2023. Taming Wildcat Stablecoins. University of Chicago Law Review 90, 3 (2023), 909 to 972.
[20]
Jiageng Liu, Igor Makarov, and Antoinette Schoar. 2023. Anatomy of a Run: The Terra Luna Crash. NBER Working Paper No. 31160. https://www.nber.org/papers/w31160.
[21]
Ryan Clements. 2021. Built to Fail: The Inherent Fragility of Algorithmic Stablecoins. Wake Forest Law Review Online 11 (2021), 131 to 155. http://www.wakeforestlawreview.com/2021/10/built-to-fail-the-inherent-fragility-of-algorithmic-stablecoins/.
[22]
Iron Finance. 2021. Iron Finance Post-Mortem: 17 June 2021. https://ironfinance.medium.com/iron-finance-post-mortem-17-june-2021-6a4e9ccf23f5.
[23]
Circle. 2023. An Update on USDC and Silicon Valley Bank. Blog post, March 11, 2023. https://web.archive.org/web/20230311202753/https://www.circle.com/blog/an-update-on-usdc-and-silicon-valley-bank.
[24]
Gary Gorton and George Pennacchi. 1993. Security Baskets and Index-Linked Securities. Journal of Business 66, 1 (1993), 1 to 27.
[25]
U.S. Department of the Treasury. 2024. Treasury Inflation-Protected Securities (TIPS). TreasuryDirect. https://treasurydirect.gov/marketable-securities/tips/.
[26]
Antti Petajisto. 2017. Inefficiencies in the Pricing of Exchange-Traded Funds. Financial Analysts Journal 73, 1 (2017), 24 to 54.
[27]
José M. Garrido. 2023. Digital Tokens: A Legal Perspective. IMF Working Paper No. WP/23/151. https://www.imf.org/en/Publications/WP/Issues/2023/07/28/Digital-Tokens-A-Legal-Perspective-537041.
[28]
BlackRock. 2024. BlackRock Launches Its First Tokenized Fund, BUIDL, on the Ethereum Network. Press release, March 20, 2024. https://www.businesswire.com/news/home/20240320771318/en/.
[29]
Lorenz Breidenbach, Christian Cachin, Benedict Chan, Alex Coventry, Steve Ellis, Ari Juels, Farinaz Koushanfar, Andrew Miller, Brendan Magauran, Daniel Moroz, Sergey Nazarov, Alexandru Topliceanu, Florian Tramèr, and Fan Zhang. 2021. Chainlink 2.0: Next Steps in the Evolution of Decentralized Oracle Networks. White paper. https://research.chain.link/whitepaper-v2.pdf.
[30]
Pyth Network. 2023. Pyth Network: A First-Party Financial Oracle (Whitepaper v2.0). https://www.pyth.network/blog/7-pyth-network-a-first-party-financial-oracle.
[31]
Hart Lambur, Allison Lu, and Regina Cai. 2018. UMA: A Decentralized Financial Contracts Platform (Universal Market Access). White paper. https://github.com/UMAprotocol/whitepaper.
[32]
U.S. Commodity Futures Trading Commission. 2023. CFTC Charges Avraham Eisenberg with Manipulative and Deceptive Scheme to Misappropriate Over $110 Million from Mango Markets, a Digital Asset Exchange. Press Release No. 8647-23. https://www.cftc.gov/PressRoom/PressReleases/8647-23.
[33]
C.R.E.A.M. Finance. 2021. C.R.E.A.M. Finance Post Mortem: Flash Loan Exploit Oct. 27. https://medium.com/cream-finance/c-r-e-a-m-finance-post-mortem-flash-loan-exploit-oct-27-507b12bb6f8e.
[34]
PeckShield. 2020. bZx Hack II Full Disclosure (With Detailed Profit Analysis). https://peckshield.medium.com/bzx-hack-ii-full-disclosure-with-detailed-profit-analysis-8126eecc1360.
[35]
Harvest Finance. 2020. Harvest Flashloan Economic Attack Post-Mortem. https://medium.com/harvest-finance/harvest-flashloan-economic-attack-post-mortem-3cf900d65217.
[36]
Giulio Caldarelli. 2020. Understanding the Blockchain Oracle Problem: A Call for Action. Information 11, 11 (2020), 509. https://doi.org/10.3390/info11110509.
[37]
Shayan Eskandari, Mehdi Salehi, Wanyun Catherine Gu, and Jeremy Clark. 2021. SoK: Oracles from the Ground Truth to Market Manipulation. In Proceedings of the 3rd ACM Conference on Advances in Financial Technologies (AFT ’21). arXiv:2106.00667.
[38]
Sam M. Werner, Daniel Perez, Lewis Gudgeon, Ariah Klages-Mundt, Dominik Harz, and William J. Knottenbelt. 2021. SoK: Decentralized Finance (DeFi). arXiv:2101.08778.
[39]
Liyi Zhou, Xihan Xiong, Jens Ernstberger, Stefanos Chaliasos, Zhipeng Wang, Ye Wang, Kaihua Qin, Roger Wattenhofer, Dawn Song, and Arthur Gervais. 2023. SoK: Decentralized Finance (DeFi) Attacks. In 2023 IEEE Symposium on Security and Privacy (S&P). IEEE, 2444 to 2461.
[40]
Kaihua Qin, Liyi Zhou, and Arthur Gervais. 2022. Quantifying Blockchain Extractable Value: How Dark is the Forest? In 2022 IEEE Symposium on Security and Privacy (S&P). IEEE, 198 to 214. arXiv:2101.05511.
[41]
Philip Daian, Steven Goldfeder, Tyler Kell, Yunqi Li, Xueyuan Zhao, Iddo Bentov, Lorenz Breidenbach, and Ari Juels. 2020. Flash Boys 2.0: Frontrunning in Decentralized Exchanges, Miner Extractable Value, and Consensus Instability. In 2020 IEEE Symposium on Security and Privacy (S&P). IEEE, 910 to 927. arXiv:1904.05234.
[42]
MakerDAO. 2020. The Maker Protocol: MakerDAO’s Multi-Collateral Dai (MCD) System. White paper. https://makerdao.com/whitepaper/.
[43]
Liquity. 2021. Liquity Releases Updated Whitepaper. Blog post, February 10, 2021. https://www.liquity.org/blog/liquity-releases-updated-whitepaper.
[44]
Halborn. 2022. Explained: The Beanstalk Hack (April 2022). https://www.halborn.com/blog/post/explained-the-beanstalk-hack-april-2022.
[45]
Rainer Feichtinger, Robin Fritsch, Lioba Heimbach, Yann Vonlanthen, and Roger Wattenhofer. 2024. SoK: Attacks on DAOs. In 6th Conference on Advances in Financial Technologies (AFT 2024). LIPIcs, Vol. 316, 28:1 to 28:21. arXiv:2406.15071.