• Loading…

CLI reference

Every command and option of the soreqen command-line tool.

Starting a session

soreqen [options] [instruction...]

With no command, soreqen starts a session in the current folder, and runs the instruction if you give one. soreqen code is the same.

OptionWhat it does
-m, --model <model>The model to use, for example mimo-v2.6-flash.
-k, --api-key <key>An API key for this run.
-u, --base-url <url>A custom OpenAI-compatible API address.
--mode <mode>plan, manual, auto or bypass. Default: auto, or the last mode used in this folder.
-e, --effort <effort>low, medium, high, extra or max. Default: medium, or the last effort used in this folder.
-t, --tier <tier>The workspace ceiling: read_only, propose_only, guarded_autonomy or full_autonomy.
-w, --workspace <dir>The folder to work in. Default: the current folder.
-p, --printRun the instruction once and exit. See Scripting.
-V, --versionThe installed version.
-h, --helpHelp for any command.

Account

CommandWhat it does
soreqen setupChoose how SoreQen Code reaches a model: your SoreQen plan, or your own API key.
soreqen loginSign this computer in with your SoreQen account.
soreqen logoutSign this computer out.
soreqen usageYour credits: what you can spend now, the 5-hour and weekly windows, and Flex.
soreqen burstSwitch Burst Day on.
soreqen flex [search]Find a Flex model and its price.

Your own keys

CommandWhat it does
soreqen keysWhich providers have a key set.
soreqen keys set <provider>Add or replace a key. --model <model> sets the model to use with it.
soreqen keys remove <provider>Delete a key.

Providers: opencode, anthropic, openai, openrouter, deepseek.

Skills

CommandWhat it does
soreqen skillsEvery skill and whether it is on.
soreqen skills enable <name>Switch a skill back on.
soreqen skills disable <name>Switch a skill off.

MCP servers

CommandWhat it does
soreqen mcpConnect to every configured server and show what it offers.
soreqen mcp add <name> -- <command>Add a server that runs as a command.
soreqen mcp add <name> --url <url>Add a remote server.
soreqen mcp remove <name>Remove one of your servers.
soreqen mcp trustAllow the servers this folder's .mcp.json configures, as they are now.
soreqen mcp untrustStop allowing them.

mcp add also takes --sse, --header NAME=value, --env NAME=value and --auto-approve; see MCP servers and connectors.

Updating

CommandWhat it does
soreqen updateInstall the newest SoreQen Code, the same way this one was installed.