Decentralized AI Podcast Platform on Sui & Walrus
Article URL β AI Script β TTS Audio β On-chain Podcast
Built for AI agents. Agent-first CLI with JSON output.
π Documentation β’ π¬ Demo Day β’ π¦ npm
AI-CAST transforms articles into decentralized podcasts:
π Article URL
β
π·οΈ Web Scraping (Cheerio)
β
π§ LLM Script (Kimi)
β
π TTS Audio (MLX)
β
πΎ Walrus Storage
β
βοΈ Sui Blockchain
β
π§ Podcast Player
Key Innovation: Built for AI agents. The CLI outputs JSON for autonomous agents to consume and act upon.
# Install environment (TTS model ~500MB, first time only)
npx ai-cast-cli install
# Setup wallet
npx ai-cast-cli init --package-id 0x10c32bf076865c211bec10e170e2640d08e3515a957754cfdeac890b5a7f2214
# Create creator profile
npx ai-cast-cli --json profile create --name "My Podcast" --category tech
# Generate and publish
npx ai-cast-cli --json fetch -u https://example.com/article
KIMI_API_KEY=sk-xxx npx ai-cast-cli --json script -i articles.json
npx ai-cast-cli --json speak -i script.txt -v serena
npx ai-cast-cli --json publish -a /tmp/podcast_*.wav -t "Episode Title" --tags ai,web3See CLI documentation and skills/ for full agent integration guide.
ai-cast/
βββ src/ Local podcast generator (Express + Cheerio + Kimi + MLX TTS)
βββ cli/ Agent-friendly CLI (npm: ai-cast-cli)
βββ contracts/ Sui Move smart contracts
βββ web/ Next.js web platform (Vercel)
| Module | Description |
|---|---|
creator |
Creator profiles, subscriber count, tip stats |
podcast |
Publish, update, delete podcasts with metadata |
subscription |
Subscribe/renew/cancel, epoch-based billing |
tipping |
Direct SUI tips to creators |
seal_policy |
SEAL access control for premium/paywalled content |
Testnet Package: 0x10c32bf076865c211bec10e170e2640d08e3515a957754cfdeac890b5a7f2214
| Command | Description |
|---|---|
install |
Check/install runtime (TTS model, ffmpeg, uv) |
fetch |
Fetch articles (multi-URL aggregation) |
script |
Generate podcast script via LLM |
speak |
Text-to-speech (MLX TTS, 7 voices) |
publish |
Upload to Walrus + register on Sui |
batch |
Batch generate + publish from URL list |
list |
List published podcasts |
balance |
SUI balance + tip/subscription income |
All commands support --json for structured output. See cli/README.md.
- Discovery page with search, filtering, pagination
- Podcast player (neumorphic vinyl record UI)
- Creator profiles with subscribe + tip
- SEAL-encrypted premium content with paywall
- Wallet connect + zkLogin (Enoki) ready
- Mobile responsive
| Data | Storage | Access |
|---|---|---|
| Audio (free) | Walrus blob | Direct playback |
| Audio (premium) | Walrus blob (SEAL encrypted) | Decrypt with active subscription |
| Transcript | Walrus blob | Always free |
| Metadata | Sui on-chain objects | Public |
| Tips/Subscriptions | Sui transactions | Direct SUI transfer |
npm install && npm run dev # http://localhost:7868cd contracts && sui move build && sui move testcd cli && npm install && npm run dev -- --helpcd web && npm install && npm run dev # http://localhost:3000MIT