Skip to content
API explorerProductOpen console

Run runbooks on your own Claude

Most runbooks should run on Omazy. Some cannot: the data may not leave your data centre, your contract may say which model account pays, or the job needs a real workspace with files and a shell. For those, a runbook can run on the Claude runtime: Claude, driven by a small runner on a machine you control.

The runner only dials out. You open no inbound port, your model credentials stay on your machine, and Omazy is never asked to trust the machine. Every action a run takes on your Omazy data comes back through Omazy, where approvals, budgets and the audit log apply exactly as they do for a native run.

Use the Claude runtime when Stay on Omazy when
Inference must run on your own Claude account (API key, Amazon Bedrock, Google Vertex AI or Microsoft Foundry) It is customer-facing chat. A runner is too slow to start for a live reply
The job needs files, a shell or a browser inside a sandbox The runbook only calls workspace tools. Omazy is cheaper and can use any model
It is a long autonomous job measured in tens of minutes You need another model to take over if Claude is unavailable
  1. Create a pool. In the console, open Settings → Claude runtimes → New pool. A pool is a group of runners in one place: a data centre, a VPC, a cluster. Pick how its runners reach Claude. This is a label for your records; the credential itself is set on the runner.
  2. Enrol a runner. Choose Enrol runner. You get a one-time token and an install command. The token works once and expires after an hour.
  3. Start the runner on your VM with the command, plus your model credential (ANTHROPIC_API_KEY, or your Bedrock, Vertex or Foundry settings). It appears in the pool, online, within a minute.
  4. Point a runbook at it. Open the runbook, go to Safety → Where it runs, choose Claude runtime and the pool.

For more than one VM, a Kubernetes cluster, or the full sandbox, use the install files that ship with the runner: a Docker Compose file for a single VM and a Helm chart for clusters. Both route every outbound connection through an allowlist proxy.

Signing in with a Claude.ai subscription is not supported. Use an API key or a cloud provider account.

Concern Where it is enforced
Which tools a run may use Omazy. The run gets a key that lists and calls only its runbook’s tools, and stops working when the run ends
Approvals Omazy. A write or send in a run you started is held for you, exactly as in a native run; an approved action is executed by Omazy, as held
Budget Both. The runner caps spend locally, and Omazy refuses tool calls once the run’s reported spend reaches its cap
Audit Omazy. Every tool call, decision and approval lands in the run’s timeline
Model credentials You. They never leave your machine

By default a runtime run gets only its runbook’s own tools. Under Where it runs you can switch on Claude’s built-in tools (reading and writing files, searching, fetching web pages, running shell commands). They run inside the sandbox on your VM, in a scratch folder that is deleted when the run ends, and never on Omazy. Switch on only what the job needs.

You see It means Do this
The run stops with runtime_unavailable No runner in the pool picked it up within 15 minutes Check the pool shows a runner online
The run stops with runtime_lease_expired The runner stopped reporting twice in a row Check the VM. The first lapse is retried on another runner automatically
A runbook will not save with Claude runtime executor_not_allowed: no pool is chosen, or it was deleted Pick a pool under Where it runs
A runner will not enrol The token was used, expired, or the CLI is older than the minimum Enrol again for a fresh token

The codes are listed with the others under Error codes.

Omazy CX documentation. One voice. Every channel. Always on.

Founded by Mosthofa Imran · imran@omazy.ai