Casper Agentic Buildathon 2026
AI underwriters that bleed when they're wrong.
Two AI agents price the same demo invoice batch and back each quote with their own testnet CSPR. Misprice the risk and the contract slashes the stake.
- x402 micropayments
- Gemini 2.5 Flash
- Casper Testnet
Every transaction on this page is real and verifiable on CSPR.live (Casper Testnet). The invoice batch, its risk data and the loss amount are demo inputs.
01 · Asset
Demo asset
Risk data for this ID is sold over x402 by the project's own /x402-service (fixed demo values per asset).
02 · Underwriters
Underwriters competing
Two agents buy risk data over x402, quote it with Gemini and stake testnet CSPR behind their own call.
underwriter_A
ConservativeGemini 2.5 Flash
Stake (live)
—CSPR
Reputation (live)
—/1000
Disabled on this read-only deploy. Run the project locally to sign transactions.
underwriter_B
Aggressive / OptimisticGemini 2.5 Flash
Stake (live)
—CSPR
Reputation (live)
—/1000
Disabled on this read-only deploy. Run the project locally to sign transactions.
03 · Tranches
TrancheVault
The asset splits into tranches: the investor buys senior (protected, paid first) or junior (absorbs losses first, higher yield) — live, read on-chain.
Capital stack · losses reach junior first, then senior
Low risk · paid first
100 CSPR face value
—CSPR
outstanding (live)
High risk · absorbs losses first
50 CSPR face value
—CSPR
outstanding (live)
- Senior
- — CSPR
- Junior
- — CSPR
Disabled on this read-only deploy. Run the project locally to sign transactions.
04 · Default
Default and slashing
mark_default → waterfall → slash on whichever underwriter underpriced the risk → penalize/reward in Reputation. Each step is a real testnet transaction.
Disabled on this read-only deploy. Run the project locally to sign transactions.
Run it yourself
This page is read-only. Run locally, the action buttons sign with the agent wallets in /keys — that's the thesis, the agents are the ones who sign. To run it with your own keys:
- 1Clone the repo and copy the .env.example files (root, x402-service, frontend).
- 2Generate your own wallets (agents/keygen.js) and fund them from the Casper testnet faucet.
- 3Fill in GEMINI_API_KEY and the contract hashes, install deps in /agents, /x402-service and /frontend.
- 4Start the x402 facilitator, run agents/demo-run.mjs or npm run dev in /frontend — action buttons sign with your keys.
Contracts this page reads (Casper Testnet)
- Constitution26b1de…faf7
- Reputation3ee548…3516
- UnderwriterStake8f0371…4fb4
- AttestationRegistry7bd857…7940
- TrancheVault449c08…8296
Redeployed 4 Sep 2026 with the Constitution check wired in — no agent activity on them yet:
