Skip to content
xnoahwangPublic

About

🏆 1st place at Cursor Community Hackathon SAIT (May 2026) by Felix Gabriel Montañez & Xujun Wang. AI shark-tank pitch coach with 9 persona judges, fact-check via Google Search grounding, and Q&A practice with gaze tracking.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

🦈 Shark Room

🏆 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.

Screenshots

Landing page Verdict overview
Step 1: Add evaluation context (optional — paste competition rules or upload PDF) The verdict is in — overall score, one-line verdict, and all 5 judge panels at a glance
Mark Cuban scoring Fact check
Named persona scoring — Mark Cuban breaks down each criterion with his characteristic voice Fact check — claims verified against live Google Search sources, disputed claims flagged with citations
Q&A recording Q&A session history
Live Q&A — judge asks a pitch-specific question, you record a 30-second video answer Session history — on/off topic verdict, judge feedback, and options to retry or continue

A session

  1. Upload the pitch — a video of you pitching. Paste competition rules or a PDF if the judges should score against those criteria.
  2. Face the panel — Gemini hands the video to the judges. Each persona scores and advises in character.
  3. Adjust — take that feedback and pitch again.
  4. 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.

The panel

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.

Fact-check

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.


Stack

  • 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

How to Run

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 start

Or double-click start-dev.bat (dev) / start.bat (production build, then start).

Changing the model

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.ts
  • lib/llm/customer-voice.ts
  • app/api/analyze/route.ts
  • app/api/prescreen/route.ts
  • app/api/persona/route.ts
  • app/api/qa/question/route.ts
  • app/api/qa/evaluate/route.ts

Your key still has to be a Gemini key that can call whatever model id you put there.


Demo Mode

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.


Built with Cursor

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.

Team

  • 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.

About

🏆 1st place at Cursor Community Hackathon SAIT (May 2026) by Felix Gabriel Montañez & Xujun Wang. AI shark-tank pitch coach with 9 persona judges, fact-check via Google Search grounding, and Q&A practice with gaze tracking.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages