Run code 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

Choose your starting point

Sandboxes

Isolated, on-demand machines to run untrusted code securely.

  • Execute user code and agents
  • Run in multiple runtimes and limits
Explore Sandboxes

Assessment

Grade programming skills at the scale you already run.

  • Auto-grade code submissions
  • Build coding exams and practice
Explore Assessment

Enterprise

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

  • Higher limits and custom environments
  • On-premise or private deployment
Contact Enterprise

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

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