DLNE Coding AssistantA free AI coding agent and autocomplete for VS Code, running on GPUs that its users share. No account, no API key, no subscription. Install it, type
How it stays freeDLNE runs on a swarm: a coordinator plus the GPUs of the people who use it.
* "In use" means the swarm has given your GPU a job: a share of the shared model, or a coding member. A newly lent GPU gets the GPU perks for its first 30 minutes while the swarm finds it a job; a GPU still without one after that counts as a CPU contributor until it gets one. A CPU contributor's chats show how many are left, and at the limit the agent says exactly when the next one frees up. You choose how much to lend ( The Donate compute panel. The top of the DLNE sidebar is where you set it, with sliders that snap to amounts the swarm can use, and a line under them that says what your choice powers and what you get back:
8 GB of GPU memory or more? Be a coding memberA coding member runs a whole coding model on your GPU and answers coding requests on its own, so one request touches one machine and ordinary home internet is enough. Each member adds about two more agents working at the same time, so the swarm can run more agents as members join. There is no separate switch to find. Switch on the GPU in the Donate compute panel and click Donate compute (the first time you are asked; choose Lend my GPU): when the coordinator has coding members turned on and your GPU is not on its own fast network, it gives your GPU this job instead of a share of the big model. The sidebar card, the status bar ("Coding member") and a one-time notice tell you which job you got. If you would rather not answer other people's requests, choose Lend my CPU only, or turn off Lend both. The third button, Lend both (
What a member can and cannot see of the requests it answers is under Privacy, and in full in docs/privacy.md. No GPU? Your computer powers the DLNE phone appA contributor without a usable GPU does not join the coding pipeline. Its worker joins the CPU pool, which answers the DLNE phone app (the chat page and the Android app) whenever the coordinator's own engine cannot: on a coordinator that gives phones lanes of its engine, that is while the engine is restarting or down. Each member runs a whole model on its CPU, and the server picks the model from how much RAM you lend:
In return you get the coding agent 2nd in line (GPU contributors are 1st), with 300 chats in any 5 hours. The model server runs at low priority on half your cores (2 to 8 threads), so your computer stays usable, and while you game the phone model drops to the lowest priority and runs lighter until you're done. When you start, DLNE offers an amount to suit your machine, and never more than half your RAM:
To lend a different amount, set An integrated GPU does not count as a GPU contributor, except Intel Arc 140V / 140T (Lunar Lake, Arrow Lake) and AMD Strix Halo (Radeon 8060S / 8050S / 8040S, i.e. Ryzen AI Max). A machine whose only GPU is any other integrated GPU contributes its CPU instead, and DLNE tells you so. A CPU-only machine needs, if it's fast enough not to slow everyone else down:
A CPU's speed here is set by how fast it can read memory, and one slow machine would hold up every answer it takes part in, so a machine below any of these is told exactly what it's missing instead of joining. To lend only your CPU even though you have a GPU, set Getting started
Chatting with DLNEDLNE has three ways to chat. All three talk to the same swarm, with the same API key, worker token or free trial.
DLNE: Open Chat opens VS Code's Chat view with
|
| File | What it is for | Who writes it |
|---|---|---|
AGENTS.md in your workspace's root folder |
Instructions for the agent: how to build and test, conventions, what to avoid | You. The agent never writes to it. |
.dlne/memory.md in the workspace |
Facts about this project: how to build and test it, where things live, its conventions, corrections you gave | The agent, by itself, and you |
~/.dlne/memory.md |
Your own preferences, for every project | The agent, with your approval, and you |
With no folder open, only your own file applies.
The agent keeps its memory up to date as it works, the way a colleague takes notes. It saves lasting, non-obvious facts with its remember tool without being asked. That means things like how to build and test the project, where things live, its conventions and corrections you gave it, but not details of one task or what the code already shows. After a task of 5 or more steps it also looks back once for anything worth keeping. It can update or remove facts it saved earlier, so the file stays current instead of piling up. Lines you wrote yourself are never touched: the agent's own lines carry a small <!-- dlne --> marker that the model never sees.
- Project facts are saved at once and shown in the chat with an ↩ Undo button.
- Facts about you ask first, because they go with every project.
- A fact holding a link or a command that fetches, runs or escalates (
curl,wget,sudo,| sh, and the like) asks first too, so a file the agent read cannot plant one unseen. Plain build and test commands save by themselves. - A fact that holds a secret is refused, and one already saved is not added twice.
Set dlne.agent.memory to ask to approve every fact (project facts can then be set to Always allow remembering in this project, which DLNE: Forget Agent Approvals for This Project takes back), or to off to turn memory off. dlne.autoApproveAll skips every question, as it does for every action.
The files are yours. Open one and edit or delete any line, or the whole file; DLNE reads it again next time. Each file is loaded up to a size limit (8,000 characters for AGENTS.md and the project file, 4,000 for your own) and a longer one is cut, with a note. To keep a memory file out entirely, list it in .dlneignore: it is then neither loaded nor written. Git-ignoring the memory files does not switch them off (tool folders like .dlne/ are often git-ignored); an AGENTS.md that your .gitignore excludes is not loaded.
Should you commit .dlne/memory.md? That is up to you. Committed, your team shares what the agent learned about the project, and anyone who runs DLNE on the repository sends those lines with their requests. If you would rather keep it to yourself, leave it uncommitted, or add .dlne/ to your .gitignore.
To turn all of this off, set dlne.agent.memory to off. Nothing is then loaded or saved.
Tasks and chats
A task in progress is saved in VS Code's private storage for the extension (not in your project) after each run, so a restart does not end it and Continue still works. @dlne saves one task for each Chat thread, and the sidebar one for each of its chats; only the newest are kept. A saved task is dropped after 7 days, and /clear (for that thread) or deleting a sidebar chat from its list deletes it. A new chat in VS Code's Chat view starts fresh: another thread's notes and lists are not carried over, and a second thread never touches the first. AGENTS.md and the memory files still load.
What is sent where
The memory files are part of the request. They travel with every agent request to whoever serves it: the coordinator, or a volunteer's coding member. They go through the same secret redaction as everything else the agent sends, and .dlneignore keeps them out (see Privacy). A secret is also refused when the agent tries to save it, but redaction catches common formats only, so keep secrets out of these files.
Privacy: what to know
This section is about the coding agent in VS Code. The full version, with what each party can and cannot see, is docs/privacy.md.
- Your prompts, the code the agent reads, and the agent's memory files (
AGENTS.md,.dlne/memory.md,~/.dlne/memory.md; see The agent's memory) go to the coordinator. The public coordinator is run by the DLNE maintainer, so treat it like any hosted AI service. When coding members are on, a request may instead be answered by a volunteer's machine (below). - The connection to the public swarm is encrypted (HTTPS), so nobody between you and the coordinator can read it. For anything sensitive, run your own coordinator (below).
- When the model is split across several contributors' GPUs, those machines process the model's intermediate numbers for your request, not your text.
Who can answer your requests: dlne.privacy
A coding member has to read your request to run the model, so it sees the code it is sent. This setting decides which requests can go to which members.
DLNE looks at your workspace's git remote. If it is a public repository (GitHub, GitLab or Codeberg), any coding member can answer. Anything else, and anything DLNE cannot check, is answered only by the coordinator's own engine or by machines the coordinator's operator has listed as trusted. The operator lists a machine by its identity key, not by a name it claims, so a member cannot claim to be trusted.
A public repository counts as public even for changes you have not pushed. If you are working on something unpublished in a clone of a public repository, set dlne.privacy to trustedOnly. A repository's own settings can only narrow dlne.privacy, never widen it (only your own user settings can), and DLNE does not run in a workspace you have not trusted. While coding members are off (the default), the extension makes no repository lookup, and nothing about your repository leaves your machine beyond the request itself.
dlne.privacy |
Who may answer |
|---|---|
auto (default) |
Public repositories: any member. Everything else: trusted machines only. |
trustedOnly |
Trusted machines only, even for a public repository. |
anyMember |
Any member, for every workspace. Choose this only if you are happy for any volunteer's machine to see that work. |
One exception: VS Code's own agent on DLNE Swarm. Its requests are never widened by the repository: they are answered only by the coordinator's own engine or by a trusted machine, even for a public repository under auto, unless you set anyMember.
Secrets are removed in your editor. Before a request leaves VS Code, API keys, tokens, private keys and passwords in common formats are replaced with [REDACTED]. @dlne and the sidebar chat never read these files, so they are never sent: files your .gitignore ignores, anything in a .dlneignore file in your workspace, .env*, *.pem, *.key, id_rsa*, .npmrc, .pypirc and cloud credential files. The redaction applies to every request, including those to the coordinator, and to the agent's memory files (AGENTS.md, .dlne/memory.md and ~/.dlne/memory.md), which are sent with every agent request: .dlneignore keeps any of them out, and .gitignore keeps out AGENTS.md (but not the two memory files, since tool folders like .dlne/ are often git-ignored). The agent refuses to save a fact that holds a secret. It catches common formats, not every secret, so keep real secrets out of prompts.
The full never-read rule belongs to @dlne and the sidebar chat, which read your files themselves. When VS Code's own agent runs on DLNE Swarm, VS Code's tools read the files and DLNE only sees the text it is handed. There DLNE refuses the excluded files it can see by path (the result is replaced with the "excluded for privacy" notice) and replaces secrets in a known shape with [REDACTED], but VS Code's own tools may still put file text into a request, and DLNE shows a one-time notice about this. Anything else VS Code puts into its prompts goes to the swarm too.
Requests and answers are encrypted on the way to and from a coding member. Your editor encrypts the request and decrypts the reply. The coordinator relays bytes it cannot open, and the tunnel and the internet between it and the member carry nothing readable. That protects the trip, not the machine that answers: the member itself has to read the request. The coordinator is the operator's own machine and is trusted: it hands out the member's public key. A request answered by the coordinator's own engine goes over HTTPS instead and is not sealed.
Members are not told who you are. The coordinator passes on only the request: no IP address, no API key, no account. What the request itself contains (file paths, names in code or comments) can still say who you are.
No-trace members and canaries. Members run their model server with settings that keep prompts out of logs and off disk. Now and then the coordinator sends a member a normal-looking request holding a made-up link, built to look like any real request (where a file would hold a key it shows [REDACTED], as yours do). If the link is ever opened, that member is flagged and gets no more work.
The honest limit: a coding member sees the code it is sent. What protects you from members is the privacy mode (private repositories go only to trusted machines unless you opt in), the secrets removed in your editor, the no-trace settings and anonymity, and the canaries that are there to catch a member that snoops. A volunteer who changes DLNE's software could still read or keep what it receives, and none of this can promise otherwise. For code you cannot afford to expose, keep
dlne.privacyonautoortrustedOnly(trustedOnlyfor unpublished work in a clone of a public repository), or run your own coordinator.
If you contribute:
- As a GPU contributor, your machine runs DLNE's worker and
ggml-rpc-server, and accepts connections from the coordinator on port 50052. - As a coding member, your machine decrypts and answers coding requests, so it sees their text (after redaction), but not who sent them. It never logs request or reply text. Its model server listens on your machine only, and the coordinator reaches it through a tunnel your worker opens.
- As a CPU contributor, your machine can answer phone-app requests (a coordinator whose own engine answers phones uses CPU machines only as the backup), so it sees the text of those questions and answers (the phone app tells its users this) and any search results for them. Its model server listens on your machine only, and the coordinator reaches it through a tunnel your worker opens. The phone chat is a separate path: none of the above (redaction, encryption, trusted routing) is promised for it. A photo someone adds in the phone chat is never sent to a volunteer's computer (only the coordinator's own engine reads it) and is not stored. Like every message, it is processed by the shared model, whose layers can run on volunteers' graphics cards, and those cards see only intermediate numbers, never the picture.
Which model?
The coding agent runs on GPU contributors' machines: one model at a time, chosen by the coordinator from the GPU memory available. Bigger models unlock automatically as more GPUs join. /status and /model show what is running now, the sidebar shows it under the chat box, and so does the swarm dashboard; its context size and speed are live figures too, on the dashboard and the DLNE website, so they are not written here. There is nothing to pick: VS Code's Chat model picker lists a single entry, DLNE Swarm, and the model behind it is whatever the swarm is running now (more). When coding members are on, each member runs its own copy of the best version of the model its machine can hold whole (see Be a coding member). The phone app is answered by the same model, on lanes of its own; a smaller model on CPU contributors' machines answers it only while that engine is restarting or down.
Your own private coordinator
Everything is open source, so you can run the whole thing yourself. The repository README walks through it step by step (model, key, HTTPS, systemd, ports, workers) and says how to check that nothing goes to the public swarm. The short version:
git clone https://github.com/RGlabs84/DistributedLLMEngine.git
cd DistributedLLMEngine
pip install -r requirements.txt
python dlne_server.py start --host 0.0.0.0 --port 11435 --hybrid # coordinator (+ a local worker)
python dlne_server.py apikey create --name "my-laptop" # optional: prints a dlne_sk_... key
python dlne_server.py worker --coordinator 192.168.1.50:11435 --network-key "your_cluster_secret"
Then in VS Code settings:
{
"dlne.serverUrl": "http://192.168.1.50:11435",
"dlne.apiKey": "dlne_sk_your_key_here",
"dlne.worker.networkKey": "your_cluster_secret",
"dlne.worker.allowUnsignedEngine": true
}
allowUnsignedEngine is needed only because your coordinator does not publish releases signed with the maintainer's key. Never turn it on for the public swarm.
Settings
The settings that decide where your code or keys go (dlne.serverUrl, dlne.apiKey, dlne.autoApproveReads, dlne.autoApproveAll, dlne.autoUpdate, and every dlne.worker.* setting) are read only from your own user settings: a workspace's or folder's .vscode/settings.json cannot change them, so a cloned repository cannot point DLNE at another server or turn on auto-approval. A folder can only narrow dlne.privacy, never widen it.
| Setting | Default | What it does |
|---|---|---|
dlne.serverUrl |
https://dlne.rossgilsonlabs.dev |
The coordinator: the public swarm (over HTTPS), or your own. The older public addresses (the DuckDNS name and before) are read as this one. |
dlne.apiKey |
"" |
Optional API key. Leave blank to use the free trial or your contribution. |
dlne.privacy |
auto |
Who may answer your coding requests: auto (any coding member for a public repository, trusted machines only for everything else), trustedOnly (use this for unpublished work in a clone of a public repository), or anyMember (any member, for every workspace). A repository's own settings can only narrow it, never widen it. See Privacy. |
dlne.worker.networkKey |
public swarm key | The swarm's shared worker key. Change it only for a private coordinator. |
dlne.worker.device |
auto |
What to contribute: auto (a GPU if there is one that counts, else the CPU), gpu, or cpu (power the phone app and keep the GPU for yourself). |
dlne.worker.allowCodingMember |
true |
Let the swarm give your GPU the coding-member job (answering other people's coding requests). Turn it off and your GPU only joins the shared pool. |
dlne.ownGpu |
faster |
When your computer is a coding member, which answers your own requests. faster: whichever answers sooner, your GPU while it writes at least as fast as the swarm's own engine, otherwise usually the swarm's engine. smarter: your own GPU whenever it runs a smarter model than the swarm's engine (a better version on the ladder), even if it writes more slowly. dlne.privacy still decides first: a private repository goes to your GPU only if the operator trusts it. |
dlne.worker.allowedGpus |
"" |
GPU indices to lend (e.g. 0,1). Blank lends all detected GPUs. |
dlne.worker.maxVramGb |
-1 |
Most VRAM to lend, in GB (-1: detect). |
dlne.worker.maxRamGb |
4.0 |
Most system RAM the worker may use, in GB. A CPU-only machine needs at least 8; the more it lends, the bigger the phone-app model it runs (16 GB: Qwen3.6). You're offered an amount when you start. |
dlne.worker.lendRamGb |
8 |
System RAM, in GB, you lend to the pool while donating, for the parts of big models that sit in memory. Never more than your free RAM minus 4 GB. 0 turns it off. Applies to a running worker without a restart. |
dlne.worker.maxCpuThreads |
-1 |
Most CPU threads the worker may use, so the rest of your computer stays yours. -1: the engine decides (half your cores, 2 to 8). Applies to a running worker without a restart. Set by the sidebar's Donate compute panel. |
dlne.worker.autoStart |
false |
Resume contributing when VS Code opens (set for you when you start contributing). |
dlne.worker.pythonPath |
python3 |
Python used for the engine. |
dlne.enableInlineCompletion |
true |
Ghost-text autocomplete. |
dlne.inlineCompletionDelay |
150 |
Delay after typing before asking for a completion, in ms. |
dlne.chatModel / dlne.fimModel |
"" |
Leave blank: the swarm serves the model it has active. Name a model file only for a private coordinator you run. |
dlne.autoApproveReads |
true |
Let the agent read, list and search inside your workspace without asking. Edits and shell commands ask, and the approval dialog can remember the answer for the project: Always allow edits in this project, or Always allow "npm test" for one command (with any arguments; never for a command with ;, &&, \| or $(...) in it, and never for programs that delete, use sudo, fetch from the network or open a shell). Anything outside the workspace always asks. DLNE: Forget Agent Approvals for This Project lists what is remembered and clears it. |
dlne.autoApproveAll |
false |
Run every agent action without asking: edits anywhere and every shell command. The agent's next step can come from a volunteer's machine (a coding member), so a command it sends would run on your computer unseen. Only your user settings can turn it on. Flip it with the status bar's DLNE: Ask / DLNE: Auto item, the Chat view's Turn on Auto button, the sidebar's Auto button or DLNE: Toggle Auto-Approve. |
dlne.agent.maxTurns |
100 |
How many steps (model turns, usually one tool call each) the agent may take for one request, from 10 to 500. At the limit it pauses, reports what it has done and what is left, and offers Continue. See The step limit. |
dlne.agent.memory |
auto |
AGENTS.md, the project's .dlne/memory.md and your ~/.dlne/memory.md go with every agent request. auto: the agent saves project facts by itself, each shown with Undo (facts about you, and any with a link or a risky command, ask first). ask: every fact asks first. off: nothing is loaded or written. See The agent's memory. |
dlne.autoUpdate |
true |
Keep this extension and the engine on the latest signed release, and restart the worker when the coordinator upgrades. |
dlne.worker.allowUnsignedEngine |
false |
Install the engine from a coordinator that publishes no signed release. Only for a private coordinator you run. A signed release that fails verification is never installed, whatever this says. |
Support DLNE
Two ways to keep it free:
- Donate compute at home: click Donate compute in the DLNE sidebar (see How it stays free).
- Buy a coffee: buymeacoffee.com/wubarrk helps pay for the coordinator's power and hardware.
Links
- Website: dlne.rossgilsonlabs.dev
- Discord: discord.gg/RNxvxWn8cw
- Source: RGlabs84/DistributedLLMEngine
- Issues: GitHub Issues
- License: MIT