Projects and processes from the CLI

The solo projects, solo processes, solo commands, and solo agents groups let you manage projects, control their processes, and configure agent tools without touching the app window. All of them require the Solo app to be running — see the CLI overview for setup.

Every command accepts --json for machine-readable output; the examples below mostly show human output. IDs are the numeric IDs Solo assigns to projects and processes — use the list commands to find them.

Projects

solo projects list [--offset <n>] [--limit <n>] [--json]
solo projects get <id> [--json]
solo projects create <name> <existing-path> [--json]
solo projects rename <id> (<display-name> | --clear) [--json]
solo projects delete <id> [--confirm-stop-running] [--json]
  • list shows every project with its ID, name, and path. Use --offset and --limit to page through long lists.
  • create registers an existing local directory as a Solo project. The path must already exist.
  • rename sets a display name shown in the app; the underlying project name and path are unchanged. Pass --clear instead of a name to remove the display name.
  • delete removes the project from Solo along with its processes, todos, scratchpads, and other project-scoped data; your files on disk are not touched. If any of the project's processes are running, the command refuses unless you pass --confirm-stop-running, which stops them first.

Examples:

# Register a project and list what exists
solo projects create my-app ~/Code/my-app
solo projects list
 
# Give project 3 a friendlier display name, then clear it
solo projects rename 3 "My App (staging)"
solo projects rename 3 --clear
 
# Delete project 3 even if processes are running
solo projects delete 3 --confirm-stop-running

Processes

A process is one tab in a project: a configured command, an interactive terminal, or an agent.

solo processes list [--project-id <id>] [--status <status>] [--offset <n>] [--limit <n>] [--json]
solo processes get <id> [--json]
solo processes spawn --project-id <id> --kind terminal [--name <name>] [--json]
solo processes spawn --project-id <id> --kind agent --agent-tool-id <id> [--name <name>] [--arg <arg> ...] [--json]
solo processes start <id> [--json]
solo processes stop <id> [--json]
solo processes restart <id> [--json]
solo processes rename <id> <new-name> [--json]
solo processes delete <id> [--project-id <id>] [--confirm-stop-running] [--json]
solo processes output <id> [--project-id <id>] [--lines <n>] [--raw] [--json]
solo processes input <id> (--text <text|-> | --bytes <b,...>) [--project-id <id>] [--no-submit] [--intent message|interaction] [--wait-ms <ms>] [--json]

Listing and inspecting

list shows all processes across every project by default. Narrow it with --project-id, or filter by state with --status, which accepts stopped, starting, running, stopping, exited, or failed.

# Everything currently running, in any project
solo processes list --status running
 
# All processes in project 2
solo processes list --project-id 2

get shows one process, including its kind, command, status, PID, and uptime.

Spawning terminals and agents

spawn creates a new process and starts it immediately. Two kinds are supported:

  • --kind terminal opens a new interactive terminal in the project.
  • --kind agent starts an AI coding agent. This requires --agent-tool-id; run solo agents list to see the configured agent tools and their IDs. Pass extra command-line arguments to the agent with --arg, repeated once per argument.
# Find agent tool IDs
solo agents list
 
# Open a terminal in project 2
solo processes spawn --project-id 2 --kind terminal --name scratch
 
# Start an agent with an initial task
solo processes spawn --project-id 2 --kind agent --agent-tool-id 1 \
--name reviewer --arg "review the open pull request"

Lifecycle and output

start, stop, and restart operate on one process by ID. rename changes its display name. delete removes the process entirely; if it's running, pass --confirm-stop-running to stop it first.

output prints recent output from a process — the last 50 lines by default, adjustable with --lines. By default you get rendered terminal rows (what you'd see on screen); pass --raw for the raw output stream instead.

# Tail the last 200 rendered lines from process 9
solo processes output 9 --lines 200
 
# Raw output, useful for parsing logs
solo processes output 9 --raw --lines 500

Sending input

input types into a running process, with the same delivery rules as the MCP send_input tool:

  • --text <text> sends text and presses Enter. Pass - to read the text from stdin, and add --no-submit to skip Enter.
  • --bytes <b,...> sends comma-separated raw byte values from 0 through 255, such as 3 for Ctrl+C.
  • For agents, text is queued behind earlier timer and MCP messages by default. Use --intent interaction only to answer or edit the agent's current prompt directly.
  • --wait-ms <ms> waits 250–10,000 ms after delivery and prints the rendered output tail.
# Ask agent 12 to rerun the tests and show what it prints
solo processes input 12 --text "Run the tests again" --wait-ms 2000
 
# Send Ctrl+C to process 9
solo processes input 9 --bytes 3

If the message is queued, the CLI says delivery is pending and prints a delivery ID; don't resend it. If delivery timed out or is uncertain, the command exits with code 69; check the process output before retrying. See Exit codes.

Bulk commands

The solo commands group operates on all of a project's configured command processes at once, mirroring the app's start-all and stop-all controls:

solo commands start-all --project-id <id> [--json]
solo commands stop-all --project-id <id> [--json]
solo commands restart-all --project-id <id> [--json]

start-all and restart-all only start commands the project trusts; stop-all stops every running command process. restart-all first stops every running command, then starts the trusted ones. If the project has no trusted commands, it stops nothing, and if you're already over your license's process limit, it fails before stopping anything. The output reports which commands were started, skipped, or failed.

Agent tools

The solo agents group manages the agent tools shown in Settings > Agents > Agent tools. Agent tools are global, so these commands don't take a project ID.

solo agents list [--all] [--json]
solo agents configs [--json]
solo agents get <id> [--json]
solo agents add --name <name> --command <command> [options] [--json]
solo agents update <id> [options] [--json]
solo agents delete <id> [--json]
solo agents enable <id> [--json]
solo agents disable <id> [--json]
solo agents installations [--json]
solo agents refresh-health [--json]
  • list shows enabled agent tools you can spawn, with their IDs. --all includes full configurations for disabled ones too, like configs.
  • get shows one complete configuration.
  • add creates an agent tool. It doesn't install the agent's software.
  • update changes only the fields you pass. Changing the command or type clears saved resume IDs for agents that use it.
  • delete removes the configuration. Running agents that use it keep running and keep their commands.
  • enable and disable affect future launches only.
  • installations lists detected installations with their cached health, and refresh-health re-checks them.

add and update accept these options:

Option Description
--name <name> Display name. Required for add.
--command <command> Executable command. Required for add.
--default-args <args> Default launch arguments, as one quoted string.
--icon <icon> Icon identifier.
--tool-type-mode <auto|manual> Detect the agent type automatically, or choose it yourself.
--manual-tool-type <type> The agent type to use; required in manual mode.
--headless-cmd <command> Command for non-interactive runs.
--clear-headless-cmd Remove the headless command (update only).
--prompt-mode <stdin|arg> How prompts reach the headless command.
--enabled <true|false> Whether new launches can use the agent tool.
# Add a custom agent and launch it in project 2
solo agents add --name "My agent" --command my-agent --default-args "--fast"
solo agents list
solo processes spawn --project-id 2 --kind agent --agent-tool-id 14

Are you an agent? Read this doc via API: /api/v1/docs/cli/projects-and-processes