The Native AI-Powered IDE for macOS
Built from scratch. No Electron. No compromises.
β¬οΈ Download Latest Release Β· Features Β· Architecture Β· Getting Started
Every modern IDE is built on Electron β a web browser pretending to be a native app. MicroCode is different.
We built a fully native macOS IDE from scratch using SwiftUI, Rust, and Metal. The result is an editor that launches in under a second, uses a fraction of the memory, and feels like it belongs on your Mac.
| MicroCode | Electron IDEs | |
|---|---|---|
| Startup time | < 1s | 3-8s |
| Memory (idle) | ~80 MB | 400-800 MB |
| GPU rendering | Metal (native) | WebGL (emulated) |
| AI integration | 7 providers, native | Plugin-dependent |
| File indexing | Tree-sitter + Rust | JS-based |
Multi-provider AI agent with tool-use capabilities, not just autocomplete.
- 7 providers β Gemini, OpenAI, Claude, DeepSeek, Grok, Qwen, GLM
- Agentic tools β Read, write, edit, search code, run commands, git operations
- Streaming responses β Real-time token streaming with diff preview
- Workspace-aware β Full project context via RAG semantic search (Candle ML)
- Sandboxed execution β Timeout, output limits, path-restricted operations
- 30+ languages β Tree-sitter powered syntax highlighting
- Debounced highlighting β Only processes visible range, not the entire file
- Hex color preview β Inline color swatches in CSS/Swift/Rust
- Native text engine β NSTextView + custom layout, not a web canvas
- Full PTY terminal with ANSI color support
- Multiple sessions with tab management
- Direct workspace integration
- Git integration β Status, diff, commit, branch switching
- Project scaffolding β Create Rust, Swift, Node.js, Python, Web projects
- WASM extensions β Sandboxed extension system (Wasmtime)
- Build system β Integrated build & run for multiple languages
- Dark-first UI β Precision-crafted dark theme with glassmorphism
- Metal-powered effects β GPU-rendered backgrounds and animations
- Native macOS β Respects system appearance, keyboard shortcuts, trackpad gestures
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MicroCode.app β
β β
β ββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββ β
β β SwiftUI + AppKit β β Objective-C++ Core β β
β β β β β’ Syntax Engine β β
β β β’ Editor View β β β’ Text Pipeline β β
β β β’ AI Agent Panel β β β’ Performance Primitives β β
β β β’ File Browser β β β β
β β β’ Terminal β ββββββββββββββββββββββββββββββββββββ β
β β β’ Settings β β
β ββββββββββ¬ββββββββββββ β
β β HTTP + SSE β
β ββββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββ β
β β Rust Backend (Axum + Tokio) β β
β β β β
β β βββββββββββ ββββββββββββ ββββββββββββ βββββββββββββ β β
β β β AI β β Agent β β Git β β Extension β β β
β β β Engine β β Runtime β β Manager β β Host β β β
β β βββββββββββ ββββββββββββ ββββββββββββ βββββββββββββ β β
β β βββββββββββ ββββββββββββ ββββββββββββ βββββββββββββ β β
β β β RAG β β Terminal β β Indexer β β Kernel β β β
β β β Search β β Manager β β (T-S) β β Safety β β β
β β βββββββββββ ββββββββββββ ββββββββββββ βββββββββββββ β β
β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | SwiftUI + AppKit | Native macOS UI |
| Rendering | Metal | GPU-accelerated effects |
| Core | Objective-C++ | Performance-critical text ops |
| Backend | Rust (Axum/Tokio) | Async services, AI, Git |
| Parsing | Tree-sitter | Multi-language syntax |
| ML | Candle | On-device embeddings for RAG |
| Extensions | Wasmtime | Sandboxed WASM plugins |
| Requirement | Version |
|---|---|
| macOS | 13.0 (Ventura) or later |
| Xcode | 15.0+ |
| Rust | 1.75+ |
| Node.js | 18+ (optional, for extension development) |
Download the latest .dmg or .pkg from Releases.
# Clone
git clone https://github.com/Dotmini/microcode.git
cd microcode
# Quick dev build (current arch, debug)
./build_distribution.sh --dev
# Full release build (universal binary + DMG + PKG)
./build_distribution.sh./build_distribution.sh --dev # Fast debug build, current arch only
./build_distribution.sh --version 1.1 # Set version
./build_distribution.sh --sign # Sign & notarize after buildmicrocode/
βββ CodeTunner/ # Swift sources (SwiftUI + AppKit)
β βββ Views/ # UI components
β βββ Services/ # AI client, agent service
β βββ SyntaxEngine/ # Highlighting engine
β βββ Models/ # Data models, app state
βββ CodeTunnerSupport/ # Objective-C++ core modules
βββ backend/ # Rust backend server
β βββ src/
β βββ ai.rs # Multi-provider AI engine
β βββ agent.rs # AI agent with tool-use
β βββ indexer.rs # Tree-sitter file indexer
β βββ main.rs # Axum HTTP server
βββ microcode_core/ # Rust shared core library
βββ extension-host/ # WASM extension runtime
βββ vscode-compat-host/ # VS Code extension compatibility
βββ .github/workflows/ # CI/CD (build, sign, release)
Note: The
CodeTunnerfolder name is historical. The product name is MicroCode.
MicroCode takes security seriously:
- Source integrity β SHA256 checksums verified on every push via CI
- Sandboxed commands β AI agent commands run with 30s timeout, 1MB output limit, restricted PATH
- Path traversal protection β All file operations validated against workspace boundary
- No telemetry β Zero data collection, fully offline capable
MicroCode supports 7 AI providers out of the box. Configure via Settings β AI Providers:
| Provider | Models | API Key Env |
|---|---|---|
| Gemini | 3.1 Pro, 2.5 Pro, 2.5 Flash | GEMINI_API_KEY |
| OpenAI | GPT-5, GPT-4o, o3, o4-mini | OPENAI_API_KEY |
| Claude | 4.7 Opus, Sonnet 4, 3.5 Haiku | ANTHROPIC_API_KEY |
| DeepSeek | V4, Chat, Coder | DEEPSEEK_API_KEY |
| Grok | grok-3, grok-3-mini | GROK_API_KEY |
| Qwen | qwen-max, qwen-turbo | QWEN_API_KEY |
| GLM | glm-4-plus | GLM_API_KEY |
We welcome contributions! Please:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing) - Run checksums before committing (
./generate_checksums.sh) - Submit a pull request
| Tirawat Nantamas Founder & Lead Architect Dotmini Software |
Academic Partnership: SPU AI Club β Sripatum University (ΰΈ‘ΰΈ«ΰΈ²ΰΈ§ΰΈ΄ΰΈΰΈ’ΰΈ²ΰΈ₯ΰΈ±ΰΈ’ΰΈ¨ΰΈ£ΰΈ΅ΰΈΰΈΰΈΈΰΈ‘)
MicroCode Public License (MPL) v1.0 β See LICENSE for full terms.
This is a source-available license designed to protect the creator's rights while fostering open-source collaboration:
| Use Case | Allowed? | Cost |
|---|---|---|
| π Personal / Hobby | β Free | $0 |
| π Education / Research | β Free | $0 |
| π€ Open Source Contributions | β Free | $0 |
| π Evaluation (β€ 90 days) | β Free | $0 |
| π’ Commercial (Small Biz β€ ΰΈΏ10M) | 10% Revenue Share | |
| π¬ Commercial (Medium β€ ΰΈΏ100M) | 15% Revenue Share | |
| ποΈ Commercial (Enterprise > ΰΈΏ100M) | 20% Revenue Share |
If you intend to use MicroCode or any derivative work for commercial purposes (SaaS, product integration, consulting, etc.), you must sign a Commercial License Agreement with the Licensor before deployment:
- Contact β Dotmini Software via GitHub
- Negotiate β Revenue tier + specific terms
- Sign CLA β Bilateral agreement with quarterly reporting
- Deploy β Use commercially with full legal protection
β οΈ Using MicroCode commercially without a CLA is a violation of copyright law under the Copyright Act B.E. 2537 (Thailand) and applicable international treaties.
This license is governed by Thai law (ΰΈΰΈΰΈ«ΰΈ‘ΰΈ²ΰΈ’ΰΉΰΈΰΈ’), including:
- Copyright Act B.E. 2537 (ΰΈ.ΰΈ£.ΰΈ. ΰΈ₯ΰΈ΄ΰΈΰΈͺΰΈ΄ΰΈΰΈΰΈ΄ΰΉ)
- Civil and Commercial Code (ΰΈΰΈ£ΰΈ°ΰΈ‘ΰΈ§ΰΈ₯ΰΈΰΈΰΈ«ΰΈ‘ΰΈ²ΰΈ’ΰΉΰΈΰΉΰΈΰΉΰΈ₯ΰΈ°ΰΈΰΈ²ΰΈΰΈ΄ΰΈΰΈ’ΰΉ)
- Trade Secrets Act B.E. 2545 (ΰΈ.ΰΈ£.ΰΈ. ΰΈΰΈ§ΰΈ²ΰΈ‘ΰΈ₯ΰΈ±ΰΈΰΈΰΈ²ΰΈΰΈΰΈ²ΰΈ£ΰΈΰΉΰΈ²)
Disputes are resolved in the courts of Bangkok, Thailand.
| Tirawat Nantamas (ΰΈΰΈ΄ΰΈ£ΰΈ§ΰΈ±ΰΈΰΈΰΉ ΰΈΰΈ±ΰΈΰΈΰΈ‘ΰΈ²ΰΈ¨) Founder & Lead Architect Dotmini Software |
Academic Partnership: SPU AI Club β Sripatum University (ΰΈ‘ΰΈ«ΰΈ²ΰΈ§ΰΈ΄ΰΈΰΈ’ΰΈ²ΰΈ₯ΰΈ±ΰΈ’ΰΈ¨ΰΈ£ΰΈ΅ΰΈΰΈΰΈΈΰΈ‘)
Built with β€οΈ in Thailand πΉπ
Copyright Β© 2024-2026 Tirawat Nantamas β Dotmini Software