ocloud agent
Generated from ocloud 3.17.3. All ocloud commands · Olef Cloud overview · olef commands
Managed agents, runs, events, and local agent checkout / deploy / redeploy
Global options (--org, --project-root, --quiet, --redact) apply across commands; see the ocloud command catalog.
ocloud agent apply
Section titled “ocloud agent apply”Create or update an agent from a JSON spec (settings, plain files, secret names, project grants); running it again changes nothing
ocloud agent apply --help| Argument | Description |
|---|---|
--file / -f |
Required. The spec: JSON with the agent’s settings, plain files, secret names and project grants (olef commands --describe 'cloud agent apply') |
ocloud agent baseline
Section titled “ocloud agent baseline”Pin an existing revision as the agent’s baseline
ocloud agent baseline --help| Argument | Description |
|---|---|
<agent> |
Required. The agent: agt_…, its address, or a unique name |
--seq |
Revision sequence number (default: current active setup revision) |
ocloud agent checkout
Section titled “ocloud agent checkout”Check out a workplace agent to this laptop in --edit (workplace stays active) or --live (events route here) mode, or --abort a live lease
ocloud agent checkout --help| Argument | Description |
|---|---|
<agent> |
Required. Remote agent (agt_…, team/name, me/name, or unique name) |
--edit |
Edit-only checkout: pull setup locally while workplace stays live (default) |
--live |
Live checkout: acquire exclusive lease and route live events to this machine |
--abort |
Abort an active live checkout lease and immediately return routing to workplace |
--dir |
Custom folder path instead of ~/.olef/agents/<slug> |
--src |
Existing local git repository path to work in |
--host |
Host id/name for --live (default: this machine’s registered host) |
--with-memory |
Also hydrate the agent’s auto-memory into the local folder |
--interrupt |
Cancel any in-flight workplace run immediately when taking over --live |
ocloud agent create
Section titled “ocloud agent create”A new agent: one Claude Code or Codex installation in its own workspace, with an inbox at its address (team/name, or me/name for your own)
ocloud agent create --help| Argument | Description |
|---|---|
<name> |
Required. Its address: team/name for a team’s agent, me/name (or your own username/name) for your own. A bare name goes to the agents team |
--team |
The team’s slug (default: agents) |
--preset |
private, team or org (default) |
--runtime |
claude-code (default) or codex |
--model |
|
--effort |
|
--template |
The workspace template its runs use (android, general, web…) |
--repo |
The repository it works in: its new workspace holds it |
--workspace |
Live in a workspace you own (its name or wsp_…), beside the files already there, in place of a new workspace |
--where |
One of your computers or host pools for its new workspace (ocloud host pools); default: Olef Cloud |
--instructions |
Its instructions (at most 8000 bytes) |
--instructions-file |
Its instructions, read from a local file (at most 8000 bytes) |
--reviewer |
A reviewer for –repo (design 6.7): the review instructions and the Android template unless given, and the commands that give it a credential and a pull request list to watch |
ocloud agent delete
Section titled “ocloud agent delete”Delete an agent. Without –yes: what would go with it (its workspace when it was made for the agent, its memory and conversations, open threads, subscriptions), and nothing is deleted
ocloud agent delete --help| Argument | Description |
|---|---|
<agent> |
Required. The agent: agt_…, its address, or a name only one agent has |
--yes |
Delete it |
ocloud agent deploy
Section titled “ocloud agent deploy”Deploy a local draft or linked agent to Olef Cloud or a host pool
ocloud agent deploy --help| Argument | Description |
|---|---|
<name> |
Required. Local agent slug, name, or directory path |
--as |
Target agent address (me/<name> or <team>/<name>) when creating from a draft |
--to |
Workplace placement: cloud (default) or host:<pool> |
--repo |
Target GitHub repository (owner/name) when creating the workplace workspace |
--with-memory |
Include auto-memory in the deployed revision |
--no-baseline |
Do not move the agent’s baseline pointer to this revision |
--note |
Optional revision note |
--yes |
Execute the deploy (without --yes, previews diff and preflight audit) |
ocloud agent diff
Section titled “ocloud agent diff”Diff a local agent folder against its base revision and run preflight checks
ocloud agent diff --help| Argument | Description |
|---|---|
<name> |
Required. Local agent slug, address, or folder path |
ocloud agent events
Section titled “ocloud agent events”A run’s timeline events (after a sequence number)
ocloud agent events --help| Argument | Description |
|---|---|
<id> |
Required. Positional argument. |
--after |
ocloud agent init
Section titled “ocloud agent init”Create a blank (or copied-from-local) isolated local agent folder
ocloud agent init --help| Argument | Description |
|---|---|
<name> |
Required. Local name (e.g. my-bot or me/dev) |
--runtime |
Agent runtime: claude-code (default) or codex |
--from-local |
Copy existing skills, settings, instructions and plugin manifest from ~/.claude or ~/.codex into this isolated folder instead of starting blank |
--dir |
Custom folder path instead of ~/.olef/agents/<slug> |
--repo |
Target GitHub repository (owner/name) to remember for deploy |
--src |
Existing local git repository folder to open/debug in |
ocloud agent link
Section titled “ocloud agent link”Link an existing ~/.claude/~/.codex (or local folder) to a personal Olef agent running live on this computer’s host
ocloud agent link --help| Argument | Description |
|---|---|
<agent> |
Required. Agent address: me/<name> (personal) or an existing agent you own |
--runtime |
Agent runtime: claude-code (default) or codex |
--local-home |
Attach directly to your personal ~/.claude or ~/.codex folder (personal me/* agents only) |
--dir |
Custom folder for .olef-agent.json (and isolated home/ when not --local-home) |
--repo |
Repository (owner/name) when creating a new agent |
--src |
Existing local git repository path |
--host |
Registered host id/name (default: this machine’s registered host) |
ocloud agent local ls
Section titled “ocloud agent local ls”List all local agent folders (draft, linked, edit, live)
ocloud agent local ls --help| Argument | Description |
|---|---|
--offline |
Skip querying the API for remote revision drift |
ocloud agent local remove
Section titled “ocloud agent local remove”Remove a local draft or edit agent folder (does not delete the cloud agent)
ocloud agent local remove --help| Argument | Description |
|---|---|
<name> |
Required. Local agent slug, address, or directory path |
--yes |
Actually remove the local folder |
ocloud agent ls
Section titled “ocloud agent ls”Agents you can see in the org
ocloud agent ls --helpocloud agent off
Section titled “ocloud agent off”Turn an agent off: its live runs are cancelled and it refuses new work. Its workspace, memory and threads are kept
ocloud agent off --help| Argument | Description |
|---|---|
<agent> |
Required. The agent: agt_…, its address, or a name only one agent has |
ocloud agent on
Section titled “ocloud agent on”Turn an agent on: it takes work again
ocloud agent on --help| Argument | Description |
|---|---|
<agent> |
Required. The agent: agt_…, its address, or a name only one agent has |
ocloud agent open
Section titled “ocloud agent open”Launch Claude Code or Codex pointed at a local agent folder’s isolated home
ocloud agent open --help| Argument | Description |
|---|---|
<name> |
Required. Local agent slug, address, or directory path |
--app |
Client to launch: claude, codex, claude-desktop, codex-desktop |
--own-auth |
Use your own local vendor sign-in instead of Olef’s local proxy |
--thread |
Native session/thread id to resume |
--print-cmd |
Print launch command + environment as JSON without spawning (used by olef-tray) |
ocloud agent pull
Section titled “ocloud agent pull”Refresh a local agent folder from the remote agent’s latest revision
ocloud agent pull --help| Argument | Description |
|---|---|
<name> |
Required. Local agent slug, address, or directory path |
--with-memory |
Also hydrate auto-memory from the remote revision |
--force |
Overwrite local uncommitted setup edits |
ocloud agent redeploy
Section titled “ocloud agent redeploy”Push local setup (and optional memory) back to the workplace agent
ocloud agent redeploy --help| Argument | Description |
|---|---|
<name> |
Required. Local agent slug, address, or directory path |
--setup-only |
Push setup layer only, discarding local memory/debug state changes |
--with-memory |
Push setup + auto-memory (default in live mode; opt-in in edit mode) |
--no-baseline |
Do not update the agent’s baseline to this revision |
--keep-edit |
After a --live redeploy, keep the local folder in edit mode (default: true) |
--force |
Override a remote revision_conflict in edit mode |
--note |
Optional revision note |
--yes |
Execute the redeploy (without --yes, previews diff and preflight audit) |
ocloud agent run
Section titled “ocloud agent run”A run: its state, cost, PR and live viewer
ocloud agent run --help| Argument | Description |
|---|---|
<id> |
Required. Positional argument. |
ocloud agent set
Section titled “ocloud agent set”Change an agent’s settings: only the flags given
ocloud agent set --help| Argument | Description |
|---|---|
<agent> |
Required. The agent: its id, team/name, or a name only one agent has |
--name |
A new name (its inbox address stays) |
--runtime |
claude-code or codex (the model follows unless given) |
--model |
The model (with only –runtime, that runtime’s default) |
--effort |
Reasoning effort; ‘’ clears it |
--template |
The workspace template its runs use; ‘’ clears it |
--repo |
The repository requests use when they name none; ‘’ clears it |
--instructions |
Its instructions (at most 8000 bytes) |
--instructions-file |
Its instructions, read from a local file (at most 8000 bytes) |
--egress-allow |
A host its runs may reach beyond the defaults (repeat; replaces the list; --egress-allow '' clears it) |
--egress-open |
Let its runs reach any public host |
ocloud agent show
Section titled “ocloud agent show”One agent: what it is doing, the state of its machine, its settings
ocloud agent show --help| Argument | Description |
|---|---|
<id> |
Required. The agent: agt_… or team/name |
ocloud agent sleep
Section titled “ocloud agent sleep”Stop the agent’s machine now, when no run is at work (it stops by itself after its idle time). The next message starts it again
ocloud agent sleep --help| Argument | Description |
|---|---|
<agent> |
Required. The agent: agt_…, its address, or a name only one agent has |
ocloud agent stop
Section titled “ocloud agent stop”Stop a run: nothing is pushed; its messages are cancelled
ocloud agent stop --help| Argument | Description |
|---|---|
<id> |
Required. Positional argument. |