An open-source, faster Devin alternative
TypeScript
docs(runtimes): link the example runtimes repo
Igor Zalutski705dd4bdba3f
diff --git a/docs/agent-sessions/custom-runtimes.mdx b/docs/agent-sessions/custom-runtimes.mdxindex 6e986924..581882f0 100644--- a/docs/agent-sessions/custom-runtimes.mdx+++ b/docs/agent-sessions/custom-runtimes.mdx@@ -8,7 +8,7 @@ description: "Package any agent harness as a runtime (coming soon)"A custom runtime is a container image for your own agent harness — anything beyond the built-in `claude` and `codex` runtimes. Once registered, select it per agent with `runtime: "<name>"`; sessions, events, steering, and webhooks work the same way.-The built-in runtimes are themselves thin wrappers around a provider's agent SDK (the Claude Agent SDK, the OpenAI Codex SDK) that conform to the contract below — a custom runtime is the same idea around any harness or SDK you choose.+The built-in runtimes are themselves thin wrappers around a provider's agent SDK (the Claude Agent SDK, the OpenAI Codex SDK) that conform to the contract below — a custom runtime is the same idea around any harness or SDK you choose. See [example runtimes](https://github.com/diggerhq/oc-runtime-examples) for working `claude` and `codex` wrappers.## Runtime invocationdiff --git a/docs/agent-sessions/runtimes.mdx b/docs/agent-sessions/runtimes.mdxindex ca6e84f4..4062b271 100644--- a/docs/agent-sessions/runtimes.mdx+++ b/docs/agent-sessions/runtimes.mdx@@ -55,7 +55,7 @@ The runtime, model, and credential have to agree: `runtime: "codex"` needs an `oThe model is configuration, not part of the runtime image. Each runtime drives one provider — `claude` drives Anthropic, `codex` drives OpenAI — and you choose the exact `provider/model` and the key it runs on. Because the model is config, the rest of your integration is identical across runtimes; the runtime is the one thing that changes.-A runtime is a thin **wrapper around a provider's agent SDK**: `claude` wraps the **Claude Agent SDK**, `codex` wraps the **OpenAI Codex SDK**. The wrapper does the same small job in both cases — read the new input, drive the SDK's loop, translate each step into [session events](/agent-sessions/events), act only through the [sandbox tools](/agent-sessions/runtime-tools), and exit when there's nothing left to do. The built-in runtimes are built exactly this way, and a [custom runtime](/agent-sessions/custom-runtimes) is the same wrapper around any harness you choose.+A runtime is a thin **wrapper around a provider's agent SDK**: `claude` wraps the **Claude Agent SDK**, `codex` wraps the **OpenAI Codex SDK**. The wrapper does the same small job in both cases — read the new input, drive the SDK's loop, translate each step into [session events](/agent-sessions/events), act only through the [sandbox tools](/agent-sessions/runtime-tools), and exit when there's nothing left to do. The built-in runtimes are built exactly this way, and a [custom runtime](/agent-sessions/custom-runtimes) is the same wrapper around any harness you choose. See [example runtimes](https://github.com/diggerhq/oc-runtime-examples) for `claude` and `codex` side by side — the platform-facing code is identical; only the SDK differs.A runtime also **starts fast**: the engine is prepared ahead of time and baked into the image, so a new or recreated session doesn't wait on a per-session download before its first step.