Most language models write an answer one token at a time. A diffusion language model starts from a rough version of the whole answer and refines it in a few passes. Clio Coder can use Inception's Mercury models this way, for chat and for workers, with tool calling.
Before you start
- An Inception account and API key, exported as
INCEPTION_API_KEY. - Permission to send this project's code to that provider.
- Clio Coder in the terminal, if you want to watch the answer refine.
Connect Mercury
Run guided setup, choose A provider account or API, then Inception:
Shell
clio-coder configureOr add the target directly:
Shell
clio-coder targets add --id mercury --runtime inception --model mercury-2.5 --api-key-env INCEPTION_API_KEYThe runtime lists mercury-2.5, mercury-2, and mercury-edit-2. Setup reads each model's context window and output limit from the provider's model list, and fails if the model you named is not on it.
What you see
In the terminal, each update from the model carries the whole answer so far. Clio Coder replaces the visible text on every frame instead of appending to it, and dims the part that is still changing. There is no progress gauge, because the provider reports none until the last frame.
Tool calls, permission cards, /view, and receipts work as they do with any chat model. Headless runs, workers, the desktop app, and editors connected over ACP receive an ordinary stream of text.
Where it fits
A quick whole-answer model suits short, bounded requests: a commit message, an explanation of one function, a first draft to compare. /draft uses the active chat model, so with Mercury active it returns several candidates quickly. You can also keep another model for conversation and route selected workers to the Mercury target.
Try it on a task you can check before trusting it with a long one. This page makes no speed or quality claim; measure both on your own repository.
Boundaries
- Mercury runs without a thinking level. Clio Coder pins the provider's fastest reasoning setting, because the default spends the output budget on hidden reasoning and can return an empty answer.
- A provider content-filter refusal is shown as a refusal and does not count as a failed connection.
- Inception is a cloud provider. Input you send leaves your machine, and usage is billed by Inception.