Skip to content

ocloud agent

ocloud v3.17.3View Markdown

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.

Create or update an agent from a JSON spec (settings, plain files, secret names, project grants); running it again changes nothing

Terminal window
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')

Pin an existing revision as the agent’s baseline

Terminal window
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)

Check out a workplace agent to this laptop in --edit (workplace stays active) or --live (events route here) mode, or --abort a live lease

Terminal window
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

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)

Terminal window
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

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

Terminal window
ocloud agent delete --help
Argument Description
<agent> Required. The agent: agt_…, its address, or a name only one agent has
--yes Delete it

Deploy a local draft or linked agent to Olef Cloud or a host pool

Terminal window
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)

Diff a local agent folder against its base revision and run preflight checks

Terminal window
ocloud agent diff --help
Argument Description
<name> Required. Local agent slug, address, or folder path

A run’s timeline events (after a sequence number)

Terminal window
ocloud agent events --help
Argument Description
<id> Required. Positional argument.
--after

Create a blank (or copied-from-local) isolated local agent folder

Terminal window
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

Link an existing ~/.claude/~/.codex (or local folder) to a personal Olef agent running live on this computer’s host

Terminal window
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)

List all local agent folders (draft, linked, edit, live)

Terminal window
ocloud agent local ls --help
Argument Description
--offline Skip querying the API for remote revision drift

Remove a local draft or edit agent folder (does not delete the cloud agent)

Terminal window
ocloud agent local remove --help
Argument Description
<name> Required. Local agent slug, address, or directory path
--yes Actually remove the local folder

Agents you can see in the org

Terminal window
ocloud agent ls --help

Turn an agent off: its live runs are cancelled and it refuses new work. Its workspace, memory and threads are kept

Terminal window
ocloud agent off --help
Argument Description
<agent> Required. The agent: agt_…, its address, or a name only one agent has

Turn an agent on: it takes work again

Terminal window
ocloud agent on --help
Argument Description
<agent> Required. The agent: agt_…, its address, or a name only one agent has

Launch Claude Code or Codex pointed at a local agent folder’s isolated home

Terminal window
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)

Refresh a local agent folder from the remote agent’s latest revision

Terminal window
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

Push local setup (and optional memory) back to the workplace agent

Terminal window
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)

A run: its state, cost, PR and live viewer

Terminal window
ocloud agent run --help
Argument Description
<id> Required. Positional argument.

Change an agent’s settings: only the flags given

Terminal window
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

One agent: what it is doing, the state of its machine, its settings

Terminal window
ocloud agent show --help
Argument Description
<id> Required. The agent: agt_… or team/name

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

Terminal window
ocloud agent sleep --help
Argument Description
<agent> Required. The agent: agt_…, its address, or a name only one agent has

Stop a run: nothing is pushed; its messages are cancelled

Terminal window
ocloud agent stop --help
Argument Description
<id> Required. Positional argument.