●●●CrowdCode™›User guideversion 1.0.1We the People AI
Enclawed CrowdCode™ user guide · While it works · version 1.0.1

While it works

You don't have to wait for CrowdCode™. While the model works you can type or speak your next message, send it straight away, run a command of your own, and watch helper agents work side by side. Everything here goes through Enclawed™, like the model's own actions.

The input line stays

While a task runs, the output scrolls above and your input line stays at the bottom:

● I'll look for the eigensolver calls in src/ first.

● search(eigSolve)
  ⎿  Enclawed: read-only search of the project
     src/eigenSolver.c:212: eigSolve_CheFSI(rank, pSPARC, ...)

> also check the PDGEMM calls (1 queued · Ctrl+S sends now)
  • Enter queues what you typed. A queued message runs as the next task as soon as this one ends. The input line counts them: "(2 queued · Ctrl+S sends now)".
  • Text you haven't sent stays in the line, even when output is written above it.
  • When Enclawed™ asks you something, the question takes the input line for a moment. What you were typing is set aside and comes back after you answer, so it never becomes the answer by accident.

Sending a message now: Ctrl+S

Press Ctrl+S to send your queued messages, and the line you are typing, to the model in the same task:

  • If the model is writing a reply, the reply is cut, marked [cut: your message goes to the model], and the model starts again with your message in view.
  • If an action is running (a build, the tests), your message goes in as soon as it finishes.
  • Each message sent this way is shown as sent to the model: ….

Some terminals use Ctrl+S to pause output. If Ctrl+S does nothing for you, press Ctrl+X then S instead: it does the same.

Commands (/…) and your own shell commands (?…) are never sent to the model. They wait and run when the task ends.

Speaking instead of typing

Press Ctrl+R (or type /voice) and speak; press Ctrl+R again when you are done. CrowdCode™ shows:

  ● recording from RDPSource: Ctrl+R (or /voice) stops
  transcribing 4.2 s …
╰─❯ please also add the PDGEMM calls in the k-point solver

Your words land in the input line. Check them, correct them if needed, then press Enter (or Ctrl+S during a task). It works both at the prompt and while the model works.

Choosing the microphone

/mic
  microphone: the system's default  (recording with parecord)
     1  RDPSource  (system default)
     2  alsa_input.usb-Blue_Yeti-00.analog-stereo
/mic N picks one · /mic default uses the system's · Ctrl+R or /voice records
  • /mic 2 picks the second one. Your choice is kept for the next session.
  • /mic default goes back to the system's own choice.
  • Change it whenever you like, for example when you plug in a headset.

What it needs

A recording program. CrowdCode™ uses one your system already has:

SystemInstall
Linux, WSLsudo apt install pulseaudio-utils (or pipewire-bin, alsa-utils, ffmpeg). On WSL, Windows' microphone reaches Linux through WSLg.
macOSbrew install ffmpeg
Windowswinget install Gyan.FFmpeg
Android (Termux)the Termux:API app, then pkg install termux-api
iPhone, iPad (iSH)no microphone in iSH: speak from a computer over SSH instead

A model that hears audio. Speech is turned into text on your computer, never by an online service: by the media model (Qwen2.5-Omni, offered in ccode setup), or by your main model if it hears audio itself.

ccode doctor shows both: which recorder and microphone are used, and whether a model can hear.

How it is protected

  • The recording goes into a private folder of this session (yours only), and is deleted once it is turned into text.
  • Before the recording reaches a model, Enclawed™ decides it as a read, like any file you attach.
  • Each recording is recorded in Enclawed™'s audit log: from which microphone, how long, and digests (fingerprints) of the sound and of the words. Not the sound or the words themselves.
  • The words are never sent by themselves: they wait in the input line for you.

Running your own commands: ?

Start a line with ? to run a shell command yourself:

╰─❯ ?git log --oneline -3
● you(git log --oneline -3)
  ⎿  Enclawed: read-only (git log reads the history)
     0d9e9a2 Send now with Ctrl+S, helper agents, ?command, voice input
     e6ea705 Enclawed 2.0.16
     d8cee84 Guide: Android edits
  • Enclawed™ decides it like any command. A line you typed word for word counts as approved by you, so it usually runs without a question; Enclawed™ still runs it contained where it can, and refuses what its policy forbids.
  • It's always recorded in Enclawed™'s audit log, whether it ran or not: the command, Enclawed™'s decision, the exit code, and a digest of the output.
  • The model sees it. What the command printed is added to the conversation as something you ran, so you can say "look at that error" next.
  • You can protect it with a second factor (/factor on commands): each ? command then waits for your security key or passkey. See Safety and undo.
  • A ? line typed during a task waits and runs when the task ends.

Helper agents

For work with separate parts, the model can start helper agents: for example one that updates the tests while another updates the documentation. Helpers:

  • run on the same model as the main agent; several run at the same time, so a model server that serves several requests at once (vLLM) finishes sooner;
  • start fresh: each gets only the task the main agent wrote for it, and reports back when done;
  • have the same tools as the main agent, and can start their own helpers, two levels deep at most, and at most 16 per task.

Their lines carry their name:

● spawn_agent(tests: update test/add.test.mjs for the new signature)
  ⎿  Enclawed: reversible (subagent launch; its own tool calls are checked)
  helper tests started: update test/add.test.mjs for the new signature

● [tests] read_file(test/add.test.mjs)
● [docs] apply_patch(README.md)
  helper tests finished (done)

Safety is the same as for the main agent. Enclawed™ decides each helper it starts, and every action each helper takes; each helper is known to Enclawed™ by its own name. Their actions run one at a time, so you are never asked two questions at once, and a helper's changes belong to the task: they are kept, or rolled back, with it. A refused action by any helper rolls back the whole task, as one by the main agent does.

You don't need to ask for helpers. The model uses them when the work splits well; you can also ask: "use helpers: one for the tests, one for the docs".

Keys at a glance

KeyAt the promptWhile a task runs
Entersends the messagequeues it (runs when the task ends)
Ctrl+S, or Ctrl+X then S—sends the queued messages and the line now
Ctrl+Rstarts or stops recordingstarts or stops recording
Ctrl+V, Alt+Vpastes a screenshot or copied files—
Ctrl+Ccloses CrowdCode™stops the task, and rolls it back
Ctrl+Dcloses CrowdCode™—
Ctrl+X then Llocks the screenlocks the screen
Enter, d, a, rwhen Enclawed™ asks: approve, deny, always, approve and report (see Working with CrowdCode™)the same