Run your first sandbox
Install the CLI, start the local development stack with Docker Compose, and execute isolated code.
Start the quickstartTHE EXECUTION LAYER FOR YOUR AGENT SYSTEM
A self-hosted execution platform with gVisor isolation, moving toward simple single-host serving. Agent planning and collaboration stay in your application.
START WITH THE PUBLIC API
The CLI and three official SDKs share the same platform capabilities. Clients do not bypass the public API with SSH or shell fallbacks.
import os from axern_sdk import AxernClient, Sandbox client = AxernClient.from_context( os.path.expanduser("~/.config/axern/config.json")) with Sandbox(client=client, image="docker.io/library/python:3.12-slim") as sandbox: result = sandbox.exec("python -c 'print(42)'", check=True) print(result.stdout)ctx := context.Background()client, _ := axern.NewClient(ctx, "127.0.0.1:25000")defer client.Close() sandbox, _ := axern.NewSandbox(axern.SandboxOptions{ Client: client, Image: "docker.io/library/python:3.12-slim",})defer sandbox.Close(ctx) _ = sandbox.Start(ctx)result, _ := sandbox.Exec(ctx, "python -c 'print(42)'", axern.ExecOptions{Check: true})fmt.Print(result.StdoutString())import { AxernClient, Sandbox } from "@cofy-x/axern-sdk"; const config = process.env.AXERN_CONFIG ?? process.env.HOME + "/.config/axern/config.json";const client = AxernClient.fromContext(config);const sandbox = await new Sandbox({ client, image: "docker.io/library/python:3.12-slim",}).start(); const result = await sandbox.exec("python -c 'print(42)'", { check: true });console.log(result.stdoutText());await sandbox.close();axern dev upaxern run python:3.12-slim -- python -c 'print(42)'START HERE
Start with the working local development stack and SDKs, then explore the planned single-host service and persistent workspaces.
Install the CLI, start the local development stack with Docker Compose, and execute isolated code.
Start the quickstartUse the Python, Go, or TypeScript SDK—same platform capabilities as the CLI, no SSH fallbacks.
Choose an SDKSimpler Linux deployment, long-running sandbox services, and persistent Workspaces for personal agent systems are planned.
Read the direction decisionDeclare bounded Run outputs, seal them before runtime cleanup, and download them before the output deadline: 15 minutes after cleanup begins.
Read the Run contractBUILT IN THE OPEN
Axern keeps its control plane, gateway, node runtime, CLI, and SDKs in one Apache-2.0 repository. Run the existing local development stack, inspect its execution contracts, and contribute to the single-host-first direction.