Click any image to explore the gallery in full screen
ESCClose←→Navigate
Overview
About This Project
Nexa is a multi-tenant SaaS platform that hosts four Claude-powered AI agents in a single workspace — each with isolated memory, custom tools, and dedicated knowledge bases.
𝗧𝗵𝗲 𝗔𝗴𝗲𝗻𝘁𝘀:
→ Trading — Deterministic backtests, position sizing, strategy analysis with RSI mean reversion. Claude narrates; a deterministic engine calculates all P/L, drawdown, and Sharpe ratios.
→ Content — Long-form writing trained on your brand voice using RAG. Drafts 1500+ word pieces that match your tone and style.
→ Life Coach — Goals, habit loops, 90-day planning, and weekly reviews. Personalized accountability powered by conversation memory.
→ Music — Theory lessons, ear training exercises, and 30-day practice scheduling for jazz, classical, or any genre.
𝗧𝗲𝗰𝗵 𝗦𝘁𝗮𝗰𝗸:
→ Claude Opus 4.7 (1M context) for agent reasoning + tool use
→ OpenAI text-embedding-3-small for RAG embeddings
→ Next.js 14 (App Router) + NestJS 10 + Vercel AI SDK
→ Postgres + pgvector for per-user vector search with row-level security
→ BullMQ + Redis for document ingestion pipelines
→ Clerk for authentication, Cloudflare R2 for file storage
→ Langfuse for LLM observability (token cost, tool traces, latencies)
𝗔𝗜 𝗧𝗼𝗼𝗹𝘀 𝗨𝘀𝗲𝗱 𝗶𝗻 𝗗𝗲𝘃𝗲𝗹𝗼𝗽𝗺𝗲𝗻𝘁:
→ Claude Code — Pair-programmed the entire codebase, from Prisma schemas to streaming SSE handlers
→ v0 — First-pass UI scaffolding before Tailwind polish
→ Cursor — Inline refactors and test generation
𝗞𝗲𝘆 𝗙𝗲𝗮𝘁𝘂𝗿𝗲𝘀:
→ 04 Specialists · 24 Tools · Real-time streaming
→ Isolated memory per agent (no cross-contamination)
→ Per-user vector namespaces with row-level security
→ Multi-tenant architecture with strict data isolation
→ Token usage tracking and billing management
→ Document upload and knowledge base indexing
𝗔𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲 𝗗𝗲𝗰𝗶𝘀𝗶𝗼𝗻𝘀:
→ One agent, one tool registry — no global namespace
→ RAG filtered by userId AND agentType — prevents data leaks
→ LLM SDK wrapped behind interface — vendor flexibility
→ Tool-call loops capped at 10/message — prevents infinite recursion
→ Row-level security at database layer — not just app layer
Built in public as a showcase of production-grade multi-agent SaaS architecture.
Tech Stack
Next.js
React
Tailwind CSS
TypeScript
Node.js
Features
Key Highlights
Responsive Design
Pixel-perfect across all devices
High Performance
Optimized for speed
Scalable Architecture
Built for growth
Security First
Enterprise-grade security
Technical
Implementation Details
This project was built using modern development practices and industry-standard technologies. The implementation focused on creating a robust, maintainable, and scalable solution that meets current business needs while allowing for future growth.
The architecture emphasizes clean code principles, proper separation of concerns, and comprehensive testing to ensure reliability and performance.