AI Wrapper Kit
A lean, production-grade starter kit for building AI-powered wrapper applications — REST-based multi-provider LLM chat without the complexity of streaming connections or WebSockets. Pairs a FastAPI backend with a Next.js 15 / React 19 frontend, with multi-provider LLM chat, persistent conversation history, and usage logging wired up out of the box.
Core capabilities
- Unified multi-provider chat: a single REST endpoint routes to OpenAI, Anthropic Claude, Google Gemini, or Groq via LangChain's
init_chat_model, based on the model requested and which API keys are configured. - Persistent chat threads: multi-turn conversations with automatic thread titling from the first prompt.
- Per-chat model override: switch providers/models per conversation.
- Modern chat UI: Next.js single-page app with a chat workspace, model settings drawer, and system settings.
Four tiers, two independent choices
Pick your database (MongoDB or PostgreSQL) and your auth level (NoAuth or WithAuth):
- NoAuth tiers: zero-auth by design — clone, add API keys, and start chatting. Includes a usage-logs endpoint for per-request token tracking.
- WithAuth tiers: adds JWT authentication, email OTP verification, role-based access control, Fernet-encrypted credential handling, and an admin/audit console.
An honest note on the tiers
Unlike some of our other multi-tier products, WithAuth is not simply "NoAuth plus auth" — NoAuth's usage-logs endpoint is replaced by WithAuth's audit-log system rather than kept alongside it. Both tiers ship real usage/activity tracking, just through different mechanisms suited to each tier's audience.
