← Back to home

CapyData

Capydata is a gamified way to earn and learn about your data with AI

Problem Statement

CapyDataCapyData turns everyday learning into aWorld ID-verified game: you raise a virtual capybara by feeding it snippets of your life—documents, images, trivia answers—while the same interactions label data that improves AI. The app pairs a modernNext.js 15 + FastAPIstack withWorldcoin’s Mini App railsto guarantee every label comes from a real human and every reward goes back to that human.DescriptionCapyData is a “learn-to-earn” virtual-pet platform that combines three proven ideas:Tamagotchi-style engagementkeeps users returning to care for a digital companion.NotebookLM-like personal knowledge baseslet users upload or author content and query it with AI.Scale-AI-grade data-labeling workflows, but crowdsourced through short, fun games rather than paid task queues.User JourneyOnboard with World IDOne-person-one-account login prevents Sybil attacks and keeps labels honest while hiding the user’s real identity with zero-knowledge proofs.Adopt a capybaraThe pet’s health and appearance reflect the user’s activity—XP from games, new insights generated, and data contributions.Play micro-gamesFour launch titles—Image-Quality Judge,Language Flashcards,Mood Detective,Knowledge Trivia—convert image rating, translation checks, sentiment tagging, and fact verification into enjoyable30-120 secondrounds. Academic studies show gamification sustains data-labeling quality at scale.Feed dataUsers can add data sources from the Internet and from personal social accounts to enable personalized insights in the future.Receive insightsAGPT-4o-powered assistantdigs into the user’s personal corpus and game history to surface strengths, blind spots, and tailored learning goals.Explore AI studioProvides detailed analytics on submitted data and chat interactions, inspired by best-in-class AI web2 features.Earn & spendPoints unlock cosmetic skins and, in the next milestone, on-chain NFTs and marketplace revenue share.Why World ID MattersTraditional crowdsourcing fights constant bot infiltration; requiring anorb-verified World IDensures every label originates from a living human, improving data reliability and enabling fair reward distribution without leaking personal data.Long-Term VisionThe same personal knowledge graphs that answer “What did I read last week about zero-knowledge proofs?” will become licensable datasets in an open marketplace.World IDandRLS (Row-Level Security)rules in Supabase guarantee both attribution and rev-share as that data trains future models.

Solution

CapyData — Tech Stack OverviewFront-endNext.js 15gives App Router, React Server Components and Turbopack for20 % fasterdev builds.React 19 RCprovides streaming UI and built-in async error boundaries, which we use for game loading states.Tailwind CSS 4supplies a lightweight pixel-art theme;Radix Primitivesstandardise modals and tooltips.APWA manifestlets users add CapyData to the World App home screen with offline caching for static assets.Back-endFastAPI 0.111exposes JSON endpoints; the newfastapi devCLI sped up local iteration during the48-hourbuild window.Python 3.11workers call the OpenAI API for chat, function calls and embeddings;GPT-4ois the default model.Notte SDKsupplies lightweight embedding pipes when we need to stay entirely on-prem for private corpora.Data LayerSupabase PostgreswithRow-Level Securityensures each user reads and writes only their own pet, game and knowledge rows—even if a token leaks.A singlegame_config.tsfile in the repo holds metadata (route, rewards, colour theme) for every mini-game, hot-reloaded by both the hub page and the API to guarantee consistency.Partner Tech & BenefitsWorldcoin MiniKit: Web-view bridge & World ID auth | Instant access to millions of verified humans, Sybil resistanceHacky but NotableEdge-deployed embeddings.Because World App web-views restrict heavy downloads, we compress OpenAI embeddings with PCA to128 dimson the fly, then store them in a Postgres vector column (extensionpgvector)—shrinking storage4 ×while keeping recall above0.92on our test set.Game-driven AI eval loop.Every trivia answer is dual-logged: once for XP, once in an evaluation table that automatically scores GPT-4o’s own answer to the same question, providing continual supervised feedback with no extra user effort.Zero-config split builds.We piggy-back Next.js Turbopack’s incremental compiler to produce both a normal web bundle and a reduced“mini-bundle” (<200 kB)that World App downloads after orb-verified login, shaving first-interactive to1.1 son mid-range Android.Together these pieces create a fast, privacy-preserving playground where people, pets and models all learn from each other—and every contribution is both verifiable and rewarded.

Hackathon

ETHGlobal Prague

2025

Prizes

  • 🏆

    Best Mini AppHonorable Mention

    World

Contributors