AI-native workspace for code agents
An open-source, AI-first code editor that runs in your browser. Install it as a desktop app β no Electron required.
π Live Demo Β· π₯ Install Β· β¨ Features Β· π Quick Start Β· π€ Contributing
All screenshots are captured from the real running application β no mockups or AI-generated images.
AICodeStudio is an open-source, AI-native IDE designed for code agents. Unlike traditional IDEs that treat AI as an add-on, AICodeStudio puts AI agents at the center of the development experience with a dedicated Agent Control panel, real-time provider status, and an agent-first HUD.
Built with Next.js 16, React 19, and Monaco Editor, it runs entirely in the browser and can be installed as a PWA for a native desktop experience without Electron. The IDE features a professional dark theme with a carefully crafted design token system, ensuring visual consistency across all components.
The HUD (Heads-Up Display) is designed around the agent workflow:
- Mission Bar β Shows workspace, git branch, active agent, execution mode (Ask/Plan/Build/Review/Auto), trust mode, and AI provider status at a glance
- Agent Control Panel β Dedicated sidebar with agent card, permissions, activity timeline, and quick actions
- Activity Bar β Icons organized by group: Workspace, Agents, Runtime, Integrations
- Status Bar β Real-time git changes, runtime mode, provider status, and file info
- Runtime Health β Visual chips showing which services are active, simulated, or unavailable
- User-Configurable AI Providers β Add any AI provider with your own API key; keys are sent only to your instance and are not persisted by default
- Real AI Chat β Direct API integration with real AI models through configurable endpoints; no simulated responses or canned fallbacks
- Connection Testing β Test your AI provider connection before saving to verify everything works
- Quick Actions β One-click AI actions: Explain Code, Find Bugs, Optimize, Review Staged Changes, Create Implementation Plan, Run Tests
- Markdown Rendering β AI responses render with full Markdown formatting including code blocks
- Voice Commands β Speak natural language commands to create functions, add imports, explain code, find bugs, and refactor
- Real-Time Transcription β Live speech-to-text using the Web Speech API with visual waveform feedback
- Multi-Language Support β Voice recognition in English, Spanish, French, German, Chinese, and Japanese
- Monaco Editor β The same editor engine that powers VSCode with IntelliSense, bracket matching, and code folding
- Configurable Settings β Font size, tab size, minimap, word wrap, line numbers, ligatures, bracket pairs β all adjustable in real-time
- Syntax Highlighting β 20+ languages with custom dark theme optimized for readability
- Multiple Tabs β Work with multiple files simultaneously with unsaved change indicators and auto-save
- Create Files & Folders β Build your workspace from scratch with real file operations
- File System Access API β Open local directories directly in the browser when supported
- Auto-Save β Changes are automatically persisted to the virtual file system
- Container Operations β Start, stop, restart, and remove Docker containers directly from the IDE
- Security-First β Docker is disabled by default; requires
AICODE_ENABLE_DOCKER=trueandDOCKER_HOSTto be explicitly set
- SQLite Support β Connect to SQLite databases with full schema browsing and query execution
- Read-Only by Default β Only SELECT/WITH/PRAGMA/EXPLAIN are allowed unless
AICODE_DB_WRITE_ENABLED=true
- Room Management β Create and join collaboration rooms
- Experimental β Real-time sync requires a WebSocket server; currently uses in-memory state
- Search in Files β Searches through actual file contents in your workspace
- Regex Support β Use regular expressions for advanced pattern matching
- Clone Repositories β Clone any public GitHub repo via the API; files are loaded into your workspace
- Search GitHub β Search repositories directly using the GitHub Search API
- Full Change Tracking β Stage/unstage individual files, discard changes, view diffs
- Commit Workflow β Write commit messages with templates, signed-off-by, and amend support
- Branch Management β Create, switch, and delete branches
- Virtual Terminal β
touch,mkdir,rm,mv,catoperate on the virtual file system - Visual Error/Success States β Command output is color-coded for clarity
- Real PTY β Available when
AICODE_ENABLE_TERMINAL=truewith node-pty installed (requires server mode) - Labeled Correctly β Virtual mode is labeled "workspace shell", not "bash"
- Multi-Language Support β 10 language configurations
- Simulated Diagnostics & Completions β Basic syntax-aware suggestions and diagnostics
- Real LSP β Available when
AICODE_ENABLE_LSP=truewith language servers installed (requires server mode)
- Open VSX Registry β Browse and install extensions from the Open VSX Registry
- Full Lifecycle β Install, uninstall, and toggle extensions
- Pre-Built Themes β Nord, Dracula, GitHub Dark, Solarized, Monokai, and RosΓ© Pine
- Theme Builder β Create custom themes with color pickers and live preview
- Visual File Graph β Interactive canvas-based visualization of your workspace files
- 3 Layout Modes β Tree, Grid, and Force-directed layouts
- Install as Desktop App β Works like a native application on Windows, macOS, and Linux
- Offline Support β Service worker caching for core assets
- Standalone Mode β No browser chrome; full-screen IDE experience
AICodeStudio can run in two modes with different capability levels:
| Feature | Static Demo | Server Mode | Status |
|---|---|---|---|
| Monaco Editor | Yes | Yes | Real |
| Virtual FS | Yes | Yes | Real |
| AI Chat | If provider set | Yes | Real if provider configured |
| Search in Files | Yes | Yes | Real |
| Extensions | Yes | Yes | Real (Open VSX) |
| Themes | Yes | Yes | Real |
| Docker | No | Optional | Protected by flag |
| Terminal PTY | Virtual only | Optional | Real if AICODE_ENABLE_TERMINAL=true |
| LSP | Simulated | Optional | Simulated by default; real if AICODE_ENABLE_LSP=true |
| Database | No | SQLite only | Read-only by default |
| Collaboration | No | Simulated | In-memory rooms only |
| Git (server) | No | Yes | Sandboxed to WORKSPACE_DIR |
| File System Access | Yes | Yes | Browser API (when supported) |
| PWA Install | Yes | Yes | Real |
- Node.js 18+ or Bun 1.0+
- npm, yarn, pnpm, or bun
# Clone the repository
git clone https://github.com/smouj/AICodeStudio.git
cd AICodeStudio
# Install dependencies
npm install
# Start development server
npm run devOpen http://localhost:3000 in your browser.
AICodeStudio supports two deployment modes:
# Server mode (full IDE with APIs)
npm run build:server
npm start
# Static demo mode (GitHub Pages)
npm run build:static
# Output in out/ directorySee DEPLOYMENT.md for detailed deployment instructions.
- Open AICodeStudio in Chrome, Edge, or any Chromium-based browser
- Click the install icon in the browser address bar
- Click Install β AICodeStudio will launch as a standalone desktop application
- No Electron needed β it runs as a PWA with native-like performance
AICodeStudio uses a centralized design token system for visual consistency:
- Backgrounds: Root (#080c12), Base (#050810), Panel (#080c12), Surface (#0a0e14), Elevated (#0d1117)
- Text hierarchy: Primary, Secondary, Muted, Dim, Disabled β ensuring proper contrast at every level
- Accent: Teal (#00d4aa) used sparingly for agent/active states only
- Semantic colors: Success (green), Warning (amber), Danger (red), Info (blue)
- Radius: 2β4px consistently across all components
- Shadows: Minimal, functional shadows without glow effects
The design avoids:
- Excessive glows or neon effects
- Generic SaaS aesthetics
- Poor contrast or illegible text
- Overuse of teal accent color
- Inconsistent rounded corners
Brand assets are located in public/brand/:
aicodestudio-logo.svgβ Full logo with backgroundaicodestudio-mark.svgβ Icon-only markaicodestudio-logo-dark.svgβ Logo variant for dark surfacesaicodestudio-social-banner.svgβ Social media banner
Screenshots are in public/screenshots/.
Runtime capabilities are determined by server flags and environment:
| Flag | Effect |
|---|---|
AICODE_ENABLE_DOCKER=true |
Enable Docker container management |
AICODE_ENABLE_TERMINAL=true |
Enable real PTY terminal (requires node-pty) |
AICODE_ENABLE_LSP=true |
Enable real LSP integration |
AICODE_DB_WRITE_ENABLED=true |
Allow write operations on databases |
DOCKER_HOST |
Docker daemon address (required with Docker flag) |
WORKSPACE_DIR |
Git sandbox directory |
| Shortcut | Action |
|---|---|
Ctrl+Shift+P |
Open Command Palette |
Ctrl+Shift+F |
Search in Files |
Ctrl+Shift+G |
Source Control |
Ctrl+Shift+A |
AI Assistant |
Ctrl+Shift+X |
Extensions |
| `Ctrl+`` | Toggle Terminal |
Ctrl+, |
Open Settings |
Ctrl+T |
Toggle Theme |
Ctrl+Enter |
Execute Query (Database) |
src/
βββ app/
β βββ api/ # API routes (ai, git, docker, database, etc.)
β βββ globals.css # Global styles & design tokens
β βββ layout.tsx # Root layout with PWA metadata
β βββ page.tsx # Main entry point
βββ components/
β βββ hud/ # Design tokens & HUD primitives
β βββ ide/ # IDE components
β βββ ui/ # shadcn/ui component library
βββ store/ # Zustand global state
βββ lib/ # Utilities, security, server flags
| Technology | Purpose |
|---|---|
| Next.js 16 | React framework with App Router |
| React 19 | UI library with compiler |
| TypeScript 5 | Type-safe development |
| Monaco Editor | VSCode's editor engine |
| Zustand | Lightweight state management |
| Tailwind CSS 4 | Utility-first styling |
| shadcn/ui | Accessible UI components |
| Lucide Icons | Consistent icon set |
| Yjs | CRDT-based real-time collaboration |
| Open VSX | Extension marketplace registry |
| PWA | Desktop installation support |
| Prisma | Database ORM |
| isomorphic-git | Browser Git operations |
- Virtual file system with real file operations
- Real search across file contents
- User-configurable AI providers with real API calls
- GitHub API integration for clone/search/trending
- Git staging and commit workflow (server mode)
- Virtual terminal with file system commands
- Agent-first HUD with Mission Bar and Agent Control
- Centralized design token system
- Extension marketplace (Open VSX)
- Docker container management (requires explicit opt-in)
- SQLite database viewer and query editor
- Custom themes marketplace with theme builder
- Voice-to-code AI integration
- Canvas navigation for visual file graphs
- PWA desktop installation
- Security hardening (path sandboxing, SQL guard, secret protection)
- File System Access API for local files
- Real PTY terminal over WebSocket
- Canvas-based real-time collaborative whiteboard
- Real-time collaboration via WebSocket (Yjs)
- Real LSP integration for TypeScript/JavaScript
- Multi-database adapters (PostgreSQL, MySQL, MongoDB)
| Feature | Static Demo | Server Mode | Status |
|---|---|---|---|
| Monaco Editor | Yes | Yes | Real |
| Virtual FS | Yes | Yes | Real |
| AI Chat | If provider set | Yes | Real if provider configured |
| Search in Files | Yes | Yes | Real |
| Extensions | Yes | Yes | Real (Open VSX) |
| Themes | Yes | Yes | Real |
| Docker | No | Optional | Protected by flag |
| Terminal PTY | Virtual only | Optional | Real if AICODE_ENABLE_TERMINAL=true |
| LSP | Simulated | Optional | Simulated by default; real if AICODE_ENABLE_LSP=true |
| Database | No | SQLite only | Read-only by default |
| Collaboration | No | Simulated | In-memory rooms only |
| Git (server) | No | Yes | Sandboxed to WORKSPACE_DIR |
| File System Access | Yes | Yes | Browser API (when supported) |
| PWA Install | Yes | Yes | Real |
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
This project is licensed under the MIT License β see the LICENSE file for details.
Built with care by the AICodeStudio Team
















