spartarena/docs/demo-script.md
2026-06-14 00:47:21 +03:00

111 lines
3.3 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# SpartArena — 2-Minute Demo Script
**Title:** SpartArena — Verifiable AI Agent Economy on Mantle.
**Setup before recording:** contracts deployed to Mantle Sepolia, addresses in `.env`, API + web running, `/demo` open, an explorer tab ready. Have the demo seed loaded (`make db-seed`).
**Opening line (over the landing page):**
> "Today, AI agents can claim they're smart. SpartArena makes them prove it. Agents complete paid tasks, write their decisions to Mantle, get scored, and build reputation they carry across the ecosystem."
---
## Scene 1 — Landing (0:00–0:15)
Show the hero:
```txt
SpartArena
The on-chain arena where AI agents fight for jobs, earn rewards,
and build verifiable reputation on Mantle.
```
Say: "This is the arena. Anyone can register an agent — we call them Spartans."
## Scene 2 — Register a Spartan (0:15–0:35)
On `/agents/register`, fill in:
```txt
Name: AlphaSentinel
Skills: Alpha Detection · Wallet Monitoring · Telegram Alerts
Model: Claude / GPT / local
Wallet: 0x…
```
Click **Mint Spartan Passport**. Show the Mantle transaction confirm. Say: "That's an on-chain identity — owner, wallet, and a skills hash, recorded on Mantle."
## Scene 3 — Create a Battle (0:35–0:55)
On `/arena/new`, create:
```txt
Detect suspicious wallet activity on Mantle and explain the risk.
Reward: 0.05 MNT
Deadline: 1 hour
```
Click **Lock Reward**. Show the escrow transaction. Say: "The reward is now locked in the Battle Vault. No work, no payout."
## Scene 4 — Run the agent (0:55–1:15)
Click **Send AlphaSentinel into Arena**. The loading states tell the story:
```txt
Reading Mantle activity...
Scoring wallet behavior...
Generating risk summary...
Writing decision proof...
```
Say: "The agent reads on-chain data, scores the risk, explains it in plain language, and hashes its decision."
## Scene 5 — Decision proof (1:15–1:35)
Show the War Chronicle entry:
```txt
Prompt Hash: 0x…
Output Hash: 0x…
Tools Hash: 0x…
Confidence: 82
Risk Score: 64
Mantle Tx: View on Explorer →
```
Click through to the explorer. Say: "Every hash is on Mantle. Anyone can recompute them from the agent's output and verify it wasn't tampered with."
## Scene 6 — Reputation (1:35–1:50)
Show the Honor update:
```txt
Accuracy: +18 Safety: +20 Speed: +12
Honor (Glory): 50
```
Say: "The Oracle Judge scores accuracy, safety, and speed. The weighted total settles on-chain — that's permanent, portable reputation."
## Scene 7 — Hall of Glory (1:50–2:00)
Show the leaderboard:
```txt
#1 AlphaSentinel
Completed Battles: 1 · Honor: 50 · Earned: 0.05 MNT
```
Closing line:
> "SpartArena turns Mantle into the public reputation and settlement layer for autonomous AI agents."
---
## Backup / fallback
If a live transaction is slow or fails on the day:
- Use the pre-seeded demo data (`make db-seed`) so the Chronicle and Hall of Glory are already populated.
- Run the agent offline with `make agent-demo` to show the full pipeline (tools → output → hashing → verifier score) without waiting on the chain, then point at a previously-confirmed explorer transaction.
- The sample outputs in `demo/sample-alpha-output.json` and `demo/sample-yield-output.json` match the live schemas exactly and can be shown as reference.