About **Terminal-Bench**
Terminal-Bench is an open-source benchmark designed to evaluate large language models (LLMs) on complex, real-world tasks within a terminal environment. It tests an agent's ability to autonomously perform end-to-end operations such as compiling code, training machine learning models, and setting up servers. The framework consists of two core components: a dataset of tasks (each with an instruction, a verification test script, and a reference oracle solution) and an execution harness that connects an LLM to a Docker-based sandboxed terminal. Currently in beta with approximately 100 tasks, Terminal-Bench aims to expand into a comprehensive testbed for AI agents in text-based environments. It is distributed as a pip package and features a CLI tool (tb) for easy use. The project welcomes community contributions, especially new and challenging tasks.
Key Features
Pros & Cons
- Open-source and free to use (no licensing fees)
- Focuses on practical, real-world tasks rather than synthetic benchmarks
- Reproducible task suite with automated verification scripts
- Actively evolving with community-driven task contributions
- Comprehensive execution harness with Docker sandbox for safe isolation
- Easy installation via pip and CLI interface
- Currently limited to approximately 100 tasks (beta stage)
- Requires Docker and uv/pip setup, which may increase initial configuration complexity
- Benchmark coverage may not yet reflect all terminal use cases
- No official hosted leaderboard or cloud execution option (must run locally)