LLucent

Web Port

Lucent is moving to the browser.

This Next.js app is isolated in lucent-web/ while the Tauri desktop product stays intact in desktop/. Shared underwriting models and engines remain available from the root backend/ package.

Phase 1

Auth and Persistence

Clerk guards authenticated routes, and Prisma/PostgreSQL stores deals, documents, and memos.

Phase 2

Server AI Boundary

Anthropic calls move behind Next API routes so browser clients never handle API keys.

Phase 3

Workflow Migration

Deal intake, document upload, memo generation, QA, and export screens can migrate incrementally.