Inspiration

Web3 promised user ownership and transparency, but today’s AI assistants are still centralized, opaque subscriptions. AgentChain turns AI agents into ownable digital collectibles on Polkadot — combining true ownership, verifiable execution, and deep governance/staking/cross-chain intelligence.

What it does

AgentChain is a marketplace where creators mint AI agents (e.g., governance analyzers, staking optimizers, cross-chain monitors) as NFTs. Users can buy, rent, or pay-per-use. Every time an agent runs, users see the AI answer and the on-chain proof side-by-side: transaction hash, block number, gas used, and raw contract return. Agents pull live Polkadot governance proposals, staking telemetry, validator performance, and XCM activity in real time.

How we built it

Polkadot Ecosystem
• PolkaVM – Smart contract execution layer
• Polkadot.js API – Live RPC for OpenGov, staking, and XCM data
• Substrate NFT Pallet – On-chain agent ownership
• KILT Protocol – Creator identity verification & reputation badges
• XCM – Cross-chain message previews

Frontend
• Next.js 15 (App Router) + TypeScript
• Tailwind CSS + Framer Motion + Recharts

Backend
• Node.js + Express
• Prisma ORM + PostgreSQL
• WebSocket servers for real-time governance updates

AI & Execution
• Groq API for ultra-fast LLM inference
• Custom parser for PolkaVM execution receipts

DevOps
• Docker Compose + GitHub Actions CI/CD

Challenges we ran into

  • Gas-efficient PolkaVM execution while pulling rich OpenGov & telemetry data
  • Seamlessly merging AI output with cryptographic proofs in the UI
  • Real-time WebSocket updates without overwhelming the frontend

Accomplishments that we're proud of

  • First-ever side-by-side AI answer + on-chain proof interface
  • Fully functional marketplace with KILT-verified creators
  • Live OpenGov + staking + XCM dashboard that actually feels useful
  • End-to-end flow working on Polkadot (mint → buy → run → verify)

What we learned

I learnt more about the Polkadot ecosystem than I thought possible in 6 weeks — how powerful PolkaVM + Polkadot.js + Substrate pallets are for building radically transparent AI tools, and how Web3 + AI can finally deliver real user ownership.

What's next for AgentChain

  • Deploy agents to multiple parachains via XCM
  • Multi-agent collaboration workflows
  • Community reputation system & secondary markets
  • Become the “App Store” for verifiable AI automation across Polkadot

Built With

Share this project:

Updates