Run code, agents, and exams in isolated machines.

Sphere Engine Sandboxes for anything your users or models execute. Compilers, Problems, and Containers for teaching, hiring, and grading.

Isolated sandbox machine returning stdout and files to your application

Create an account and run from your SDK.

Choose where to start

Sandboxes

A machine per task. Files, processes, network, and a result you can take back.

Python and TypeScript SDK.
One-shot runs and longer sessions.

Assessment

Grade programming skills at the scale you already run.

Compilers, Problems, and Containers — APIs and widgets inside your product.

Enterprise

Dedicated capacity, on-premise, and a team that has run this since 2008.

SLA, support, and infrastructure sized to your volume.

From your code to an isolated machine

  1. Each run happens in a separate machine — outside your app process.
  2. You send code and files through the API and take stdout, stderr, and artifacts back.
  3. Need more than one call? Keep a session alive, exec again, then stop.
from sphere_engine_sandboxes import Client

client = Client(token="YOUR_API_TOKEN")

result = client.run.execute(
    image="ubuntu-26.04-med",
    command=["python3", "hello.py"],
    copies=[{"host": "./hello.py"}],
)
print(result.stdout)
print(result.exit_code)

Example output. Not a live run.

stdouthello

exit_code0

Trusted in production

Figures from the assessment and code-execution platforms teams already run on Sphere Engine.

Secure, scalable code execution environments since 2008.

5,000,000+code submissions every month
2,000,000+end users worldwide
Infosys Mettl Tata Consultancy Services Edhesive Codechef