Judge0 Online Code Execution System
A robust, fast, scalable, and sandboxed open-source online code execution system for humans and AI.
- Source repo
- judge0/judge0
- Stars
- ★ 4.5k
- Last updated
- 1d ago v1.13.1
- FARS reviewed
- Nov 08, 2026
- License
- GPL-3.0
- Primary language
- HTML
- FA score
- 52/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platform
- Cost
- Free tier plus a paid hosted plan
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- AI developers can use Judge0 to safely execute AI-generated code in a sandboxed environment.
- Not a fit if
- Teams that need a built-in GUI or admin console
- Users who want a fully offline setup without Docker, Redis, or PostgreSQL
- Organizations that cannot promptly patch sandbox escape CVEs
- Website
- judge0.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v1.13.1 (2024-04-18)
- Source review
- 52/100 · Major gaps 2 safety controls not found
What does this agent do, and when should you use it?
Judge0 is an open-source online code execution system established in August 2016, designed to safely run untrusted code. It offers a simple HTTP JSON API, supports 90+ programming languages, and can execute multi-file projects with custom compiler options, command-line arguments, and configurable time and memory limits. Judge0 can be self-hosted via Docker or used as a managed SaaS, with official Python and JavaScript SDKs. Its scalable architecture is documented in a research paper, and it is widely used to build online judges, competitive programming platforms, and AI agent code execution tools.
Judge0 accepts source code and standard input, compiles and runs it in an isolated sandbox, and returns the execution result including stdout, exit code, and resource usage. Users submit tasks via the HTTP JSON API (e.g., POST to /submissions with language_id, source_code, stdin) or via the official Python SDK. It supports multi-file programs, additional files, custom compiler flags, and command-line arguments, and can notify via webhooks.
- AI developers can use Judge0 to safely execute AI-generated code in a sandboxed environment.
- E-learning platforms can integrate Judge0 to automatically grade students' programming assignments.
- Technical interview platforms can run candidate code in real-time for coding assessments.
- Competitive programming organizers can deploy Judge0 to handle high concurrency during contests.
- Developers can quickly build LeetCode-style platforms with multi-language code execution.
How do you install or deploy this agent?
Quick self-hosting: Ensure Docker is installed, then use the judge0/judge0 image and follow the deployment procedure in the official CHANGELOG. You'll also need Redis and PostgreSQL. See the official documentation for exact steps.
How do you use this agent?
Use the HTTP API: send a POST request to https://ce.judge0.com/submissions?wait=true with a JSON body including language_id, source_code, and stdin. For example: curl -H "Content-Type: application/json" -d '{"language_id": 109, "source_code": "print(f\"hello, {input()}\")", "stdin": "Alice"}' https://ce.judge0.com/submissions?wait=true. Alternatively, use the Python SDK: pip install judge0, then call judge0.run(source_code, stdin, language).
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
FARS trust-control audit
- dependency security — Pin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
- rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.
What are this agent's strengths and limitations?
- Supports 90+ programming languages covering most mainstream languages.
- Simple and consistent REST API reduces integration effort.
- Self-hosting option gives full control over data and infrastructure.
- Sandboxed execution safely handles untrusted code.
- Horizontally scalable to handle high loads.
- Self-hosting requires Docker, Redis, PostgreSQL, adding operational complexity.
- Sandboxing is not foolproof; historical CVEs (e.g., CVE-2024-28185) require prompt patching.
- No built-in GUI; management features must be developed separately.
How does this agent compare with similar options?
Compared to E2B and similar AI code sandboxes, Judge0 offers a self-hosting path and broader language support, while E2B provides more AI-native features like prebuilt agents.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Judge0 Online Code Execution System This agent | 52 · Major gaps | Self-hosted serviceFreemium | ★ 4.5k | 1d ago | HTML | — |
| Open Terminal | 67 · Some gaps | Self-hosted serviceFree | ★ 3.7k | 3d ago | Python | — |
| Sandbox SDK | 63 · Some gaps | Library / SDKFree + model costs | ★ 122 | 1d ago | TypeScript | — |
| OtoDock | 70 · Some gaps | Self-hosted serviceFreemium | ★ 207 | 12d ago | Python | Codex · Claude Code |
How does FollowAgents rate this agent?
Why each dimension lost points
The README describes self-hosting, sandboxed execution of untrusted code, and configurable time and memory limits. The packet does not show sandbox implementation details, a permission model, or data-handling policy, so least privilege, sensitive-data handling, and flow transparency have only thin support. Code submission triggers compilation and execution; confirmation, recovery, dependency-security processes, and controls for external callbacks are not described. The README gives project and author attribution, which provides some source attribution evidence.
The README summarizes features and integration, but the packet is insufficient to check internal implementation consistency or dependency availability. The API snippets distinguish 401 authentication failure from 403 authorization failure, providing useful evidence for failure messages. The claims of robustness and scalability are not substantiated by the supplied material.
The README names AI agents, competitive programming, education, recruitment, online editors, and IDEs as use cases, and describes the HTTP JSON API, Python SDK, multiple languages, multi-file projects, and execution limits. Use cases and configurable capabilities are meaningfully described, but unsupported scenarios, trigger conditions, and concrete requirements for different deployment environments are limited, so full marks are not justified.
The README has a contents section, getting-started guidance, API and SDK examples, feature descriptions, and citation information, and links to deployment documentation. The installation procedure itself is not present in the supplied excerpt, and limitations are not fully listed. LICENSE contains the GPL-3.0 text; the README refers to releases, branches, and a changelog, while SECURITY.md identifies supported versions and a vulnerability-reporting channel. Author and security contact information are clear, but maintenance responsibility and update commitments are only partly specific.
The HTTP and Python examples show usable code-submission inputs and result retrieval. For integrators who need to execute code in multiple languages, the API, SDK, sandboxing, and execution limits offer clear value. Self-hosting resource requirements and SaaS costs are not quantified in the packet, limiting cost-benefit assessment.
The README supplies concrete feature claims, API and SDK examples, citation details, and documentation entry points; SECURITY.md and the API error snippets provide limited cross-source corroboration. Most security, speed, and scaling claims remain product assertions in this packet, without implementation evidence or checkable measurements. Static materials cannot verify execution behavior, so the scores remain limited.
- Not found in source: dependency securityPin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
- Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
- This assessment uses only the supplied README, API error snippets, LICENSE, and SECURITY.md; files not supplied are unknown.
- Sandboxed execution of untrusted code is central to the product, but this packet does not show isolation details, host permissions, network restrictions, or data-retention practices. Deployers should consult the actual deployment and security documentation.
- Webhooks and managed hosting can involve external effects or data transfer; the supplied material does not explain their controls.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v1.13.1 Judge0 CE v1.13.1
Release notes excerpt
v1.13.1 (2024-04-18) Security researcher [Daniel Cooper](https://www.linkedin.com/in/daniel-cooper4) (@stacksparrow4) found three critical vulnerabilities in Judge0 versions <= 1.13.0, which this release fixes. Thank you, Daniel, for your contribution. Security Fixes This release fixes the following security vulnerabilities: - [CVE-2024-28185](https://github.com/judge0/judge0/security/advisories/GHSA-h9g2-45c8-89cf) - [CVE-2024-28189](https://github.com/judge0/judge0/security/advisories/GHSA-3xpw-36v7-2cmg) …View on GitHub ↗ -
v1.13.1-extra Judge0 Extra CE v1.13.1
Release notes excerpt
v1.13.1-extra (2024-04-18) Security researcher [Daniel Cooper](https://www.linkedin.com/in/daniel-cooper4) (@stacksparrow4) found three critical vulnerabilities in Judge0 versions <= 1.13.0-extra, which this release fixes. Thank you, Daniel, for your contribution. Security Fixes This release fixes the following security vulnerabilities: - [CVE-2024-28185](https://github.com/judge0/judge0/security/advisories/GHSA-h9g2-45c8-89cf) - [CVE-2024-28189](https://github.com/judge0/judge0/security/advisories/GHSA-3xpw-36v7-2cmg) …View on GitHub ↗ -
v1.13.0 Judge0 CE v1.13.0
Release notes excerpt
v1.13.0 (2021-03-10) Huge thanks to [Filtered](https://www.filtered.ai) for sponsoring this release. New Features - Added support for enable_network configuration flag. With the new ALLOW_ENABLE_NETWORK configuration variable, usage of this flag can be permitted or denied. Furthermore, with the new ENABLE_NETWORK configuration variable the default value of this flag can be set for every submission. - Commits: [@62a00520](https://github.com/judge0/judge0/commit/62a00520692c2b7a8bf0f54528aee8fbbf864f36) …View on GitHub ↗
FAQ
What languages does Judge0 support?
How can I migrate from Judge0 Cloud to self-hosted?
Is Judge0 secure? Can it handle malicious code?
Does Judge0 support webhooks?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.