Project notes
Behind the build
Nemi — Full-Stack AI Workspace
Overview
Nemi is a full-stack AI workspace designed to bring conversational AI, project file management, research, and code execution together in a single application.
Powered by the NVIDIA Nemotron model family through NVIDIA NIM, Nemi provides an intelligent assistant with automatic model routing, persistent conversations, editable long-term memory, and integrated workspace tools.
Beyond ordinary AI conversations, users can create and manage project files, search and revise existing content, execute code in isolated environments, conduct web research, and generate images. The platform also includes authentication, personalization, usage analytics, and a persistent File Library for managing generated files and uploaded attachments.
Key Features
Intelligent AI Assistant
- Conversational AI powered by the NVIDIA Nemotron model family.
- Automatic model routing based on task requirements.
- Optional manual model selection.
- Model-aware escalation for provider failures and repeated tool recovery failures.
- Optional model progress and backend-authored tool lifecycle events.
- Controlled recovery with bounded execution attempts.
Persistent Memory & Personalization
- Editable long-term memory.
- Persistent conversations and user preferences.
- Six workspace color themes: Forest, Midnight, Ocean, Amethyst, Nord, and Solarized.
- Theme preferences persisted across sessions.
- Personalized assistant experience.
Project Workspace & File Management
- Create and manage project files directly from conversations.
- Read, search, and revise workspace files.
- Revision-aware editing.
- Native persistent conversation workspaces.
- Requested ZIP packaging for project files.
- Persistent File Library for generated files and uploaded attachments.
Isolated Code Execution
- Python execution available by default when needed.
- Optional separately configured Node.js sandbox for builds and tests.
- Automatic Python dependency installation in the sandbox.
- Isolated execution capabilities.
- Tool lifecycle tracking and evidence-based artifact verification.
AI Image Generation
- Image generation through Cloudflare Workers AI.
- Powered by FLUX.1 Schnell.
- Binary validation of generated images.
- Generated images stored in the File Library.
- Configurable image generation limits and timeouts.
Web Research
- Integrated web search through the Tavily API.
- Research capabilities available through the AI assistant.
- Automatic model routing for tasks requiring current information and web research.
Authentication & Security
- Google OAuth authentication.
- GitHub OAuth authentication.
- Discord OAuth authentication.
- Secure HttpOnly cookie-based authentication.
- Backend-only API credentials.
- User-owned Personal Integrations encrypted at rest using AES-256-GCM.
- Authentication and ownership enforcement for protected API routes.
Personal Integrations & Developer Tools
- Hidden Developer Mode with Personal Integrations.
- Support for user-owned NVIDIA, Tavily, Cloudflare, and Vercel credentials.
- Configurable controls for Python sandbox, Node.js sandbox, web search, and image generation.
- Core project tools remain available automatically.
Usage Analytics
- Usage analytics across model rounds.
- Conversation branch tracking.
- Regenerated response version tracking.
Technical Architecture
Nemi uses a React and Vite frontend backed by an Express API, MongoDB persistence, and an AI agent runtime.
| Layer | Technologies |
|---|---|
| Frontend | React 19, Vite |
| Backend | Node.js, Express.js |
| Database | MongoDB, Mongoose |
| AI Models | NVIDIA Nemotron family |
| AI Infrastructure | NVIDIA NIM |
| Web Search | Tavily API |
| Image Generation | Cloudflare Workers AI |
| Authentication | Google, GitHub, and Discord OAuth |
| Code Execution | Python sandbox, optional Node.js sandbox |
Intelligent Model Routing
One of Nemi's central capabilities is its automatic model-routing system.
In Auto mode, Bolt is used for task classification before selecting a model based on recent user-turn context, AI classification, and deterministic capability rules.
The routing system considers task requirements, including:
- General conversational requests.
- Tasks requiring tools or web research.
- Explicit tool requests.
- Short follow-up messages.
- Audio and speech understanding.
Bolt is text-only and is not assigned tasks requiring tools. MP3 and WAV attachments are routed to Omni for speech and audio understanding.
Auto mode supports controlled escalation when a provider fails or a model returns an empty response. Manual mode preserves the selected model throughout a turn.
Workspace & Agent Runtime
The agent runtime connects conversations with project tools and execution capabilities.
It supports source creation, reading, revision-aware editing, searching, and ZIP packaging. Tool execution is tracked through backend-authored lifecycle events, bounded recovery attempts, and evidence-based artifact verification.
Python execution is available by default when required, while Node.js execution can be enabled through a separately configured sandbox.
Security & Credential Management
Security is incorporated into the backend and integration architecture.
- NVIDIA API credentials remain backend-only.
- OAuth authentication uses secure HttpOnly cookies.
- User-owned integration credentials are encrypted at rest using AES-256-GCM.
- API routes enforce authentication and ownership.
- Personal Integration encryption uses a dedicated encryption key.
- Production deployment requires HTTPS and appropriately configured secure cookies.
Deployment & Configuration
The application supports local development and production builds.
Development
npm install
npm run dev
Production
npm run build
npm start
The backend can serve the built static frontend by enabling SERVE_STATIC=true.
The application requires Node.js, npm, and MongoDB. Cloudflare Workers AI and Tavily credentials are optional integrations.
Project Details
- Project: Nemi — AI Workspace
- Version documented: v8.5.6
- AI Provider: NVIDIA Nemotron
- License: MIT
- Repository: RJRYT/aichatuiv3



