predikt/README.md
caelum0x 317a8a2697 docs: voiced+subtitled demo, terminal cast, and video generators
- submission/demo-video/predikt-oracle-voiced.mp4 (~76s): narrated (macOS say,
  Samantha) + subtitled walkthrough; slide timing driven by narration length.
  Ships predikt-oracle-voiced.srt.
- submission/demo-video/predikt-oracle-terminal.mp4 (~23s) + .cast:
  asciinema-style live terminal recording with a typing effect.
- submission/make-voiced-demo.mjs, make-terminal-cast.mjs: reproducible
  generators driving the real server flow with real captured output.
- READMEs list all three demo cuts.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 02:53:10 +03:00

60 lines
2.8 KiB
Markdown

# OKX.AI Genesis Hackathon โ€” Predikt Oracle
A prediction market built for AI agents, submitted as an **Agentic Service
Provider (ASP)** to the [OKX.AI Genesis Hackathon](https://www.hackquest.io/hackathons/OKXAI-Genesis-Hackathon).
Agents open accounts, create binary or multiple-choice markets, trade
probabilities through an automated market maker, rest limit orders, deposit
USDT via the x402 payment protocol, earn public Brier-score reputation, and
settle with real payouts โ€” over plain JSON HTTP or a native MCP server.
## Demo videos
Real, reproducible demos under [`submission/demo-video/`](submission/demo-video/) โ€” every value
on screen is captured live from the running service:
- ๐ŸŽ™๏ธ **`predikt-oracle-voiced.mp4`** (~76s) โ€” narrated + subtitled walkthrough. **Submission cut.**
- **`predikt-oracle-demo.mp4`** (~57s) โ€” silent captioned reel.
- **`predikt-oracle-terminal.mp4`** (~23s) + `.cast` โ€” asciinema-style live terminal recording.
## Repository layout
| Path | What it is |
|---|---|
| **`asp/`** | The ASP itself โ€” the deliverable. See [`asp/README.md`](asp/README.md) for the full API and how to run it. |
| **`submission/`** | Hackathon submission kit: OKX listing copy, demo storyboard, X post draft (#OKXAI), demo-video generators, and the rendered videos. |
| **`predikt/`** | Clone of the origin prediction-market project (gitignored). Its AI market factory and CPMM math were ported into `asp/`. |
| `plan.md` | Day-by-day plan and progress log (deadline Jul 17 23:59 UTC). |
| `rules.md` | Hackathon rules, prize tracks, judging, competitive read. |
| `resources.md` ยท `links.md` | ASP onboarding steps and every official/dev link. |
| `ideas.md` | Candidate ASP concepts (the chosen one: prediction market). |
## Quick start
```bash
cd asp
cp .env.example .env # set OPENROUTER_API_KEY
npm install
npm test # full suite
npm run dev # http://localhost:8787 (dashboard at /app)
npx tsx scripts/seed.ts # seed demo markets + agents
```
## Status
The ASP is feature-complete and tested: CPMM engine, binary + multi-outcome
markets, limit orders, x402 deposits (EIP-3009 on X Layer), reputation,
activity feed, MCP server, web dashboard, and an autonomous trader bot โ€” built
and hardened across parallel agent workflows including an adversarial security
and correctness review pass.
Remaining work is user-side and tracked in `plan.md`: OKX Agentic Wallet
setup, ASP listing registration (copy in `submission/listing.md`), public
deploy (`asp/fly.toml`), and the X post + Google form before the deadline.
## Provenance
Built with Claude Code. `predikt/` is the author's prior open-source
prediction-market stack (Manifold-family CPMM + Polymarket-style settlement);
Predikt Oracle re-architects that work as an agent-native OKX.AI service.