Examples
Example Custom Agents and Sandbox Agent walkthroughs, with what each needs and where to start.
The examples/ directory contains Custom
Agent images and a Sandbox Agent walkthrough. Use them to try CetiRun or as a
start for your own image. Each example has a README with its full steps.
| Example | What it shows | Runs offline | Needs a cluster | Start here |
|---|---|---|---|---|
| Pi Agent | A Custom Agent with the Pi coding agent, a terminal UI, and an OpenAI-compatible HTTP adapter for Portal Chat | Node tests | Yes, to deploy the image | README |
| VS Code Server | A Custom Agent with a VS Code Server Web UI and Copilot Chat through the AI Gateway | Node tests | Yes, to deploy the image | README |
| Coding agents | GitHub Copilot CLI, Claude Code, and Codex CLI as three Custom Agents | Adapter tests | Yes, to deploy the images | README |
| Coding runtime mock | An offline demonstration of the Custom Chat interface with fixed synthetic results | Yes | No | README |
| Native Sandbox first run | One OpenClaw Agent in a Kata Sandbox with a shared AI Gateway model, a network comparison, and cleanup | No | Yes, a cluster with a registered Sandbox platform | README |
| Local Sandbox validation | A platform probe for a local Kind cluster with Kata and host-path CSI | No | A disposable local Kind cluster that you own | README |
| AKS Sandbox checks | Read-only Kubernetes API checks of an AKS target | No | Yes, an authorized AKS cluster | README |
Requirements for Custom Agent examples
- Custom provisioning is enabled by default. A platform administrator adds the
exact image digest to
customRuntime.approvedImagesof the Operator. For the image contract, refer to Custom Agents. - The image needs a registry that the cluster can pull from. Build and publish the image yourself, or use a published release image that your platform administrator approved.
- The VS Code Server example needs your acceptance of the VS Code Server license before you build the image.
- In the coding agents example, each Agent uses the model routes that the AI Gateway authorizes for it. Some routes need a separate provider account.
Requirements for Sandbox Agent examples
- A platform administrator registers the Sandbox platform and enables Sandbox execution in the Operator. Refer to Policy-bound Teams.
- A Team binds the Sandbox to an Agent Policy that allows the Agent’s model.
- The local validation needs Docker, Kind, and QEMU/KVM on a workstation that you own. Do not use it on AKS.
Offline tests do not show that an example runs on a cluster. To validate an example on a cluster, get authorization for the target environment first.