Agentic workflows
Persistent cloud agents, paired with deterministic workflows.
Each agent runs the complete Claude Code or Codex harness inside its own workspace, on any software project. Check cloud agents out locally whenever you need to debug them, and use deterministic event rules, schedules, and checks wherever rules work better than prompts.
- 01A deterministic condition triggersHTTP JSON, GraphQL, webhook, or schedule matches a
jqrule - 02The full harness wakes in its workspacePersistent Claude Code or Codex home on Olef Cloud or your own host
- 03Step in locally when debuggingAcquire a
--livecheckout on your laptop without touching~/.claude - 04Return verified outputStructured results, deterministic replay checks, or a handoff to your team
Under the hood
Four building blocks behind cloud workflows.
Inspect the ocloud commands for each layer. The same model applies to general, web, and android projects.
ocloud agent create backend/reviewer --template general --repo acme/api --runtime claude-code ocloud link --template web && ocloud preview open 5173 ocloud ssh-config && ssh olef-api{"agent":"backend/reviewer","runtime":"claude-code","template":"general", "workspace":{"disk_persistent":true,"idle_policy":"hibernate_30m","ssh":"olef-api"}, "home_preserved":["CLAUDE.md","skills/**","hooks/**","plugins.manifest.json","memory/**"], "preview_url":"https://preview-5173.olef.site"}
ocloud agent checkout backend/reviewer --live --with-memory ocloud agent open backend/reviewer ocloud agent diff backend/reviewer ocloud agent redeploy backend/reviewer --yes{"mode":"live","lease":"exclusive","routing":"laptop_host_tunnel", "isolated_home":"~/.olef/agents/backend-reviewer/home", "auth_mode":"through_olef_local_proxy", "preflight_audit":{"local_paths_found":0,"missing_secrets":0,"egress_ok":true}, "published_revision":14}
ocloud events test --source https://api.github.com/repos/acme/api/pulls \ --each '.[] | {id: (.number|tostring), url: .html_url}' ocloud events subscribe --agent backend/reviewer \ --source https://api.github.com/repos/acme/api/pulls \ --each '.[] | {id: (.number|tostring), url: .html_url}' \ --when '.draft == false' --close-when '.state == "closed"'{"subscription":"sub_94a2","agent":"backend/reviewer","kind":"standing_each", "waiting_cost":"durable_subscription_no_idle_vm", "on_when_true":"wake_agent_thread","on_close_when":"close_thread"}
ocloud host setup ocloud host set agents on ocloud link --template general --on host:studio-mac{"host":"studio-mac","runtime":"native","isolation":"dedicated_os_account", "outbound_only_tcp_443":true,"private_network_access":true, "status":"serving"}
The whole harness runs in the workspace
Each managed agent runs a complete Claude Code or Codex installation inside one dedicated workspace (general, web, or android). Its instructions, skills, plugins, hooks, settings, memory, uncommitted files, and native resumable threads carry across runs rather than resetting between turns.
Parallel threads run side by side without interfering with one another, and idle workspaces hibernate automatically while preserving state. Connect anytime via short-lived SSH certificates (including VS Code Remote-SSH, scp, and rsync), loopback port forwards, private browser previews, or an XFCE desktop.
Run cloud agents locally temporarily to debug them
Olef separates an agent’s portable configuration and memory (stored as encrypted versioned revisions) from its workspace disk. When an agent behaves unexpectedly, check it out to an isolated folder on your laptop (~/.olef/agents/<slug>) without touching your personal ~/.claude or ~/.codex directory.
Use --edit to refine instructions and skills while the cloud copy continues serving, or acquire an exclusive --live lease to route incoming events to your laptop over the host tunnel. Open the agent through Olef’s local proxy with ocloud agent open, run preflight drift checks with ocloud agent diff, and publish a versioned update with ocloud agent redeploy (or return routing immediately with --abort).
$ ocloud agent checkout backend/reviewer --live --with-memory $ ocloud agent open backend/reviewer $ ocloud agent diff backend/reviewer $ ocloud agent redeploy backend/reviewer --yes
Mixing open-ended agents with deterministic workflows
Real systems need open-ended judgment in some steps and strict determinism in others. Olef places deterministic mechanisms around agent execution so models spend their context on tasks that require reasoning.
Subscribe an agent or thread to HTTP JSON endpoints, read-only GraphQL queries, GitHub, Jira (preview), or signed webhooks with deterministic jq predicates (--when, --each, --close-when, and $prev). Olef reads the source and wakes compute only when a condition flips true. Combine event rules with RFC 5545 schedules, schema and WebAssembly validators, and deterministic verification runs.
Managed cloud machines or your own Mac and Linux hosts
Run workspaces on Olef Cloud VMs, or register your own Mac or Linux machine with Olef Host (ocloud host setup) when you need private network access, local toolchains, or your own compute hardware. Native agent runs execute under a dedicated isolated OS account, and all control-plane traffic uses outbound TCP 443.
Build one durable workflow.
Start with one repository, one persistent agent, and one deterministic wake condition.