This file makes Codex behave consistently with the existing Claude project rules in .claude/CLAUDE.md. If there is any conflict, use .claude/CLAUDE.md as the source of truth.
JARVIS is a real-time person intelligence platform for the Browser Use + YC web agents hackathon:
- Meta glasses or phone camera input
- Face detection and identification
- Browser-agent enrichment and report generation
- Corkboard-style frontend for live demo output
Before writing implementation code:
- Search for existing maintained repos and libraries first.
- Decide
use,fork + extend, orbuild. - Prefer existing high-quality tools because this repo is in hackathon mode.
Do not change these architecture choices without explicit approval:
- Frontend: Next.js + Tailwind + Framer Motion on Vercel
- Backend: FastAPI
- Real-time: Convex
- Persistent storage: MongoDB Atlas
- Fast research: Exa API
- Deep research: Browser Use agent swarm
- Face pipeline: mediapipe or similar detect, ArcFace-style embeddings, reverse-image enrichment
Order of importance:
- Demo-visible outcomes
- Working fallbacks
- Fast iteration
- Code quality
The live demo matters more than broad feature count.
backend/capture: camera input and frame extractionbackend/identification: face detection, embeddings, lookupsbackend/agents: Browser Use agents and orchestrationbackend/synthesis: report generationbackend/enrichment: Exa and other fast lookupsbackend/db: Convex and MongoDB integrationbackend/observability: Laminar and tracingfrontend/app: Next.js routesfrontend/components: UI pieces such as the corkboard and person cardsfrontend/convex: schema, queries, mutationsfrontend/lib: app utilities and animation helpers
Read the matching docs first:
SYSTEM_DESIGN.mdDESIGN_HANDOFF.mdTECH_DOC.mdTASKS.md
- Favor libraries over custom builds when the library already solves most of the problem.
- Keep implementations small and observable.
- Add timeouts and error handling for every external dependency.
- Preserve demo quality. If a live path is fragile, provide a recordable fallback.