Your code, your keys, your machine.
Duscode runs where your code lives. With your own key, it calls the AI provider you choose directly. On Duscode credits, requests pass through Duscode Cloud, which keeps what each call cost, not what it said.
- Runs on your machine
- A local server that listens on 127.0.0.1 only, and refuses requests from other websites and from any address but localhost, because it can edit files and run commands.
- Keys stay on your machine
- Provider keys are added in Settings and sealed in an encrypted vault on your machine (or read from your environment), never in a project or the repo. The browser sees only their last four characters, and Dus can't read them. They go only to the provider they belong to.
- Code goes only to the model
- Dus sends the parts of your code a task needs to the provider of the model that answers. With your own key, nothing passes through Duscode's servers. On credits, requests pass through Duscode Cloud and aren't stored there.
- Never stored by Duscode
- Duscode doesn't store your code, prompts or keys. Tasks, the journal and usage history are files on your own machine.
What protects you, and its stage.
Accounts, customer separation, secrets, prompt-injection defences, honest proof, billing and UK data law. Each stage comes from the same record as Capabilities.
- In betaAccounts with two-step sign-in
A Duscode account with a password or emailed links, two-step sign-in, a list of your sessions, and export or erasure of your data.
- In betaCustomers kept apart
One customer can never see, change or remove another customer’s account, team or invites.
- In betaKeys and secrets stay sealed on your machine
Provider keys and project secrets are kept encrypted on your computer. Dus refers to them by name; the value goes only into the command that needs it and is removed from all output.
- In betaDefences against prompt injection
Instructions hidden in a file or a web page can’t make Dus send your data out, read your keys or get code merged around the checks.
- In betaAsks you only what is yours to decide
Money, publishing, real people’s data, legal terms and keys come to you as a short card with Dus’s recommendation; technical steps Dus decides himself.
- In betaSpending limits per task and per day
You set what a task and a day may cost. Dus finishes the step he is on and stops at the limit, and shows the cost in pounds.
- In betaBilling that can’t go below cost
No plan, top-up or task can cost Duscode more than you pay, so prices stay sustainable. Included usage is shown in pounds, with a warning before you run out.
- In betaPrivacy mode: choose who may see your code
Choose any provider, only the providers you name, or local models only. A refused call is never sent somewhere else instead.
- In betaZero data retention, when you require it
One switch makes Dus use only model providers that keep nothing after answering, the ones you have an agreement with, or models on your computer.
- In betaCommands run in a sandbox
Where the system supports it, commands run with access limited to the project and the network hosts it needs.
- In betaSecure sign-in in the apps it builds
When an app has sign-in, Dus checks it against a published security standard (OWASP ASVS) and runs attack tests on it, and reports each control as proven or not.
- In betaHonest claims, only from records
What Duscode says it did comes from what ran, and what this site says it can do comes from tests that passed. Nothing is called shipped before it is proven.
- In betaA UK company, under UK GDPR
Duscode is made by Yiontech Ltd in Huddersfield. Export or erase your account data yourself; the legal pages are drafts until a solicitor has reviewed them.
- In betaCommands in their own container, if you want one
Choose container isolation for a project or a job, and each session’s commands run in a rootless Docker or Podman container that is removed afterwards. The project’s dev container is used, and Postgres or Redis run beside it. Without Docker, the sandbox on your computer is used, as before.
- In betaOne internet policy, by host, method and path
The sites a command may reach follow one set of rules, which can be as narrow as one method on one path. They are the same on your computer, in a container and in a job’s profile, and every allowed or refused site is recorded.
- ComingCommands in their own microVM
Each session’s commands run in a Firecracker microVM, with its own kernel, on Linux computers with KVM.
- In betaTraces, metrics and logs in your own monitoring
Send what Dus does to your own OpenTelemetry collector: every task, step, model call with tokens and cost, tool call, approval, merge and deploy. It is off until you turn it on, and it never includes your code, prompts or secrets.
- In betaAudit log export and decision records
Download every operation of a session as JSON Lines, CSV or OpenTelemetry logs. Each Proof of Work shows where Dus chose between options, the options it weighed and the rule that decided.
- In betaTakes a key from your file without showing it
Point Dus at the file where you keep your keys ("use the key in my ai-keys folder for this project"). He takes only the entry labelled for this project, leaves other projects’ keys alone, asks you by label when it is unclear, seals it in the vault, checks it with the provider and records where it came from. The key is never shown.
- In betaEvidence you can hand to a reviewer
Export the proof for a task or a release as one signed folder or zip: what was checked and how, the receipts, a secrets scan and a licence check, with a small script anyone can run to confirm nothing was changed. A private copy for review never ends up in the repository.
- In betaAn approval is for exactly what you saw
Every approval is tied to the exact action on its card: what runs, where, for whom and at what cost. It counts once, expires, and a changed action asks you again. Text Dus reads in a file or a page can never approve anything.
- In betaA task that spends fast pauses and asks
If a task spends a quarter of its limit within a few minutes, Dus pauses and asks you while most of the money is still unspent. Helpers can’t start helpers of their own.
- In betaChecks before repeating a step that timed out
When a merge, deploy, publish or message times out, it may have happened anyway. Dus looks at the real state before it tries again, so nothing is done twice.
- In betaChoose how much Dus does on its own
For shipping, hosting and watching, choose drafts only, within limits, or on its own then reports. Dus suggests a change only when its own record supports it, and never changes a level by itself.
Where your data goes, and privacy mode
With your own key, every model call goes straight from your computer to the provider of the model that answers it. On Duscode credits, it passes through Duscode Cloud on the way. Privacy mode (Settings → Models & keys) chooses who may get anything at all: any provider with a key, only the providers you choose, or local models only (Ollama, LM Studio and other servers on your computer or network). It is enforced inside the engine for every call, and a refused call is never sent somewhere else instead. Web search and browser checks of internet pages have their own switches.
Exactly what is sent and when, what Duscode Cloud receives, how keys and the sandbox work, how costs are calculated, the audit log and how to delete your data: Data and privacy in the docs.
Guardrails on what Dus can do
- You approve changes. Nothing changes a file or runs a command without your approval unless you turn auto-approve on, and every request says why.
- A fixed blocklist of dangerous commands applies even with auto-approve on.
- Commands run without your provider keys in their environment, and known secrets are redacted from command output.
- File access stays inside the project. Symlinks are followed to check they don't lead outside it, writes are atomic, and an edit is refused if the file changed while you were reviewing it.
- A project's config can't redirect your keys. Where a provider's requests go is set in your own user config only, because a project's config travels with its code.
- Never destructive with git. Tasks never force-push, reset or stash; a task's branch is kept when it finishes.
- Web access is honest. When Dus fetches a page it identifies itself as Duscode, fetches one page at a time, and refuses private and local network addresses.
Secrets vault
Projects need deploy keys, database URLs and tokens. The vault holds them, globally or per project, encrypted with AES-256-GCM and with the key in your operating system's keychain where available. Dus refers to a secret by name; Duscode puts the value into the one command that needs it and redacts it from every output, log, journal and task file, so the value never reaches a model provider. The vault lives in your Duscode folder, outside every project, so it is never committed, and it is never synced to Duscode Cloud. Settings → Vault shows which task used which secret, and when.
Your AI provider's data policy
When you use a provider's API with your key, that provider's terms and data policy apply. As of our last review (October 2026):
- Anthropic: API content isn't used for training by default. Zero data retention is available; content flagged for safety may still be retained.
- OpenAI: API data isn't used for training by default, and abuse-monitoring logs are kept for up to 30 days. Duscode calls OpenAI with
store: false. - Google Gemini: the paid tier doesn't train on prompts, and abuse logs are kept for 55 days. The unpaid tier may use your content for training and human review, so don't send sensitive code through it.
Check each provider's current policy before you send it sensitive code. Duscode uses official API keys only, never consumer chat subscriptions.
What Duscode Cloud stores
Duscode Cloud handles accounts, billing and licences for paid plans. It stores your email, an optional name, an optional password (stored only as a scrypt hash; you can sign in with an email link instead) and, if you turn it on, your two-step sign-in key (encrypted), when you accepted the Terms and confirmed you're 18 or over, your plan and your Stripe customer and subscription identifiers. Card details are handled by Stripe and never reach us. Your plan is checked with a signed licence that Duscode verifies offline. On Duscode credits, Dus's model requests pass through Duscode Cloud to the provider that answers (always named in the app); they are not stored, and the cloud keeps only each call's model, token counts and cost. With your own keys, nothing passes through us. See the draft Privacy Policy.
Reporting a security issue
Email support@duscode.com with "Security" in the subject. Please give us a chance to fix the issue before you share it publicly.