SYLVA: Self-Correcting Multi-Agent Markets over Frozen LLMs via Escrow Settlement, Step-Level Fault Isolation, and Contextual Routing
Organizations: Heurion Research
Abstract
Open agent standards like the Model Context Protocol (MCP) and Agent2Agent (A2A) connect independent AI tools, yet open multi-agent markets fail under three real-world hazards: local rules shift silently outside pretraining, copycat wrappers and confident hallucinators game ratings, and uniform chain scoring punishes accurate specialists whenever another stage fails (blame collapse). We present SYLVA, a market protocol turning frozen foundation models (no weight updates, ) and human-maintained services into a self-correcting ecosystem. SYLVA combines an on-chain clearinghouse for escrow settlement and configurable creator royalties (85%/15% in our experiments), a boundary verifier for penalty-free out-of-domain (OOD) abstention and 3-peer step replay, a verifiable context-aware router compiling proven chains into 1-call skills with drift circuit breakers, and plain-English rule updates. We prove sufficient conditions for honest abstention, specialist protection against blame collapse, and wrapper elimination, and validate SYLVA across a 64-agent simulation, 6,543 live deepseek-flash API calls, and a Rust MCP SDK (rmcp) + Cairo clearinghouse deployed on Starknet Sepolia (19 live transactions). Without updating weights, SYLVA reaches 82.1% completion in 64-agent simulations and 98.3% on live LLM workflows (vs. 0.0% single frozen LLM and 45.6% static MCP/A2A), cuts false specialist penalties by 6.79x-10.8x, retains 86.2% creator revenue under wrapper/Sybil floods, and recovers rapidly after rule drift. Furthermore, 1-call skill compilation saves 78.3% of real LLM tokens, while our Starknet contracts verify zero-oracle quorum slashing and 32.32-bit fixed-point (Q32.32) routing on-chain. Code and contracts are at https://github.com/heurion-org/sylva.
Figures & tables
| Paradigm | Drifting | Black-Box | Anti-Wrapper | Fast Skill | Frozen |
|---|---|---|---|---|---|
| Rules | Blame | & Anti-Sybil | Compile | ( ) | |
| Monolithic Frozen LLM | No | N/A | N/A | N/A | Yes |
| Single-Hop Routers (FrugalGPT, RouteLLM) | No | N/A (1-hop) | No | N/A | Yes |
| Interop & Payments (MCP/A2A, NANDA, Agora, x402) | Via nodes | No | Pay only (x402) | Agora only | Yes |
| Workflow Search (AutoGen, MetaGPT, GPTSwarm, ADAS, AgentSquare) | No | No | No | Static | Yes |
| White-Box Trajectory Judges (Who&When) | No | Needs logs | No | No | Yes |
| Symbol | Meaning | Simulation / On-Chain Value |
|---|---|---|
| Normalized task fingerprint; discrete category; dimension | ; ; | |
| Binary caller verdict; end-to-end numeric tolerance | ; (T1) / \0.05$ (T2) | |
| Subjective pass prob.; passing bandit utility; failure loss | ; ; | |
| On-chain stake slash; abstention bandit utility | / ; / | |
| Planner error prob.; combined sibling fault prob.; | ; | |
| Sanity false-alarm rate; normal miss rate; stealth evasion rate | ; ; |
| Method | Tail Completion Rate (%, no manual edits) | 1.96-SEM Band |
|---|---|---|
| SYLVA Complete | ||
| B1 Monolithic Generalist ( ) | ||
| B2 Static MCP/A2A Matching [ 1 , 9 ] |
| Variant | Tail Completion (%) | Innocent Mis-Penalty (%) | Toxic (eps) |
|---|---|---|---|
| SYLVA Complete | |||
| A1 No Abstain Protection | |||
| A2 Uniform Chain Blame | |||
| A3 No Shadow Probe |
| Exp. | Metric | SYLVA | Baseline / Control |
|---|---|---|---|
| Core Revenue Share Post-Flood (%) | (Naive) | ||
| Genuine-Provider Routing Share ( snr , %) | (Naive) | ||
| Sybil Capital Drain (units / 100 eps) | (zero-cost wash) | ||
| Post-Drift Recovery Time (eps to ) | (Global, unrecovered) | ||
| Post-Drift Tail Completion (%) | (Global) | ||
| Patched Specialist Win Rate (%) | (Global) |
| Exp. | Metric | SYLVA (Frozen LLM) | Baseline |
|---|---|---|---|
| Tail Completion Rate (%) | ( ) | ( ), ( ) | |
| [cf. ] | Recovery Time Post-Drift (eps to , 20-ep grid) | (Global, unrecovered) | |
| [cf. ] | Post-Drift Completion (%) | (Global) | |
| [cf. ] | Patched Specialist Win Rate (across all 320 eps, %) | (Global) | |
| [cf. ] | Real API Tokens / Task | ( -78.3% ) | (No Skill Compile) |
| [cf. ] | Executed Hops / Task | ( -72.5% ) | (No Skill Compile) |
| Variant | Tail Completion (%) | Innocent Mis-Penalty (%) | Toxic (eps) |
|---|---|---|---|
| SYLVA Complete | |||
| A1 No Abstain Protection | ( ) | ( ) | |
| A2 Uniform Chain Blame | ( ) | ( ) | |
| A3 No Random Shadow Probe | ( ) |
| Component | Parameter | Tier-1 Value | Tier-2 Value |
|---|---|---|---|
| Environment | Contexts / Stages / Dim | / / | / / |
| Environment | Episodes / Seeds / Tol | / / | / / \0.05$ |
| Planners | Fault prob. (benign / faulty) | / | / |
| Economics | Base step fee / Initial stake | / credits | / credits |
| Clearinghouse | Wrapper share / OOD fee / Slash | / / | / / |
| Boundary Check | Assertion noise |
| Stage / Check | On-Chain Action | Verified State / Outcome ( sncast call ) |
|---|---|---|
| Setup (11 txs) | Declare + deploy v0.2.0 + register nodes | version="0.2.0" , delay=86400s , /node |
| Scen. 1: Deposit (1 tx) | Caller locks escrow ( 0x068c82b2...d2b2fd ) | ( ; ) |
| Scen. 2: OOD (1 tx) | tax_jp_s1 abstains ( 0x033e345d...8ecd167 ) | abstain_calls=1 , stake=2.000000 STRK (zero slash) |
| Scen. 3: Wrapper (2 txs) | + claim_earnings ( 0x0237333a...a2f95a4 ) | Core royalty , wrapper |
| Scen. 4: Quorum (1 tx) | peers slash hallu_s1 ( 0x00a47496...a0acf8 ) | hallu_s1 cut to ; to escrow |
| Scen. 5: Skill (2 txs) | Register + 1-call ( 0x029c93f9...be3d36a2 ) | skill_eu0 wins ; cumul. burn |
Multi-Agent LLM Systems
Multi-agent large language model systems coordinate multiple AI agents to solve tasks through communication, specialization, shared tools, and memory.
See all 1,128 papers