Getting Started
Create and Export Your API Keys
Section titled “Create and Export Your API Keys”Sign in to the Runta dashboard, then create and copy a key from Settings → Runta API Keys.
export RUNTA_TOKEN="rt..."Install Runta Tools
Section titled “Install Runta Tools”Runta setup currently targets macOS and Linux. Windows is not supported yet.
Linux:
npm install -g @runta/runta-climacOS (Apple silicon):
brew install runta-dev/tap/runtaInstall the Python SDK:
With pip:
pip install runta-sdkOr with uv:
uv pip install runta-sdkInstall the TypeScript SDK:
npm install @runta/runta-sdkStart Your First Runtime
Section titled “Start Your First Runtime”runta run --name demo --cpus 2 --memory 2048runta exec demo -- python3 -c 'print("Hello from Runta")'runta rm demofrom runta import Runta
with Runta() as runta: runtime = runta.runtimes.create( "demo", vcpus=2, memory_mib=2048, ) try: result = runtime.exec('python3 -c \'print("Hello from Runta")\'') print(result.stdout_text) finally: runtime.delete()import { Runta } from "@runta/runta-sdk";
const runta = new Runta();const runtime = await runta.runtimes.create("demo", { vcpus: 2, memoryMib: 2048,});
try { const result = await runtime.exec('python3 -c \'print("Hello from Runta")\''); console.log(result.stdoutText);} finally { await runtime.delete();}Create an Agent Runtime
Section titled “Create an Agent Runtime”Choose either the dashboard or the CLI to create an agent runtime.
Create an Agent in the Dashboard
Section titled “Create an Agent in the Dashboard”Open the Runta dashboard, create a runtime, set its name and compute resources, then choose an agent such as Codex CLI, Claude Code, or OpenClaw.
Create runtime
Set the runtime details, compute resources, and agent setup.
Agent Setup
Create a Codex Runtime with the CLI
Section titled “Create a Codex Runtime with the CLI”Create an OpenAI API key.
Pass the --agent parameter when creating a runtime. Runta installs and
configures the selected coding agent automatically.
Store the exported OpenAI API key in Runta once, then create the runtime:
runta secret set OPENAI_API_KEY --value-env OPENAI_API_KEYrunta run --name codex-demo --cpus 2 --memory 2048 --agent codexThe Codex agent preset automatically installs Codex and injects the stored credential into matching OpenAI requests without exposing the real key inside the runtime.
Create and Export Your API Keys
Section titled “Create and Export Your API Keys”Sign in to the Runta dashboard, then create and copy a key from Settings → Runta API Keys. Create an OpenAI API key, then export both keys in your shell:
export RUNTA_TOKEN="rt..."export OPENAI_API_KEY="sk-..."