Full-Stack AI Platform — End to End on Local Inference

Mark Lee
Published

0
  • Project creator

A production platform built end to end for a regulated, compliance-heavy domain — from the database to the UI, with AI woven through, and every model running on local inference so sensitive data never leaves controlled infrastructure.

  • Front end: Next.js (App Router), role-aware single app, shadcn/ui + Tailwind
  • Backend: four TypeScript services (gateway, core, integrations, vector) over tRPC — end-to-end type safety from the SQL query to the React component
  • Data: Postgres + pgvector for semantic search; a fully typed query layer (Kysely + Zod); an audit event on every state change
  • AI, all local: classification, structured extraction, document OCR, agentic tool-calling, and semantic search — zero cloud, no per-token cost, no data egress
  • Audit-grade output: generates regulatory reports validated against the authoritative spec, never fabricating a value it can’t ground
  • End-to-end tested (Vitest + Playwright); pnpm monorepo

One engineer, the whole stack — a real product where the AI is load-bearing, not bolted on, and the sensitive data never leaves the building.