Reference and troubleshooting
Commands
| Command | What it does | |
|---|---|---|
ccode | Starts a session in the current folder | |
ccode "task" | Starts a session with a first task | |
ccode -p "task" | Runs one task without a person | |
ccode doctor | Checks that everything is in place, and says how to fix what isn't | |
ccode bench | Measures how well the model solves real coding tasks (bench history compares) | |
ccode setup | Chooses where the models run, and which | |
ccode models | Open models scored for this computer (search, info, download, use) | |
ccode install vllm / llama.cpp / airllm | Installs a model runtime in CrowdCode™'s own folder | |
ccode servers / ccode servers stop | The model servers | |
ccode approvals / `ccode approvals forget ID\ | all` | Your "always" answers to Enclawed™'s questions |
ccode guide "question" | Answers a question from this guide | |
ccode conversations | Conversations you can resume | |
ccode models served | What the running server offers, and whether it can be fine-tuned | |
ccode training | Choose the sessions the model learns from (a picker) | |
ccode train | Fine-tune now (--dry-run, --until 07:00, --hours N, --on SERVER) | |
ccode adapters, ccode adapters meter, ccode adapters compact | The fine-tuning rounds, how full the adapter is, compacting it | |
ccode patch export FILE / ccode patch apply FILE | A round in one file, to take elsewhere | |
ccode history ... | Earlier versions of files | |
ccode receipt verify FILE | Checks a run receipt | |
ccode --version, ccode --help | Version and every option |
In a session
| Command | What it does | ||||
|---|---|---|---|---|---|
/help | Lists the commands | ||||
/undo | Puts back the files the last task changed | ||||
/model, /model N, /model search NAME | Models scored for this computer; switches mid-conversation | ||||
/approvals, `/approvals forget ID\ | all` | Your "always" answers | |||
/compact | Summarizes the earlier conversation | ||||
/receipt | The last task's run receipt, checked | ||||
/status | Model, tokens, context, and this session's numbers | ||||
/clear | A fresh conversation | ||||
/paste | Pastes a screenshot or copied files | ||||
/voice | Starts or stops recording your voice | ||||
/mic, /mic N, /mic default | The microphones; picks one | ||||
/factor, `/factor on\ | off commands\ | always\ | undo\ | all` | Enclawed™'s second factor for your own actions |
/lock, `/lock after N\ | off` | Locks the screen now; locks by itself after N minutes without a key (15) | |||
/guide QUESTION | Answers from this guide | ||||
/exit | Closes CrowdCode™ | ||||
?COMMAND | Runs a shell command yourself, through Enclawed™ | ||||
@FILE | Attaches a file to the message |
Keys
| Key | What it does |
|---|---|
| Enter | Sends the message; during a task, queues it |
| Ctrl+S, or Ctrl+X then S | During a task: sends the queued messages and the line now |
| Ctrl+R | Starts or stops recording your voice |
| Ctrl+V, Alt+V | Pastes a screenshot or copied files |
| Ctrl+C | Stops the task (rolled back); at the prompt, closes |
| Ctrl+D | Closes CrowdCode™ |
| Ctrl+X then L | Locks the screen |
Enter, d, a, r | Answers Enclawed™: approve, deny, always, approve and report |
Options
| Option | What it does |
|---|---|
-c, --continue | Continues this project's last conversation |
--resume ID | Continues that conversation |
--verify-cmd CMD | Keeps changes only if CMD succeeds |
--test-cmd CMD | What "run the tests" runs |
--attach FILE | Attaches a file to the first task |
--base-url URL, --model ID | Uses this server and model (no managed servers) |
--media-model ID, --media-base-url URL | The model for pictures, audio and video |
--keep-servers | Leaves started servers running after you quit |
--no-keep-session | Keeps nothing of this session |
--policy enclaved | Enclawed™'s strict flavor |
--max-iterations N, --max-seconds N | Limits per task (defaults 25 and 600; 12 hours with AirLLM) |
Where things are
| Path | What |
|---|---|
~/.config/crowdcode/ | Settings: config.json (model servers), policy.json (Enclawed™'s policy), quips.txt (your jokes), voice.json (your microphone), second-factor.json (what needs the second factor, and when the screen locks by itself), CROWDCODE.md (your instructions) |
~/.local/state/crowdcode/ | History, receipts, conversations, server logs, audit.jsonl (Enclawed™'s audit log), reports/ (questions you reported) |
~/.enclawed/auth/ | Enclawed™'s enrolled second factors (enclawed auth enroll) |
~/.local/share/crowdcode/ | The installed program |
~/.local/bin/ccode | The command |
Troubleshooting
Start with ccode doctor. It checks the program, your settings and Enclawed™'s policy, your GPU, the runtimes, and each model server. For anything wrong it says what to do. It changes nothing.
ccode: command not found. Open a new terminal, or add ~/.local/bin to your PATH. The installer offers to do it.
"no local model server found". Run ccode setup, or start a model server (vLLM, llama.cpp or Ollama) yourself.
"Enclawed's policy does not let CrowdCode™ reach HOST". The computer isn't on Enclawed™'s list. Run ccode setup to allow it, or ask whoever manages Enclawed™ on this computer.
A model server doesn't start. Run ccode servers to see its log's location, and read the last lines. The usual causes are too little GPU memory, a wrong model folder, or a missing vLLM.
A server keeps running after CrowdCode™ closed. Another CrowdCode™ window may be using it. If not, ccode servers stop stops it.
Pasting a screenshot does nothing. On Linux, install wl-clipboard (Wayland) or xclip (X11). In Windows Terminal, use Alt+V.
ccode train says the GPU is busy. Something else is using GPU memory, and CrowdCode™ never stops other programs. Try later, lower --max-len, or train on another computer with --on.
A training round was "NOT kept". vLLM's check found it forgot earlier lessons, drifted on general coding, or learned nothing new. The model stays as it was. Approve more sessions, or try --epochs 3.
Ctrl+S does nothing. Your terminal keeps Ctrl+S for itself (pausing output). Press Ctrl+X then S instead.
"no recording program here". Install one (see While it works); ccode doctor names the one for your system.
"nothing was recorded". The microphone gave no sound: check /mic picks the right one, that your system lets the terminal use the microphone, and on WSL that Windows' microphone privacy settings allow desktop apps.
"no model here can hear audio". Set up a media model that hears audio (Qwen2.5-Omni) in ccode setup, and make sure it is running (ccode servers).
"Enclawed's second factor was not given (not-enrolled)". No factor is enrolled: enclawed auth enroll --label primary (a security key) or --passkey. Or turn the protection off with /factor off … (that needs the factor).
"Enclawed did not start the session". At launch Enclawed™ asked for your second factor and didn't get it. With an Enclaweder™ connected, type the code it shows; without one, use your security key or the passkey page that opens in your browser. For ccode -p, run enclawed auth unlock first.
The screen is locked and the passkey page doesn't open. On WSL, the page opens in Windows' browser; check that it isn't behind another window. Press Enter on the lock screen to try again.
A helper "cannot start more helpers". Helpers go two levels deep, 16 per task. The model then does that part itself.
"the served model cannot take image". Set up a media model with ccode setup, or name one with --media-model.
License and credit
CrowdCode™ is free to use, copy, change and share, under the MIT License with an attribution requirement. Every work that includes, changes or is derived from CrowdCode™, and every work created with it (code, text or other material you produce by using it), carries both:
- this credit:
Created with CrowdCode™. CrowdCode is copyright 2026 Enclawed, Inc., released under MIT license.
- a complete, unmodified copy of CrowdCode™'s license, below.
Put both where your work's credits or license information go: its README, a NOTICE or LICENSE file, its documentation, or an "about" screen. A single source file shared on its own carries the credit in a comment at its top, followed by the license. The NOTICE file that comes with CrowdCode™ has the credit ready to copy.
The full license:
MIT License, with the CrowdCode™ attribution requirement
Copyright (c) 2026 Enclawed, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
Attribution. Any work that includes, modifies or is derived from the Software,
in whole or in part, and any work created with the Software (including code,
text or other material produced by using it), shall:
(a) credit the Software with this notice:
Created with CrowdCode™. CrowdCode is copyright 2026 Enclawed, Inc.,
released under MIT license.
(b) include a complete, unmodified copy of this license (all of this file,
from its title to its last line).
Both shall appear where the work's credits, notices or license information
normally appear (for example its README, a NOTICE or LICENSE file, its
documentation or an "about" screen), and shall stay in every copy of the work
and in every work derived from it. A work that cannot hold them (for example a
single source file shared alone) shall carry the notice in (a) in a comment at
its top, followed by the text of this license. The permission above is granted
on these conditions.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.