Quick start
This page assumes qcc and at least one agent are installed (see Installation).
No agent yet? The built-in echo provider is a test agent that answers without any account; in the
app it is hidden until Show example plugins is turned on in the settings.
In the app
Section titled “In the app”- Open the app. It starts the daemon if none is running.
- Press
Ctrl+Nfor a new thread. Pick the directory (or a project and its folder), the agent, the model, the effort and the permission mode. Turn on the worktree switch to give the thread a git worktree of its own, so the agent does not touch your checkout. - Write the first message. The timeline shows what the agent does as it does it: messages, commands with their output, edits with diffs, tool calls.
- When the agent asks for permission or asks a question, the thread shows Needs your answer in the sidebar; answer it in the thread.
- Write the next message while the agent works: it is queued for the next turn, or, with Steer, mixed into the running one.
- For a worktree thread, look at the Changes tab, comment on lines if something should be different, then Apply to … or Merge the work into your checkout.
Everything the app shows is described in Desktop app.
From the CLI
Section titled “From the CLI”Start a thread and follow it until the first turn ends:
qcc thread spawn --provider claude-code --permission-mode ask --prompt 'what is in this directory?' --follow--follow streams the thread's events to the terminal. Without it the command prints the thread's
id and returns; the agent goes on working in the daemon.
qcc thread list # every thread and its stateqcc thread show <thread-id> --last 20 # the last lines of its timelineqcc thread send <thread-id> 'and one more thing' # queued behind a running turnqcc thread send <thread-id> 'use the other API' --steer # mixed into the running turnWhen an agent waits for an answer (its state is waiting), the request is in its timeline:
qcc thread list --state waitingqcc thread show <thread-id> --last 5qcc interaction resolve <thread-id> <interaction-id> --option <option-id> # or --text '…', or --cancelWork in a worktree
Section titled “Work in a worktree”qcc thread spawn --provider codex --env git-worktree --prompt 'add tests for the parser'qcc thread changes <thread-id> # files changed and commits made since the baseqcc thread diff <thread-id> # all of it as one patchqcc thread deliver <thread-id> # apply the work to your checkout as uncommitted changesqcc thread deliver <thread-id> --merge # or merge the thread's branchqcc thread archive <thread-id> # release the session and remove the worktreeMore on worktrees, their branches and setup scripts in Projects and worktrees.
Let an agent delegate
Section titled “Let an agent delegate”Inside a session qcc started, the agent has qcc ($QCC_BIN) and its own thread id
($QCC_THREAD_ID). A thread it spawns becomes its child, inherits its project, model and
permission mode, and can be waited for:
qcc thread spawn --prompt 'fix the flaky test in tests/e2e.rs' --env git-worktreeqcc thread wait <child-id>The bundled orchestration plugin gives every agent a skill that teaches it this. See
Orchestration.
Without an agent
Section titled “Without an agent”From a checkout of the repository, ./dev demo starts a temporary daemon, runs a few threads of
the echo agent through it and stops it:
./dev demoWith a daemon running, the same agent is available to the CLI:
qcc thread spawn --provider echo --prompt 'hello from qcc' --followqcc thread spawn --provider echo --prompt '/tool grep' --follow