O.D.I.N. is a zero-cost decision-support system that forces high-stakes dilemmas through four independent reasoning passes — cold optimization, adversarial strategy, behavioral-bias audit, and first-principles arbitration — rather than returning one generalized, risk-averse answer. It is now accessible by voice and builds a persistent case history across decisions, without compromising the zero-cost or reasoning-design commitments.
This project is a private digital twin acting as a cognitive co-pilot. It uses Google's Gemini Flash model and Next.js to synthesize decisions with strict mathematical, strategic, and behavioral rigor, while maintaining long-term case history via Supabase (pgvector).
- Zero-Cost, Always: No component whose free access is a depleting credit rather than a durable tier.
- Feature-Complete Over Fast: Voice I/O and persistent memory ship together in Phase 2.
- Architecture Is Disposable, the Reasoning Design Isn’t: The four-persona-plus-Judge design is frozen; frontend, host, and interaction mode are mutable.
- Privacy Is Knowingly Traded Away: The repo is public, but user content stored server-side is protected by Row-Level Security (RLS) and app-layer symmetric encryption.
- Clone the repository.
- Install dependencies via npm:
npm install - Configure your
.env.localwith your API keys:Important: Do NOT commit yourGEMINI_API_KEY="your-api-key-here" SUPABASE_URL="your-supabase-project-url" SUPABASE_SERVICE_ROLE_KEY="your-service-role-key" ENCRYPTION_KEY="your-symmetric-crypto-key"
.env.local. A pre-commit hook is installed to prevent secret leaks. - Run the development server:
npm run dev - Navigate to
http://localhost:3000to interact with O.D.I.N.