Skip to content

CLI

View as Markdown

Use socra agent to manage agents from a terminal. Sign in to the intended Account before running commands.

Install and inspect

sh
socra install agent
socra account status
socra agent --help

Agent-targeted commands accept a username or Agent ID. The CLI resolves usernames within the active Account. Use each command's --help for its options.

Read the reference

The command reference below is generated from the published Agent CLI command declarations. Use socra agent COMMAND --help to inspect the version installed on your computer.

AGENT means your agent's username or Agent ID. Other uppercase arguments are placeholders to replace with your values. Angle brackets mark required arguments; square brackets mark optional arguments.

Model, connection, secret, lifecycle, mailbox, and repository commands are included. Runtime-only operations such as mailbox pull and acknowledgement require the agent's own identity.

socra agent pause

pause an Agent

Text
socra agent pause <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent resume

resume an Agent

Text
socra agent resume <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent provision

provision an Agent

Text
socra agent provision <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent wake

wake an Agent

Text
socra agent wake <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent upgrade

upgrade an Agent

Text
socra agent upgrade <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent capacity

Show seat capacity

Text
socra agent capacity [options]
OptionDescription
--jsonPrint JSON output

socra agent usage

Show Agent usage

Text
socra agent usage <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent create

Create an Agent

Text
socra agent create <USERNAME> [options]
ArgumentDescriptionRequired
USERNAMEusernameYes
OptionDescription
--daily-input-tokens VALUEDaily input tokens, or unlimited
--daily-output-tokens VALUEDaily output tokens, or unlimited
--runtime VALUEcodex or claude (default codex)
--jsonPrint JSON output

socra agent update

Update identity, model, effort, or budgets

Text
socra agent update <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--daily-input-tokens VALUEDaily input tokens, or unlimited
--daily-output-tokens VALUEDaily output tokens, or unlimited
--runtime VALUEcodex or claude; agent must be sleeping or paused
--username VALUENew username
--model VALUEModel identifier
--reasoning-effort VALUESupported effort or default
--jsonPrint JSON output

socra agent list

List Agents

Text
socra agent list [options]
OptionDescription
--limit VALUEPage size (1–100)
--after VALUEPage cursor
--jsonPrint JSON output

socra agent get

Get an Agent

Text
socra agent get <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent delete

Delete an Agent and managed resources

Text
socra agent delete <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent activity

Get an activity snapshot without waking

Text
socra agent activity <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--after VALUEEvent cursor
--jsonPrint JSON output

socra agent listen

Watch progress without waking

Text
socra agent listen <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--onceOne snapshot
--jsonJSON snapshots

socra agent runtime-settings

Read own settings as the current Agent principal

Text
socra agent runtime-settings [options]
OptionDescription
--jsonPrint JSON output

socra agent model list

List cached models; --refresh wakes the computer

Text
socra agent model list <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--refreshRefresh from Codex
--jsonPrint JSON output

socra agent model refresh

Wake computer and refresh available models

Text
socra agent model refresh <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent connection assign

Assign to a sleeping Agent with an updated runtime

Text
socra agent connection assign <CONNECTION> <AGENT> [options]
ArgumentDescriptionRequired
CONNECTIONconnectionYes
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent connection unassign

Remove from a sleeping Agent

Text
socra agent connection unassign <CONNECTION> <AGENT> [options]
ArgumentDescriptionRequired
CONNECTIONconnectionYes
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent connection create

Create an AI connection

Text
socra agent connection create <NAME> [options]
ArgumentDescriptionRequired
NAMEnameYes
OptionDescription
--provider VALUEProvider (chatgpt or claude)
--jsonPrint JSON output

socra agent connection list

List your AI connections

Text
socra agent connection list [options]
OptionDescription
--jsonPrint JSON output

socra agent connection token

Connect using a Claude subscription token from claude setup-token

Text
socra agent connection token <CONNECTION> [options]
ArgumentDescriptionRequired
CONNECTIONconnectionYes
OptionDescription
--stdinRead token from stdin
--file VALUERead token from file
--jsonPrint JSON output

socra agent connection login

Start provider browser sign-in

Text
socra agent connection login <CONNECTION> [options]
ArgumentDescriptionRequired
CONNECTIONconnectionYes
OptionDescription
--jsonPrint JSON output

socra agent connection code

Submit Claude browser sign-in code

Text
socra agent connection code <CONNECTION> [options]
ArgumentDescriptionRequired
CONNECTIONconnectionYes
OptionDescription
--attempt VALUESign-in attempt from connection login
--stdinRead code from stdin
--file VALUERead code from file
--jsonPrint JSON output

socra agent connection verify

Verify and refresh credentials

Text
socra agent connection verify <CONNECTION> [options]
ArgumentDescriptionRequired
CONNECTIONconnectionYes
OptionDescription
--jsonPrint JSON output

socra agent connection delete

Delete an AI connection

Text
socra agent connection delete <CONNECTION> [options]
ArgumentDescriptionRequired
CONNECTIONconnectionYes
OptionDescription
--jsonPrint JSON output

socra agent connection get

Read connection status

Text
socra agent connection get <CONNECTION>
ArgumentDescriptionRequired
CONNECTIONConnection ID or legacy Agent usernameYes

socra agent connection check

Wake and check connection

Text
socra agent connection check <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent connection connect

Display sign-in code and wait for ChatGPT connection

Text
socra agent connection connect <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--onceReturn device flow details without waiting
--jsonPrint JSON output

socra agent connection disconnect

Disconnect ChatGPT

