Get started
Duscode documentation
Learn how to install Duscode, give Dus its first task, and use routing, verification gates, worktree tasks and the rest of the workspace.
Duscode is your engineering team. Dus builds your software, runs it on your servers and keeps it healthy, and you approve what matters. He works on your computer, next to your code: he plans, writes and tests the change, ships it, and shows you the proof of what ran. See Duties for the six jobs he does.
Dus uses AI models from the provider you choose, on your own key or on Duscode credits. For each task he picks the cheapest model that can do the job, and shows what the task cost.
Note
Duscode is in early access. These docs describe what ships today. Features still being built are marked Coming soon and listed on Coming soon.
Start here
What Duscode does
- Works with many providers. Anthropic, OpenAI, Gemini, DeepSeek, xAI, Mistral, Groq, OpenRouter, local models through Ollama or LM Studio, and any OpenAI-compatible endpoint. See Providers and models.
- Routes each task to a model tier. Easy work goes to a fast, cheap model and hard work to a frontier model. Dus moves up a tier when it gets stuck. See Routing and costs.
- Checks its work before saying "done". After Dus changes files, it runs your project's typecheck, lint and tests. Failures go back to Dus to fix. See Verification gate.
- Gives each task its own worktree. Each task gets its own git branch and folder, and can show your app live inside Duscode, where you can watch Dus test it. See Tasks and worktrees.
- Handles the git flow. Commit, push, open a pull request and merge from the workspace. See Git, commits and pull requests.
- Keeps your code on your machine. Duscode runs locally. With your own key, code goes only to the provider you picked; on Duscode credits, requests pass through Duscode Cloud, which keeps what each call cost, not what it said. See Your data and keys.
Three ways to use it
| Interface | Start it with | Best for |
|---|---|---|
| Browser workspace | duscode in a project folder |
Everyday work: chat, diffs, editor, tests, git |
| Terminal | duscode chat |
Quick tasks without leaving the shell |
| VS Code | Duscode: Open from the Command Palette | The same workspace inside VS Code, with files and diffs opening in VS Code's own editor |
All three use the same engine, configuration and keys.