# Project export: Human Capital

This document was generated by HackStack to give an AI agent context about a hackathon project. Sections are labeled with their provenance; content marked as truncated was cut to keep this document small.

## Project metadata

- Hackathon: Cal Hacks 12.0
- Tagline: Time is money: literally. Sell your day away in 15-minute blocks. Highest bidder controls you, watches you, directs you. Blockchain auctions meet dystopian labor. Your time. Their terms.
- Devpost: https://devpost.com/software/human-capital
- GitHub: not linked
- Demo: http://hcapital.tech/
- Video: https://www.youtube.com/embed/t7M319EIn4k?enablejsapi=1&hl=en_US&rel=0&start=&version=3&wmode=transparent
- Result: winner (Sui: Best Use of Sui)
- Team: contributor stats unavailable

## Devpost submission (written by the team)

### Inspiration

"Time is money" is something we hear constantly—but what if we took it literally? We wanted to create a Black Mirror-style commentary on the gig economy, surveillance capitalism, and the commodification of human labor. The inspiration came from thinking: if your time really is money, shouldn't there be a marketplace for it? The result is intentionally dystopian, a parody that makes you uncomfortable while showcasing what's technically possible when you combine blockchain, real-time streaming, and AI surveillance.

### What it does

Human Capital is a platform where you sell your time in 15-minute chunks via blockchain auction: Users broadcast themselves live and put their time up for auction Bidders place bids on time slots using Sui blockchain NFT auctions Winners gain complete control of the user's body for 15 minutes: Send commands via chat that appear as overlay instructions Watch via LiveKit real-time stream Direct the user to do whatever they want Send commands via chat that appear as overlay instructions Watch via LiveKit real-time stream Direct the user to do whatever they want AI monitors everything - a vision-language model captures frames, analyzes compliance, and stores summaries Search your history - semantic search lets anyone query past activities ("Are they good at coding?" "Did they complete tasks?") It's surveillance capitalism meets gig economy meets blockchain, turned up to 11.

### How we built it

Frontend: Next.js 16 + React 19 + TypeScript + Tailwind CSS v4 Real-time Infrastructure: LiveKit for low-latency video streaming and bidirectional communication Custom room architecture with hidden bot participants for AI monitoring Blockchain: Sui Network with custom Move smart contracts for time slot NFT auctions @mysten/dapp-kit for wallet integration On-chain bid validation and winner selection Fully decentralized, trustless architecture AI Pipeline: OpenAI GPT-4o (via OpenRouter) for real-time vision analysis Anthropic Claude for natural language processing and historical analysis ChromaDB Cloud vector database for storing activity summaries OpenAI embeddings (text-embedding-3-small) for semantic search Multi-stage processing: frame capture → batch summaries → chunk summaries → vector storage Off-chain oracle implementation for compliance scoring Data Flow: VLM bot joins stream → captures frames every 5s → analyzes with GPT-4o → batches summaries → stores in ChromaDB → enables natural language search of user history This is a data-intensive application—the system processed 7.52 GB/s of bandwidth at peak time during testing.

### Challenges we ran into

Decentralization vs. AI control - Our biggest challenge was maintaining true decentralization. Initially, we wanted to put funds in escrow controlled by an AI oracle on-chain, but we realized that put too much power into the hands of the AI oracle and, more importantly, the people who controlled it. We decided to build a fully decentralized, entirely trustless system by moving the oracle off-chain and implementing it as more of a credit score mechanism. Decentralization vs. AI control - Our biggest challenge was maintaining true decentralization. Initially, we wanted to put funds in escrow controlled by an AI oracle on-chain, but we realized that put too much power into the hands of the AI oracle and, more importantly, the people who controlled it. We decided to build a fully decentralized, entirely trustless system by moving the oracle off-chain and implementing it as more of a credit score mechanism. VLM frame capture at scale - Processing hundreds of frames per hour with GPT-4o vision was expensive and required careful batching strategies to stay within token limits VLM frame capture at scale - Processing hundreds of frames per hour with GPT-4o vision was expensive and required careful batching strategies to stay within token limits LiveKit bot architecture - Getting a headless bot participant to join rooms, capture video frames reliably, and stay hidden from the UI took significant debugging LiveKit bot architecture - Getting a headless bot participant to join rooms, capture video frames reliably, and stay hidden from the UI took significant debugging Sui Move smart contracts - Learning Move's ownership model and implementing auction logic with proper time-based finalization was complex Sui Move smart contracts - Learning Move's ownership model and implementing auction logic with proper time-based finalization was complex Real-time state synchronization - Keeping blockchain auction state, LiveKit room state, and UI state in sync across multiple users required careful React Query caching Real-time state synchronization - Keeping blockchain auction state, LiveKit room state, and UI state in sync across multiple users required careful React Query caching Semantic search quality - Tuning the ChromaDB collection and prompt engineering to return actually useful historical insights took iteration Semantic search quality - Tuning the ChromaDB collection and prompt engineering to return actually useful historical insights took iteration

### Accomplishments we're proud of

Fully trustless, decentralized architecture - no central authority controls funds or outcomes It actually works end-to-end - blockchain auctions → live streaming → AI surveillance → searchable history Multi-stage VLM pipeline that intelligently batches and summarizes to manage API costs Custom Sui Move contracts deployed and functioning on testnet Semantic search that genuinely understands natural language queries about user history Real-time winner control with command overlays and task compliance tracking The aesthetic - we committed fully to the dystopian bit and the UI reflects it Scale testing - we actually ran this for 6 hours and processed real production data

### What we learned

Decentralization has real trade-offs - putting AI oracles on-chain creates centralization risks we hadn't initially considered Vision-language models are powerful but expensive - real-time video analysis at scale requires careful architecture Sui's Move language has a steep learning curve but elegant ownership semantics LiveKit is incredibly robust for real-time streaming when properly configured Vector databases like ChromaDB make semantic search surprisingly easy once you get embeddings right Hackathon projects can be satire AND technically impressive - the parody angle made it more interesting to build Data-intensive applications hit different - 7.52 GB/s hours taught us to respect bandwidth costs

### What's next

Compliance scoring - aggregate AI analysis into reputation scores for users Task marketplace - let bidders post tasks in advance with bounties Multi-user mode - control multiple people simultaneously Mobile app - stream your human capital on the go Analytics dashboard - charts and graphs of your commodification Mainnet deployment - take this dystopia to production (kidding... mostly) Privacy mode - blur faces/sensitive info while maintaining surveillance (ironic, we know) Refined oracle mechanisms - explore hybrid on-chain/off-chain solutions for compliance verification

## README (from the GitHub repository)

No README available.

## Detected evidence (automated analysis)

No repository was indexed for this project. Claimed technologies below could not be checked against code.
- Next.js (technology) — claimed on Devpost, not found in the code

## Codebase structure

No repository index available.

## Key source files

No repository index available; no source files included.