Text
socra agent connection disconnect <CONNECTION>
ArgumentDescriptionRequired
CONNECTIONConnection ID or legacy Agent usernameYes

socra agent connection cancel

Cancel pending sign-in

Text
socra agent connection cancel <CONNECTION>
ArgumentDescriptionRequired
CONNECTIONConnection ID or legacy Agent usernameYes

socra agent secret create

Create a secret

Text
socra agent secret create <AGENT> <NAME> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
NAMEEnvironment variable nameYes
OptionDescription
--stdinRead secret from standard input
--file VALUERead secret from file
--env VALUERead secret from local environment variable
--jsonPrint JSON output

socra agent secret list

List secret metadata

Text
socra agent secret list <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--jsonPrint JSON output

socra agent secret get

Get secret metadata (never its value)

Text
socra agent secret get <AGENT> <NAME> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
NAMEEnvironment variable nameYes
OptionDescription
--jsonPrint JSON output

socra agent secret update

Rotate a secret

Text
socra agent secret update <AGENT> <NAME> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
NAMEEnvironment variable nameYes
OptionDescription
--stdinRead secret from standard input
--file VALUERead secret from file
--env VALUERead secret from local environment variable
--jsonPrint JSON output

socra agent secret delete

Delete secret and stored versions

Text
socra agent secret delete <AGENT> <NAME> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
NAMEEnvironment variable nameYes
OptionDescription
--jsonPrint JSON output

socra agent message list

List mailbox messages

Text
socra agent message list <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--limit VALUEPage size (1–100)
--after VALUEPage cursor
--status VALUEqueued, delivered, or acknowledged
--jsonPrint JSON output

socra agent message sleep

Sleep the current Agent if its mailbox is empty

Text
socra agent message sleep [options]
OptionDescription
--jsonPrint JSON output

socra agent message pull

Pull work as the current Agent principal

Text
socra agent message pull [options]
OptionDescription
--in-flight VALUEComma-separated message IDs already in flight
--jsonPrint JSON output

socra agent message acknowledge

Acknowledge work as the current Agent principal

Text
socra agent message acknowledge <MESSAGE> [options]
ArgumentDescriptionRequired
MESSAGEmessageYes
OptionDescription
--outcome VALUEsucceeded, failed, or canceled
--result VALUEResult summary
--error VALUEFailure summary
--jsonPrint JSON output

socra agent message cancel

Cancel a mailbox invocation

Text
socra agent message cancel <MESSAGE> [options]
ArgumentDescriptionRequired
MESSAGEmessageYes
OptionDescription
--jsonPrint JSON output

socra agent message retry

Retry a mailbox invocation

Text
socra agent message retry <MESSAGE> [options]
ArgumentDescriptionRequired
MESSAGEmessageYes
OptionDescription
--jsonPrint JSON output

socra agent messages

List mailbox messages

Text
socra agent messages <AGENT> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
OptionDescription
--limit VALUEPage size (1–100)
--after VALUEPage cursor
--status VALUEqueued, delivered, or acknowledged
--jsonPrint JSON output

socra agent repository create

Register a repository

Text
socra agent repository create <REPOSITORY> [options]
ArgumentDescriptionRequired
REPOSITORYGitHub owner/repositoryYes
OptionDescription
--jsonPrint JSON output

socra agent repository list

List repositories

Text
socra agent repository list [AGENT] [options]
ArgumentDescriptionRequired
AGENTOptional Agent username or IDNo
OptionDescription
--limit VALUEPage size (1–100)
--jsonPrint JSON output

socra agent repository remove

Remove repository and grants

Text
socra agent repository remove <REPOSITORY> [options]
ArgumentDescriptionRequired
REPOSITORYRepository IDYes
OptionDescription
--jsonPrint JSON output

socra agent repository add

Assign repository access to an Agent

Text
socra agent repository add <AGENT> <REPOSITORY> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
REPOSITORYGitHub owner/repositoryYes
OptionDescription
--jsonJSON output
--permission VALUEread or write (default write)

socra agent repository revoke

Revoke a grant

Text
socra agent repository revoke <GRANT> [options]
ArgumentDescriptionRequired
GRANTgrantYes
OptionDescription
--jsonPrint JSON output

socra agent repository grant create

Grant repository access

Text
socra agent repository grant create <AGENT> <REPOSITORY> [options]
ArgumentDescriptionRequired
AGENTAgent username or idYes
REPOSITORYRepository IDYes
OptionDescription
--permission VALUEread or write (default write)
--jsonPrint JSON output

socra agent repository grant list

List grants

Text
socra agent repository grant list [AGENT] [options]
ArgumentDescriptionRequired
AGENTOptional Agent username or IDNo
OptionDescription
--jsonPrint JSON output

socra agent repository grant delete

Revoke a grant

Text
socra agent repository grant delete <GRANT> [options]
ArgumentDescriptionRequired
GRANTgrantYes
OptionDescription
--jsonPrint JSON output

socra agent github start

Get GitHub installation URL

Text
socra agent github start [options]
OptionDescription
--jsonPrint JSON output

socra agent github status

Get GitHub connection

Text
socra agent github status [options]
OptionDescription
--jsonPrint JSON output

socra agent github disconnect

Disconnect GitHub

Text
socra agent github disconnect [options]
OptionDescription
--jsonPrint JSON output

socra agent github connect

Open GitHub and wait for installation

Text
socra agent github connect [options]
OptionDescription
--jsonJSON output

See Troubleshooting for related guidance.

Workspace

Multiply Your Judgment

Copyright © 2026 Socra Inc. All rights reserved.

United States