🏆 1st Place — Cursor Community Hackathon @ SAIT (May 2026) Built by Felix Gabriel Montañez & Xujun Wang
Originally developed at felix101930/CursorHack; this repo is a maintained mirror.
Shark Room is a pitch practice tool. Upload your pitch video and face a panel of AI judges modeled on Shark Tank personalities. They watch the pitch and answer in their own voice — Mark Cuban with the notes he is known for, Barbara Corcoran with hers — so you can rehearse the room, see what failed to land, and adjust the pitch.
Gemini watches the video: the words, the delivery, and who the product is for. After the verdict you can take their questions on camera. The same session can also fact-check the numbers you cite.
- Upload the pitch — a video of you pitching. Paste competition rules or a PDF if the judges should score against those criteria.
- Face the panel — Gemini hands the video to the judges. Each persona scores and advises in character.
- Adjust — take that feedback and pitch again.
- Answer their questions — a judge asks about something you left open. You record a short answer. MediaPipe tracks eye contact while they judge whether you actually answered.
Five roles. Every named persona in a role weighs in. A CTO panel joins only when the pitch is for a tech product. The end user is inferred from the video.
- Investor — Mark Cuban, Barbara Corcoran, Kevin O'Leary. Market, moat, the ask.
- CFO — Kevin O'Leary, Warren Buffett. Financials, unit economics, return.
- CTO — Jensen Huang, Elon Musk, Linus Torvalds. Feasibility and scale. Tech pitches only.
- End user — drawn from the video, then grounded in what people say on forums and reviews.
- Presentation coach — Vinh Giang, Simon Sinek. Delivery, voice, structure.
Shark Room also checks verifiable numbers and market claims against live Google Search, and tells the judges which claims held up. For the end-user seat, Gemini looks through Reddit, forums, and reviews so that reaction sits on what people actually say.
- Framework: Next.js 16 (App Router, Turbopack)
- AI: Google Gemini 3.1 Flash Lite — video analysis, judge personas, fact-check, Q&A evaluation
- Grounding: Google Search (via Gemini grounding API) — fact-check + customer voice research
- Gaze tracking: MediaPipe FaceLandmarker — real-time eye contact during Q&A recording
- Styling: Tailwind CSS + shadcn/ui, dark studio theme
- Validation: Zod schemas on all LLM outputs
This repo does not ship a Gemini API key. Live analysis uses your own key from Google AI Studio. The app calls gemini-3.1-flash-lite.
# Install
npm install
# Add your own key
cp .env.example .env.local
# Set GEMINI_API_KEY to your key
# Dev
npm run dev
# Production
npm run build && npm startOr double-click start-dev.bat (dev) / start.bat (production build, then start).
This was a hackathon build, and a few things are hardcoded because there was no time to make them configurable. The model id is one of those: every live call uses the string gemini-3.1-flash-lite. To point Shark Room at another Gemini model, change that string yourself. Search the repo for it. The calls are in:
lib/llm/gemini.tslib/llm/customer-voice.tsapp/api/analyze/route.tsapp/api/prescreen/route.tsapp/api/persona/route.tsapp/api/qa/question/route.tsapp/api/qa/evaluate/route.ts
Your key still has to be a Gemini key that can call whatever model id you put there.
Set DEMO_MODE=true in .env.local to skip the Gemini calls and return a pre-built golden fixture instantly. Use this when you want the UI without an API key, or when you can't risk API latency.
We used Cursor as a full engineering partner, not just autocomplete:
.cursor/rules/— project, stack, style, and agent-usage rules loaded into every session so the agent stayed on-brand across 100+ edits.- Parallel agents — backend pipeline (gemini.ts, API routes, prompts) and frontend (verdict-results, qa-panel) developed in parallel Cursor windows on separate branches, merged at integration points.
- Plan-first workflow — every non-trivial feature started as a plan reviewed before execution. No vibe-coding into unknown territory.
- Multi-file refactors — Cursor handled the full persona system refactor (5 roles × 9 personas × criteria scoring) as a single coordinated edit across 15+ files.
- Iterative prompt engineering — judge persona prompts were written, tested, and refined through Cursor agent sessions with live Gemini output as feedback.
- Felix Gabriel Montañez — Frontend, UX, studio theme, component architecture, demo mode
- Xujun Wang — Backend, AI pipeline, Gemini integration, MediaPipe, token tracking
Built at Cursor Hackathon SAIT, May 2026.





