# KanzlAI AI-powered toolkit for patent litigation — UPC case law search, analysis, and AI-assisted legal research. **Memory group_id:** `kanzlai` ## Project Structure ``` backend/ Go API server cmd/server/ Entry point internal/ Private packages frontend/ Next.js 15 (TypeScript, Tailwind CSS, App Router) src/app/ App Router pages ``` ## Tech Stack - **Frontend:** Next.js 15 with TypeScript, Tailwind CSS v4, App Router, Bun - **Backend:** Go (standard library HTTP server) - **Database:** Supabase (PostgreSQL) — shared instance with other m projects - **AI:** Claude API - **Deploy:** mRiver with Caddy reverse proxy ## Development ```bash make dev-backend # Go server on :8080 make dev-frontend # Next.js dev server make build # Build both make lint # Lint both make test # Test both ``` ## Git Strategy - **main** = production - Feature branches: `feat/*`, `fix/*` - Worker branches: `mai//`