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.
| Option | What 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, --print | Run the instruction once and exit. See Scripting. |
-V, --version | The installed version. |
-h, --help | Help for any command. |
Account
| Command | What it does |
|---|---|
soreqen setup | Choose how SoreQen Code reaches a model: your SoreQen plan, or your own API key. |
soreqen login | Sign this computer in with your SoreQen account. |
soreqen logout | Sign this computer out. |
soreqen usage | Your credits: what you can spend now, the 5-hour and weekly windows, and Flex. |
soreqen burst | Switch Burst Day on. |
soreqen flex [search] | Find a Flex model and its price. |
Your own keys
| Command | What it does |
|---|---|
soreqen keys | Which 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
| Command | What it does |
|---|---|
soreqen skills | Every 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
| Command | What it does |
|---|---|
soreqen mcp | Connect 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 trust | Allow the servers this folder's .mcp.json configures, as they are now. |
soreqen mcp untrust | Stop allowing them. |
mcp add also takes --sse, --header NAME=value, --env NAME=value and --auto-approve; see MCP servers and connectors.
Updating
| Command | What it does |
|---|---|
soreqen update | Install the newest SoreQen Code, the same way this one was installed. |