Judge0
Open-source sandboxed code execution system for 90+ languages; self-host or use Judge0 Cloud (via Rapid or direct).
Tags
Description
Judge0 is a robust, scalable online code execution system used to run untrusted and AI-generated code in sandboxes. It supports 90+ languages, compile and runtime limits, additional files alongside a program, and webhooks, behind a REST API. Two flavors: Judge0 CE and Judge0 Extra CE (different language sets). Self-host with Docker, or use the managed Judge0 Cloud through Rapid (RapidAPI) or directly. Licensed GPL-3.0; last tagged release v1.13.1 (Apr 2024), repo still active. Judge0's sandbox (Isolate) needs cgroup v1: the v1.13 install notes say to add systemd.unified_cgroup_hierarchy=0 to GRUB, and cgroup v2 support is still an open issue. In judge0.conf, telemetry is on by default (JUDGE0_TELEMETRY_ENABLE, see TELEMETRY.md) and ALLOW_ENABLE_NETWORK defaults to true, so submissions can request network access, although ENABLE_NETWORK defaults to false.
Agent access
Related
- Piston: Self-hostable, high-performance engine for running untrusted code in many languages via a simple REST API.
- E2B: Open-source, secure cloud sandboxes for AI agents: an isolated machine per agent to run code, browse and use tools.
- LLM Sandbox: Python library and MCP server for running LLM-generated code in isolated backends (Docker, Kubernetes, Podman, Bubblewrap, NsJail, Windows) behind one API.
- microsandbox: Easy, fast, programmable, local-first microVM runtime for untrusted workloads.
Guides & comparisons
- Self-host a code-execution API for agents with Piston or Judge0 (Guide): Run Piston or Judge0 on your own server to give an agent a stateless run_code tool for many languages: what each one isolates, the host requirements that decide between them, the limits to set, and a tested tool wrapper.
Sources
- https://github.com/judge0/judge0
- https://judge0.com/
- https://rapidapi.com/judge0-official/api/judge0-ce
- https://github.com/judge0/judge0/blob/master/CHANGELOG.md
- https://github.com/judge0/judge0/blob/master/judge0.conf
- https://github.com/judge0/judge0/issues/543
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)