Skip to content

Run and resume coding agents

Usage

Terminal window
si agent [OPTIONS] <COMMAND>

Flags

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si agent run

Run an agent and stream its output. The agent runs with full access inside the SVM: it edits files and runs commands without asking.

Terminal window
si agent run [OPTIONS] --agent <AGENT> [SVM] [-- <PROMPT>...]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
promptPROMPTThe prompt, after --; a lone - reads it from standard input

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--agentrequiredAGENTThe coding agent: claude, codex or opencode
--cwdCWDThe working directory in the SVM; the home directory by default
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si agent sessions

List sessions, newest first

Terminal window
si agent sessions [OPTIONS] [SVM]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--agentAGENTOnly the sessions of this agent: claude, codex or opencode
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si agent send

Send text to a session

Terminal window
si agent send [OPTIONS] [SVM] [SESSION] [-- <MESSAGE>...]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
sessionSESSIONThe agent session id, as listed by si agent sessions
messageMESSAGEThe message, after --; a lone - reads it from standard input

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--agentAGENTThe coding agent; by default the agent of the session
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si agent attach

Open a terminal in a session

Terminal window
si agent attach [OPTIONS] [SVM] [SESSION]
NameValueDescriptionDefaultEnv
svmSVMThe SVM to use; defaults to the one set with si use
sessionSESSIONThe agent session id, as listed by si agent sessions

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--agentAGENTThe coding agent; by default the agent of the session
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.