List of CLI Commands and Flags

Command / Flag
Description

login

Authenticate and receive API key

chat

Use Qodo Gen Chat

create-agent

Create a new agent by translating user requirements into a valid TOML configuration

<command-name>

Run a configured agent

<command-name> --mcp

Run an agent as a service (listening on port 3000)

<command-name> "<some- instructions>"

Add extra instructions to any command

list-mcp

List available local and remote tools

models

List available models

key list

List all API keys

key create <name>

Create a new API key with the given name

key revoke <name>

Revoke an API key by name

--agent-file=path

Specify a custom path to an agent TOML file

--chat

Keep interacting with the CLI after the run is done instead of immediately exiting

--ui

Open Qodo Gen CLI with web interface

--model=model_name

Specify a custom model to use. Run models to see available model names.

--mcp-file=path

Specify a custom path to an mcp.json file

--act

Set an agent's execution_strategy field to "act", letting the agent execute actions immediately

--plan

Set an agent's execution_strategy field to "plan", letting the agent think through a multi-step strategy

--ci

Run commands in CI mode

--mcp

Run all configured agents as tools in MCP-server mode

--webhook

Run commands as tools from agent.toml in webhook mode

-h, --help

View all available commands and flags

-v, --version

Show Qodo Gen CLI version

-l, --log=path

Redirect console output to a file (directed in the path), or to stdout or stderr

-y, --yes

Confirm all prompts automatically (useful for CI)

-q, --silent

Suppress all console output except the final result. Logs go to /dev/null

--resume=session_id

Resume a task with the given session ID

--set key=value

Set custom key-value pairs (can be used multiple times)

docker run --rm qodoai/gen

Run Qodo Gen CLI on docker

Was this helpful?