The AI coding agent that makes you smarter, not lazier.
Darce (دَرْس) means "a lesson" in Arabic.
Website · Download · Quick Start · Roadmap
AI coding tools made us faster but dumber. We accept diffs without reading them. We ship code we can't explain. We stopped learning.
Darce is a desktop code editor with a full AI agent that builds software — and teaches you what it's doing while it works. Think of it as a senior engineer who writes your code and explains every decision.
Open source. Local-first. Any model. Your keys.
You pick the depth. Switch anytime.
| Mode | What Happens | |
|---|---|---|
| 1 | Ship | The AI builds fast. No interruptions. You ship. |
| 2 | Understand | The AI builds and explains every decision. What pattern. Why. What else it considered. |
| 3 | Learn | The AI asks you first. Then builds, explains, and quizzes you. Spaced repetition in your workflow. |
AI Agent v2
.darce/instructions.md and .darce/memory.md persist context across sessionsEditor
Live Streaming UX
Teaching
Platform
Download Darce — pick the installer for your platform:
| Platform | Format |
|---|---|
| Windows | .msi or .exe |
| macOS | .dmg |
| Linux | .deb or .AppImage |
Prerequisites: Node.js 18+, Rust, C++ build tools (Windows / macOS: xcode-select --install)
git clone https://github.com/AmerSarhan/darce.git
cd darce
npm install
npm run tauri dev
On first launch: paste your OpenRouter API key. Open a folder. Start building.
Darce's AI agent has 16 tools — the same capabilities as professional coding agents:
| Tool | Description |
|---|---|
create_file |
Create new files with complete content |
edit_file |
Surgical search/replace edits with inline diff preview |
read_file |
Read files with optional line range |
delete_file |
Delete files or directories |
list_files |
List project file tree |
glob_files |
Find files by pattern (*.tsx, src/**/*.ts) |
search_files |
Grep across the project with regex |
run_command |
Execute shell commands (auto-detects servers) |
run_server |
Start background processes (dev servers, watchers) |
stop_process |
Stop a running background process |
restart_process |
Restart a background process |
browse_web |
Scrape any URL (CrawlRocket API or HTTP fallback) |
web_search |
Search Google and get scraped results |
git_status |
Show git status, branch, modified files |
git_diff |
Show git diff of changes |
git_commit |
Stage and commit changes |
save_memory |
Persist project knowledge across sessions |
open_url |
Open URL in default browser |
| Layer | Technology |
|---|---|
| Desktop | Tauri 2 (Rust) |
| Frontend | Svelte 5, TypeScript |
| Editor | Monaco Editor |
| Styling | Tailwind CSS v4 |
| AI | OpenRouter (smart model rotation, SSE streaming) |
| Web Scraping | CrawlRocket API (optional) |
| Browser Automation | BrowserOS MCP (optional) |
Most AI coding tools optimize for speed. Darce optimizes for understanding.
Teaching is built in, not bolted on. Every file the AI writes gets broken down into concepts, patterns, and decisions — automatically.
Full agent, not just autocomplete. 16 tools, parallel execution, background processes, web browsing, git integration. Darce builds complete projects, not just code snippets.
Model agnostic. 200+ models through one API key. Smart rotation picks the best model and falls back on errors. No vendor lock-in.
Lightweight. ~8MB native app. Tauri + Rust. Not Electron.
Open source. MIT. Fork it, extend it, own it.
CrawlRocket — Web scraping API powering Darce's browse and search tools. Headless browser scraping, Google search, structured data extraction.
See open issues for what's being worked on.
Contributions welcome. Check CONTRIBUTING.md for setup instructions. Issues labeled good first issue are a good starting point.
git clone https://github.com/AmerSarhan/darce.git
cd darce && npm install && npm run tauri dev