Mentis AI
Mentis AI is a full stack AI workspace built with Next.js 16, Vercel AI SDK, Better Auth, and PostgreSQL. Users can interact with OpenAI, Anthropic, and Gemini models using encrypted keys, streaming responses, server tools (Web Search, URL Reader, Calculator, Search), conversation branching, and PDF or Markdown exporting.







Users are often locked into single AI provider platforms or forced to pay subscription fees across multiple services without being able to bring their own API keys, run custom tools (like web search or webpage reading), search past message history, or branch conversation turns cleanly.
Built Mentis AI as a unified multi-provider AI assistant environment utilizing Next.js 16 App Router, React 19, and Drizzle ORM. Integrated Vercel AI SDK with custom provider adapters, client/server AES-256 key encryption, PostgreSQL full-text search, Better Auth, and a domain-driven tool suite (Tavily Web Search, URL Fetcher, Safe Math Calculator, Date/Time Manager, and Full-Text Message Search).
Delivered a high-performance, privacy-respecting AI workbench where users control their API keys, chat trajectories, and model preferences with zero platform lock-in. Features rich conversation branching, custom system prompts per chat, request latency and token cost tracking, and export options to PDF, Markdown, and JSON.
“Designed with a decoupled provider architecture, server tool execution engine, and dynamic key injection with AES 256 encryption.”
2026
AI / Full Stack