An open-source alternative to Cursor. AI code editor on CodeOSS, with OpenCode as its agentic harness.
TypeScript
2
10 commits
updated Oct 3, 2026
An open-source AI code editor that runs on your terms.
Dragon IDE is built on Code - OSS, the open-source core of VS Code, with OpenCode built in as its AI agent. Use a local model through Ollama and nothing leaves your machine, or bring your own key for Anthropic, OpenAI, Google, OpenRouter and more. No account, no subscription, no telemetry.
Get the latest build from Releases.
| Platform | File |
|---|---|
| macOS (Apple silicon or Intel) | .zip — unzip and drag Dragon IDE to Applications |
| Linux x64 | .tar.gz, .rpm or .deb |
| Windows x64 | .zip |
Each release lists which platforms it includes. The Mac apps are signed and notarized by Apple, so they open like any other app. The Windows app is not code-signed yet, so SmartScreen may stop the first launch: click More info, then Run anyway.
For a short tour, run Welcome: Open Walkthrough and pick Get Started with Dragon IDE.
dragon.updates.check), and OpenCode refreshes its public model list. That is all the background traffic.You need Node 24 (see .nvmrc), Python 3, a C/C++ toolchain and Bun 1.4.2 or newer.
npm ci
npm run compile
npm run dragon:build-opencode # builds the bundled OpenCode binary
./scripts/code.sh # macOS and Linux (scripts\code.bat on Windows)
Run the checks with npm run dragon:check. CONTRIBUTING.md covers the rest, including running CI on your own machine.
| Path | What it is |
|---|---|
src/ | The VS Code workbench; Dragon's own UI is in src/vs/workbench/contrib/dragon* |
extensions/dragon-agent/ | Runs OpenCode and connects it to the chat, models, Ollama, the terminal, search and updates |
opencode/ | A pinned, unmodified copy of OpenCode |
scripts/dragon/ | Build, release and test scripts |
VS Code draws the editor and the chat; OpenCode runs the agent, tools and providers. The details live in SPEC.md and the specs listed in specs/INDEX.md. DESIGN.md lists every design element, and UPSTREAM.md explains how we track VS Code and OpenCode.
Planned work is in todo.md. The big one is running several agents side by side, each in its own chat.
MIT. VS Code and OpenCode are MIT-licensed too; their notices, and those of DeepSeek Harness (MIT, used for the usage readout), are in ThirdPartyNotices.txt.
Dragon IDE is an independent project, not affiliated with or endorsed by Microsoft, the OpenCode authors, Ollama or DeepSeek. The Dragon IDE name and logo are not free to reuse. The heading font is Almendra (SIL Open Font License 1.1); all other artwork is original to this repository.
Dragon IDE is provided "as is", without warranty of any kind, as the MIT License says. You use it at your own risk.
TypeScript
92.2%
MDX
4.0%
CSS
2.0%
An open-source alternative to Cursor. AI code editor on CodeOSS, with OpenCode as its agentic harness.
TypeScript
2
10 commits
updated Oct 3, 2026
An open-source AI code editor that runs on your terms.
Dragon IDE is built on Code - OSS, the open-source core of VS Code, with OpenCode built in as its AI agent. Use a local model through Ollama and nothing leaves your machine, or bring your own key for Anthropic, OpenAI, Google, OpenRouter and more. No account, no subscription, no telemetry.
Get the latest build from Releases.
| Platform | File |
|---|---|
| macOS (Apple silicon or Intel) | .zip — unzip and drag Dragon IDE to Applications |
| Linux x64 | .tar.gz, .rpm or .deb |
| Windows x64 | .zip |
Each release lists which platforms it includes. The Mac apps are signed and notarized by Apple, so they open like any other app. The Windows app is not code-signed yet, so SmartScreen may stop the first launch: click More info, then Run anyway.
For a short tour, run Welcome: Open Walkthrough and pick Get Started with Dragon IDE.
dragon.updates.check), and OpenCode refreshes its public model list. That is all the background traffic.You need Node 24 (see .nvmrc), Python 3, a C/C++ toolchain and Bun 1.4.2 or newer.
npm ci
npm run compile
npm run dragon:build-opencode # builds the bundled OpenCode binary
./scripts/code.sh # macOS and Linux (scripts\code.bat on Windows)
Run the checks with npm run dragon:check. CONTRIBUTING.md covers the rest, including running CI on your own machine.
| Path | What it is |
|---|---|
src/ | The VS Code workbench; Dragon's own UI is in src/vs/workbench/contrib/dragon* |
extensions/dragon-agent/ | Runs OpenCode and connects it to the chat, models, Ollama, the terminal, search and updates |
opencode/ | A pinned, unmodified copy of OpenCode |
scripts/dragon/ | Build, release and test scripts |
VS Code draws the editor and the chat; OpenCode runs the agent, tools and providers. The details live in SPEC.md and the specs listed in specs/INDEX.md. DESIGN.md lists every design element, and UPSTREAM.md explains how we track VS Code and OpenCode.
Planned work is in todo.md. The big one is running several agents side by side, each in its own chat.
MIT. VS Code and OpenCode are MIT-licensed too; their notices, and those of DeepSeek Harness (MIT, used for the usage readout), are in ThirdPartyNotices.txt.
Dragon IDE is an independent project, not affiliated with or endorsed by Microsoft, the OpenCode authors, Ollama or DeepSeek. The Dragon IDE name and logo are not free to reuse. The heading font is Almendra (SIL Open Font License 1.1); all other artwork is original to this repository.
Dragon IDE is provided "as is", without warranty of any kind, as the MIT License says. You use it at your own risk.
TypeScript
92.2%
MDX
4.0%
CSS
2.0%