ProjectsProject Detail

ZNPak.ai

Production-grade reusable AI SaaS core—workspaces, SSE assistant, secure attachments, pgvector RAG, and monorepo packages for future vertical products.

ZNPak.ai platform overview

The Brief

One foundation for the next AI verticals.

ZNPak.ai is not a single marketing chat page—it is Turborepo infrastructure: @znpak/ai orchestration, Supabase RLS, storage helpers, billing hooks, and apps/web as the contract-tested generic assistant.

Priority implementations shipped streaming chat with idempotency, magic-byte attachment uploads, workspace-scoped knowledge retrieval, and documented prompt-injection rules for RAG.

Technical Architecture

Turborepo packages

ai, auth, database, storage, billing, validation, observability—apps import, packages never import apps.

Supabase

Postgres RLS, workspace_members, pgvector chunks, private Storage buckets, rate_limit_events.

Assistant API

POST /api/ai/chat — Zod validation, membership checks, SSE orchestrator stream, usage tracking.

ZNPak.ai platform overview

Platform UX that verticals inherit

Dashboard shell, conversation list, attachment progress, and knowledge modules demonstrate what every future apps/<product> build should feel like—not a throwaway demo.

Core

Auth · Chat · RAG · Files

Quality

Vitest · Playwright

ZNPak.ai assistant chat interface
Role

Full Stack Product Engineer

Client

Personal platform / AI SaaS foundation

Date

2026

Collaborators

Solo build

Next Project

Apna Contacts

View next