{
  "markdown": "<p align=\"center\">\n  <img src=\"https://darce.dev/logo-nav.png\" alt=\"Darce\" width=\"48\" height=\"48\" />\n</p>\n\n<h1 align=\"center\">Darce</h1>\n\n<p align=\"center\">\n  <strong>The AI coding agent that makes you smarter, not lazier.</strong>\n</p>\n\n<p align=\"center\">\n  <em>Darce (دَرْس) means \"a lesson\" in Arabic.</em>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://darce.dev\">Website</a> · <a href=\"https://github.com/AmerSarhan/darce/releases\">Download</a> · <a href=\"#quick-start\">Quick Start</a> · <a href=\"#roadmap\">Roadmap</a>\n</p>\n\n<p align=\"center\">\n  <img src=\"https://img.shields.io/github/license/AmerSarhan/darce?color=yellow\" alt=\"License\" />\n  <img src=\"https://img.shields.io/github/v/release/AmerSarhan/darce?include_prereleases&label=version&color=yellow\" alt=\"Version\" />\n  <img src=\"https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-yellow\" alt=\"Platform\" />\n</p>\n\n---\n\n## The Problem\n\nAI coding tools made us faster but dumber. We accept diffs without reading them. We ship code we can't explain. We stopped learning.\n\nDarce 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.\n\n**Open source. Local-first. Any model. Your keys.**\n\n---\n\n## Three Gears\n\nYou pick the depth. Switch anytime.\n\n| | Mode | What Happens |\n|---|---|---|\n| **1** | **Ship** | The AI builds fast. No interruptions. You ship. |\n| **2** | **Understand** | The AI builds and explains every decision. What pattern. Why. What else it considered. |\n| **3** | **Learn** | The AI asks you first. Then builds, explains, and quizzes you. Spaced repetition in your workflow. |\n\n---\n\n## Features\n\n**AI Agent v2**\n- 16 tools — create, edit, read, delete, search, glob, git, browse, and more\n- Smart model rotation with automatic fallback (Auto / Auto Fast / Manual)\n- Parallel tool execution — independent operations run simultaneously\n- Resilience engine — silent recovery from rate limits, empty responses, timeouts\n- Background process manager — start, stop, restart dev servers\n- Project memory — `.darce/instructions.md` and `.darce/memory.md` persist context across sessions\n- Web browsing — scrape pages with CrawlRocket API, search Google, or use BrowserOS for full automation\n- Git integration — status, diff, commit from the agent\n- Lean context injection — minimal tokens per request for faster responses\n\n**Editor**\n- Monaco (same engine as VS Code) with syntax highlighting, autocomplete, IntelliSense\n- Inline diff highlights — see exactly what the AI changed (green = added, amber = modified)\n- File tree with modification flash — files glow when created or edited\n- Multi-tab, context menus, Ctrl+S saves to disk\n\n**Live Streaming UX**\n- RAF-buffered token rendering — smooth 60fps text streaming, no jank\n- Tool action cards with live diffs — see edit_file changes as red/green inline\n- Elapsed timer + action counter in header\n- Contextual status — \"Analyzing results...\", \"Reviewing changes...\", never blank\n- Process control bar — see running servers, stop with one click\n- GPU-accelerated animations — transform-only, 80ms tool cards, spring easing\n\n**Teaching**\n- AI-powered code analysis after every action\n- Concept cards with adjustable depth (Brief / Standard / Deep / ELI5)\n- Interactive quizzes in Learn mode\n\n**Platform**\n- 200+ models via OpenRouter — Kimi K2.5 (default), Claude, GPT, Gemini, Llama, Grok, and more\n- Smart model rotation — tries best models first, falls back on errors, tracks latency\n- Prompt caching — automatic for most providers, explicit for Anthropic\n- ~8MB installer. Native desktop. Built with Tauri 2 + Rust.\n- Bring your own API key. No account required. No data collection.\n\n---\n\n## Quick Start\n\n### Download\n\n[Download Darce](https://github.com/AmerSarhan/darce/releases/latest) — pick the installer for your platform:\n\n| Platform | Format |\n|----------|--------|\n| **Windows** | `.msi` or `.exe` |\n| **macOS** | `.dmg` |\n| **Linux** | `.deb` or `.AppImage` |\n\n### Build From Source\n\n**Prerequisites:** [Node.js 18+](https://nodejs.org/), [Rust](https://rustup.rs/), C++ build tools ([Windows](https://visualstudio.microsoft.com/visual-cpp-build-tools/) / macOS: `xcode-select --install`)\n\n```bash\ngit clone https://github.com/AmerSarhan/darce.git\ncd darce\nnpm install\nnpm run tauri dev\n```\n\nOn first launch: paste your [OpenRouter API key](https://openrouter.ai/keys). Open a folder. Start building.\n\n---\n\n## Agent Tools\n\nDarce's AI agent has 16 tools — the same capabilities as professional coding agents:\n\n| Tool | Description |\n|------|-------------|\n| `create_file` | Create new files with complete content |\n| `edit_file` | Surgical search/replace edits with inline diff preview |\n| `read_file` | Read files with optional line range |\n| `delete_file` | Delete files or directories |\n| `list_files` | List project file tree |\n| `glob_files` | Find files by pattern (`*.tsx`, `src/**/*.ts`) |\n| `search_files` | Grep across the project with regex |\n| `run_command` | Execute shell commands (auto-detects servers) |\n| `run_server` | Start background processes (dev servers, watchers) |\n| `stop_process` | Stop a running background process |\n| `restart_process` | Restart a background process |\n| `browse_web` | Scrape any URL (CrawlRocket API or HTTP fallback) |\n| `web_search` | Search Google and get scraped results |\n| `git_status` | Show git status, branch, modified files |\n| `git_diff` | Show git diff of changes |\n| `git_commit` | Stage and commit changes |\n| `save_memory` | Persist project knowledge across sessions |\n| `open_url` | Open URL in default browser |\n\n---\n\n## Architecture\n\n| Layer | Technology |\n|-------|-----------|\n| Desktop | Tauri 2 (Rust) |\n| Frontend | Svelte 5, TypeScript |\n| Editor | Monaco Editor |\n| Styling | Tailwind CSS v4 |\n| AI | OpenRouter (smart model rotation, SSE streaming) |\n| Web Scraping | CrawlRocket API (optional) |\n| Browser Automation | BrowserOS MCP (optional) |\n\n---\n\n## What Makes Darce Different\n\nMost AI coding tools optimize for speed. Darce optimizes for understanding.\n\n**Teaching is built in, not bolted on.** Every file the AI writes gets broken down into concepts, patterns, and decisions — automatically.\n\n**Full agent, not just autocomplete.** 16 tools, parallel execution, background processes, web browsing, git integration. Darce builds complete projects, not just code snippets.\n\n**Model agnostic.** 200+ models through one API key. Smart rotation picks the best model and falls back on errors. No vendor lock-in.\n\n**Lightweight.** ~8MB native app. Tauri + Rust. Not Electron.\n\n**Open source.** MIT. Fork it, extend it, own it.\n\n---\n\n## Partners\n\n<a href=\"https://crawlrocket.com\"><img src=\"https://www.crawlrocket.com/_next/image?url=%2Flogo.png&w=32&q=75&dpl=dpl_HGFkQ5RBZam4VtMJWzvjqk7wrQHM\" alt=\"CrawlRocket\" width=\"20\" align=\"top\" /></a> **[CrawlRocket](https://crawlrocket.com)** — Web scraping API powering Darce's browse and search tools. Headless browser scraping, Google search, structured data extraction.\n\n---\n\n## Roadmap\n\n- [x] Smart model rotation (Auto / Auto Fast / Manual)\n- [x] Parallel tool execution\n- [x] Background process manager\n- [x] Git integration (status, diff, commit)\n- [x] Web browsing (CrawlRocket + BrowserOS)\n- [x] Project memory (.darce files)\n- [x] Inline diff highlights in editor\n- [ ] Anthropic Direct API support\n- [ ] Ollama local model support\n- [ ] Live browser preview\n- [ ] VS Code extension (Learn mode standalone)\n- [ ] Concept progress tracking across sessions\n- [ ] Community concept library\n\nSee [open issues](https://github.com/AmerSarhan/darce/issues) for what's being worked on.\n\n---\n\n## Contributing\n\nContributions welcome. Check [CONTRIBUTING.md](CONTRIBUTING.md) for setup instructions. Issues labeled `good first issue` are a good starting point.\n\n```bash\ngit clone https://github.com/AmerSarhan/darce.git\ncd darce && npm install && npm run tauri dev\n```\n\n---\n\n## License\n\n[MIT](LICENSE)\n\n<p align=\"center\">\n  <a href=\"https://darce.dev\">darce.dev</a>\n</p>\n",
  "bytes": 8086,
  "sha": "bed44f3aba7ac0789f7adc8eeb2583e153d1c473d3c178966e3d4117243f2c66",
  "repo_slug": "amersarhan/darce",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_amersarhan_darce_darce_4ad3dba8/readme"
}