Skip to content

Runtime Basics

A Runta runtime is an isolated computer where AI agents can work, persist state, and access external resources—with observability and control built in.

Terminal window
export RUNTA_TOKEN=rt...

Create a runtime with explicit CPU and memory requests:

Terminal window
runta run --name demo --cpus 2 --memory 2048

Free trial organizations share aggregate limits of 32 vCPU and 64 GiB of memory across their runtimes.

Runta enforces these limits on the server when creating a runtime or restoring a checkpoint. If a request would exceed a limit, the CLI and API return a RESOURCE_EXHAUSTED error with the current usage, requested resources, and configured limit. Remove or resize an existing runtime, or request fewer resources, before retrying.

Terminal window
runta ps -a
runta inspect demo

Commands are buffered: the API returns exit code, stdout, stderr, duration, and truncation flags.

Terminal window
runta exec demo -- sh -lc 'pwd && python3 --version' # one-shot session
runta exec -it demo bash # interactive session

Use runta exec -it demo bash for an interactive session, or use the Runta web terminal.

Runta supports memory resizing while a runtime is running:

Terminal window
runta resize --memory 4096 demo

Lifecycle calls change runtime state without deleting the runtime record, except for delete, which permanently removes it.

Use the Runta CLI for terminal workflows, shell scripts, and direct runtime operations.

TaskCLI command
Boot a shut-down runtimerunta boot demo
Pause a running runtimerunta pause demo
Resume a paused runtimerunta resume demo
Shut down a runtimerunta shutdown demo
Delete a runtimerunta rm demo