Skip to content

Using solv

Sebastian Bularca edited this page Dec 1, 2026 · 1 revision

Using solv

Run solv in your project folder; that folder is the workspace. The prompt shows mode and model. The answer appears while the model writes it; finished paragraphs print at once, the busy line shows the speed (Writing · 24 tok/s). After each answer, a line shows time, tokens, context use, steps, tool calls, and model / tool time. Near the limit it compacts: old tool results become notes, older turns a summary, the last 2 turns stay.

Command Effect
/model [n|id] List models by server, or switch (kept for next start; waits for running sub-agents).
/model set [id] field=value Change a model's settings (context_size, max_tokens, compact_at, vision, ...) from inside solv. No id = the current model. Used from your next message, no restart. /model unset [id] [field] removes them.
/session-mode <mode> Change when it asks (Session modes).
/thinking <on|off|level|reset> Thinking on/off or its level, per model.
/compact [focus] Compact now; the focus says what to keep.
/auto-compact [on|off|reset] Auto-compaction for this model. reset = use auto_compact.
/export [file] Save the conversation as Markdown (default solv-<id>.md, tool results cut).
/context, /cost Context use · tokens per model and the provider's cost page.
/sub-agents [on|off] Allow or forbid sub-agents.
/mcp [add|retry|remove|disable|enable|tools] MCP servers: status · set up · reconnect · remove · off / on · list tools.
/agent-log [n] Open a sub-agent's live log in a new window; no number lists them.
/btw <question> Side question; not added to the conversation. Works during an answer.
/loop [interval] <prompt> Repeat a prompt or command every interval (10m), or at delays the model picks. /loop stop ends it.
/skills, /<skill-name> [text] List skills · load one with your text (a built-in command with the same name wins).
/set-workspace <folder> Work in another folder, with a fresh conversation.
/web [start|open] Web UI address · start it · open it.
/setup [target] Connect a server or API, or change preferences / search.
/approvals, /revoke <n|tool|all> List · take back what you allowed with a.
/update [nightly], /restart Install the latest release · restart and keep the conversation.
/resume [n|id], /continue List or switch to a saved conversation · the most recent.
/delete-session <n|id> Delete a saved conversation (not the open one).
/save-defaults Keep the current model and mode for the next start (Full never).
/reset, /help, /exit Fresh conversation (clears a approvals) · all commands · quit.

Arguments

Arguments: --resume [id], --continue, --model <n|id>, --workspace <dir>, --setup [target], --web, --web-only, --list-sessions, --kill <id>, --selftest, --version, --update [nightly], --help [headless|web|all].

Non-interactive runs

Non-interactive runs (scripts, CI, benchmarks): solv --prompt "<task>" --approval <mode|allow-all> runs one task without a person and exits: 0 done, 1 error, 2 a limit was reached (also when the answer is still cut off at the token limit after solv asked the model 3 times to continue). Anything that would ask is refused and the model is told; allow-all allows everything (use it only in a container). --quiet leaves only the answer on stdout, --json <file> writes the result with steps, times and tokens. Limits: --max-steps (500), --timeout (20 min), --wall-timeout. --sub-agents turns sub-agents on. The task goes to the model as written (no slash or ! commands), except /skill-name …, which loads that skill. All of it: solv --help headless.

Conversations are saved in .solv/history/ after each answer; solv --resume <id> continues one in its workspace.

Keys

Key Effect
Esc Stop an answer ("stop" typed is only a message)
Shift+Tab Next session mode
Tab Complete
↑ / ↓, Ctrl+R History, search it
\ + Enter New line
Alt+V / Ctrl+V Paste a clipboard image
Ctrl+O Last tool run in full · with /btw open: more / less
Ctrl+X Close the /btw answer
Alt+1…9 / Alt+Shift+1…9 Open / stop a sub-agent
? All keys
  • Steering: type while it works; the message reaches the model after its current tool calls. Commands wait, except /btw.
  • @path attaches a workspace file (Tab completes). Dropped text files attach up to 256 KB.
  • !command runs it yourself, without asking; the output goes with your next message. Not in Plan mode.
  • Tool calls show live, then collapse to one line per run plus edit diffs.
  • Model questions: ↑ / ↓ or a number, Space ticks, Enter sends, Esc skips, or type your own answer.

Clone this wiki locally