Polyaxon v3 is coming →

Run code where your AI workloads run

Give agents and developers command, file, and terminal access to a service on your Kubernetes cluster. Choose the image, resources, storage, and connections; control the session with Python or the CLI.

Sandbox APIs require v1.16+ and deployment support. Shared queues and organization-managed presets are commercial features.

One service, several ways to work

Your Python application or CLI

Connect to a specific project and service run.

Polyaxon sandbox access

Authenticate the client and route calls to the selected run.

Your service container

Uses the image, resources, connections, and permissions you configure.

Processes
Execute commands and read their output.
Files
Inspect, upload, and download files.
Terminals
Attach to a PTY for interactive work.
Sandbox access runs inside the configured service container. SSH and reconnectable tmux sessions use separate optional plugins.

See it in code

Start a service. Run a command. Keep working.

Save the first tab as sandbox/sandbox.yaml, start the service, then connect to its running project and run. Each command uses the image and resources you configured; the service stays available between calls.

Follow the full quick start
kind: component
version: 1.1
name: sandbox-dev
plugins:
  sandbox: true
run:
  kind: service
  container:
    image: python:3.11
    command: ["sleep", "infinity"]

The Python, Files, and CLI tabs attach to a running service. Files inside its container are temporary; save useful results before stopping it.

Use one environment for people and agents

Bring the image and resources your task needs

Automate commands or work interactively

Save results, then stop the service

Set the boundary for the code you run