Orgo templates and triggers: reproducible cloud computers for AI agents
Define an AI agent's computer in one file, build it once, and launch identical copies.
An Orgo template is one file, in the orgo.ai/v1 format, that describes a cloud computer: its hardware, the software to install, the services to run, the secrets it needs, and what the user sees on connect. Orgo builds the file once into a snapshot, and every computer launched from it starts with that setup in place (Templates). Triggers live in the same file. They make the computer react to what happens on it: a schedule, a file change, a log line or a desktop event fires, and a webhook, a command or a service restart runs (Triggers). The ready-made Coding, OpenClaw and Hermes Agent templates launch on any paid plan, or by the hour on a free account's credit. Publishing your own requires Scale or higher.
Templates
The docs compare a template to a Dockerfile for a desktop computer. The result is not a container but a whole computer with a desktop, a browser and a shell, which is what computer use agents need. Templates build Linux computers.
Every version has a ref, namespace/name@version: system/coding@1.0.6 for one Orgo maintains, default/claude-code@1.0.0 for one you publish. Publishing different content under an existing version returns 409, so a published version stays as it is unless you replace it on purpose. You pass the ref as template_ref when you create a computer.
Without a template, each new computer starts from a base image and runs a setup script, and the script drifts. A template moves setup to build time:
| Base image + setup script | Orgo template | |
|---|---|---|
| At launch | The install runs again | A prebuilt snapshot is restored |
| Reproducibility | Drifts as packages and scripts change | Every launch starts from the same build |
| Definition | A script you maintain | One versioned file |
| Services | You wire up supervisord and watchdogs | Declared once, managed by Orgo |
The snapshot
When you build a template, Orgo boots a computer, runs your install steps, then pauses it and captures disk, memory and CPU state. A launch copies that snapshot and resumes it, so the computer comes up with your packages installed and your services running. You rebuild only when the template changes. The snapshot is keyed by a SHA-256 digest of the template, so changing one byte produces a new snapshot.
A launch that injects secrets, or lands on a host that cannot restore the snapshot's memory, cold-boots from the snapshot's disk instead. Your packages are still installed, but processes start fresh and the on_every_boot hook runs.
What a template holds
| Field | What it does |
|---|---|
hardware | CPU, RAM, disk, resolution, audio, bandwidth |
build | apt, pip, npm and run steps baked into the snapshot |
apps | Installed apps with long-running services and health checks |
files | Inline or fetched files written into the computer |
env + secrets | Environment variables and secrets from the vault |
triggers | A source fires, actions run |
terminal | tmux sessions the browser terminal attaches to |
hooks | Shell run once during the build and on every cold boot |
egress_policy | Domain and IP allow or block rules |
Sources: Templates, Template schema. Services under apps are managed by supervisord, so they start at boot and restart after a crash.
The smallest template uses the short form. Everything except api_version, the name and the version is optional (Examples):
api_version: orgo.ai/v1
name: my-template@1.0.0
cpu: 2
ram: 4gb
display: 1280x800Triggers
A trigger pairs a source of events with one or more actions, plus optional dedup. Each needs a unique name, a source and at least one action. Triggers run inside the computer while it runs, so no outside scheduler is needed. A template can declare up to 256.
| Source | Fires when |
|---|---|
cron | A 5-field schedule elapses |
file | A file at or under a path is created, modified or deleted |
http | Polling a URL returns the expected code, or the request fails |
process | A process with an exact name starts or stops |
metric | CPU, RAM, disk or network stays past a threshold for a duration |
log | A line of a service's log matches a regular expression |
event | A custom event is emitted in the computer |
desktop | A window gains focus, opens or closes, or the clipboard changes |
Actions are webhook (an HTTP request), command (a shell command as root), service (start, stop or restart a declared service), notify and log (lines in the trigger log), and api (a call to the computer's Desktop API). String fields take placeholders such as {{trigger}}, {{time}} and {{data.path}}, written without inner spaces.
This trigger posts to a Slack webhook when a file lands in an inbox folder:
triggers:
- name: new-upload
source:
type: file
path: /data/inbox
events: [create]
actions:
- type: webhook
url: https://hooks.slack.com/services/...
method: POST
headers:
Content-Type: application/json
body: '{"text": "new file: {{data.path}}"}'Each trigger can use one dedup strategy: debounce, cooldown or rate_limit (for example 10/1m). Separately, a trigger fires at most 120 times a minute.
A health check is narrower: it probes one URL, port, command or process and can restart one service after repeated failures. Use a health check to keep a service alive and a trigger to react to anything else.
Secrets
A template names the secrets it needs and holds no values. The person launching a computer stores each value once in their Orgo vault. At create time Orgo writes the matching secrets to /root/.env with mode 0600, under uppercase names, so anthropic_api_key becomes ANTHROPIC_API_KEY. The value is never in the template, the registry or the snapshot, and build logs do not print it (Secrets). So one template serves everyone, each computer with the keys of whoever launched it. A missing secret does not fail the launch; the variable is absent.
Launching and publishing
To launch a ready-made template, pass its ref when you create a computer. system/coding@1.0.6 boots with Claude Code and Codex installed, each in its own terminal session (Templates quickstart):
curl -X POST https://www.orgo.ai/api/computers \
-H "Authorization: Bearer $ORGO_API_KEY" \
-H "Content-Type: application/json" \
-d "{
\"workspace_id\": \"$WORKSPACE_ID\",
\"name\": \"claude-1\",
\"template_ref\": \"system/coding@1.0.6\"
}"From the CLI, orgo templates run system/coding@1.0.6 --name claude-1 does the same. List curated templates returns the current refs.
Your own template takes four steps on Scale or higher. The paths are under https://www.orgo.ai/api:
- Write the file in YAML or JSON.
- Validate it with
POST /templates/validate, which stores nothing and returns422with field-level errors. - Publish and build with
POST /templates?auto_build=true, then pollGET /templates/{namespace}/{name}/{version}/builduntilstatusisready. - Launch with
POST /computersand yourtemplate_ref.
To change a published template, bump the version. While iterating, republish the same version with ?auto_build=true&force=true to replace it. cpu and ram in the create request override the template's defaults, up to your plan's per-computer limit.
Limits
As of October 2026:
- Publishing, building and test-running your own templates require Scale or higher; below it they return
403 UPGRADE_REQUIRED. Launching a template is an ordinary computer create and counts toward the workspace owner's computers. - Templates larger than XL (more than 6 vCPU or 32 GB of RAM) are set up on request. Until then, publishing, building or test-running one returns
403 CONTACT_US_FOR_SIZE. - Only two hooks run:
on_first_boot, once during the build, andon_every_boot, on each cold boot.on_pre_snapshot,on_resumeandon_shutdownpass validation but do not run. - Some trigger sources pass validation but never fire, including the GPU metrics and the
idleandactivedesktop events. Theapiaction does not send the Desktop API token, so routes that need it return401. - A health check
on_failofrestart_vmoralertonly writes a log line. Onlyrestart_serviceacts.