darce Svelte Themes

Darce

The AI coding agent that makes you smarter, not lazier. Open source desktop editor with teaching mode. Tauri + Svelte + Monaco.

Darce

Darce

The AI coding agent that makes you smarter, not lazier.

Darce (دَرْس) means "a lesson" in Arabic.

Website · Download · Quick Start · Roadmap

License Version Platform


The Problem

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.


Three Gears

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.

Features

AI Agent v2

  • 16 tools — create, edit, read, delete, search, glob, git, browse, and more
  • Smart model rotation with automatic fallback (Auto / Auto Fast / Manual)
  • Parallel tool execution — independent operations run simultaneously
  • Resilience engine — silent recovery from rate limits, empty responses, timeouts
  • Background process manager — start, stop, restart dev servers
  • Project memory — .darce/instructions.md and .darce/memory.md persist context across sessions
  • Web browsing — scrape pages with CrawlRocket API, search Google, or use BrowserOS for full automation
  • Git integration — status, diff, commit from the agent
  • Lean context injection — minimal tokens per request for faster responses

Editor

  • Monaco (same engine as VS Code) with syntax highlighting, autocomplete, IntelliSense
  • Inline diff highlights — see exactly what the AI changed (green = added, amber = modified)
  • File tree with modification flash — files glow when created or edited
  • Multi-tab, context menus, Ctrl+S saves to disk

Live Streaming UX

  • RAF-buffered token rendering — smooth 60fps text streaming, no jank
  • Tool action cards with live diffs — see edit_file changes as red/green inline
  • Elapsed timer + action counter in header
  • Contextual status — "Analyzing results...", "Reviewing changes...", never blank
  • Process control bar — see running servers, stop with one click
  • GPU-accelerated animations — transform-only, 80ms tool cards, spring easing

Teaching

  • AI-powered code analysis after every action
  • Concept cards with adjustable depth (Brief / Standard / Deep / ELI5)
  • Interactive quizzes in Learn mode

Platform

  • 200+ models via OpenRouter — Kimi K2.5 (default), Claude, GPT, Gemini, Llama, Grok, and more
  • Smart model rotation — tries best models first, falls back on errors, tracks latency
  • Prompt caching — automatic for most providers, explicit for Anthropic
  • ~8MB installer. Native desktop. Built with Tauri 2 + Rust.
  • Bring your own API key. No account required. No data collection.

Quick Start

Download

Download Darce — pick the installer for your platform:

Platform Format
Windows .msi or .exe
macOS .dmg
Linux .deb or .AppImage

Build From Source

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.


Agent Tools

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

Architecture

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)

What Makes Darce Different

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.


Partners

CrawlRocket CrawlRocket — Web scraping API powering Darce's browse and search tools. Headless browser scraping, Google search, structured data extraction.


Roadmap

  • Smart model rotation (Auto / Auto Fast / Manual)
  • Parallel tool execution
  • Background process manager
  • Git integration (status, diff, commit)
  • Web browsing (CrawlRocket + BrowserOS)
  • Project memory (.darce files)
  • Inline diff highlights in editor
  • Anthropic Direct API support
  • Ollama local model support
  • Live browser preview
  • VS Code extension (Learn mode standalone)
  • Concept progress tracking across sessions
  • Community concept library

See open issues for what's being worked on.


Contributing

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

License

MIT

darce.dev

Top categories

Loading Svelte Themes