si agent
Run and resume coding agents
Usage
si agent [OPTIONS] <COMMAND>Flags
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print 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.
si agent run [OPTIONS] --agent <AGENT> [SVM] [-- <PROMPT>...]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
svm | SVM | The SVM to use; defaults to the one set with si use | ||
prompt | PROMPT | The prompt, after --; a lone - reads it from standard input |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--agentrequired | AGENT | The coding agent: claude, codex or opencode | ||
--cwd | CWD | The working directory in the SVM; the home directory by default | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si agent sessions
List sessions, newest first
si agent sessions [OPTIONS] [SVM]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
svm | SVM | The SVM to use; defaults to the one set with si use |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--agent | AGENT | Only the sessions of this agent: claude, codex or opencode | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si agent send
Send text to a session
si agent send [OPTIONS] [SVM] [SESSION] [-- <MESSAGE>...]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
svm | SVM | The SVM to use; defaults to the one set with si use | ||
session | SESSION | The agent session id, as listed by si agent sessions | ||
message | MESSAGE | The message, after --; a lone - reads it from standard input |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--agent | AGENT | The coding agent; by default the agent of the session | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si agent attach
Open a terminal in a session
si agent attach [OPTIONS] [SVM] [SESSION]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
svm | SVM | The SVM to use; defaults to the one set with si use | ||
session | SESSION | The agent session id, as listed by si agent sessions |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--agent | AGENT | The coding agent; by default the agent of the session | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.