AgentBench
BenchmarkFree8-environment benchmark for evaluating LLM agents.
Capabilities16 decomposed
multi-environment agent evaluation with standardized task interface
Medium confidenceEvaluates LLM agents across 8 heterogeneous task environments (OS, DB, KG, DCG, LTP, HH, WS, WB) through a unified Task interface that abstracts environment-specific implementations. Each task environment implements standard methods for sample retrieval, execution, and metric calculation, enabling systematic comparison of agent performance across fundamentally different domains without requiring agents to understand environment-specific APIs.
First benchmark framework specifically designed for LLM agents with 8 diverse task environments spanning web, database, OS, and game domains. Uses a unified Task interface abstraction that allows heterogeneous environments (WebShop, Mind2Web, ALFWorld, custom games) to expose consistent sample/execute/metric APIs, enabling apples-to-apples agent comparison across fundamentally different interaction paradigms.
Broader environmental coverage than single-domain benchmarks (e.g., WebShop-only or OS-only) and more realistic than synthetic task collections, providing comprehensive agent capability assessment across real-world scenarios.
session-based agent-task interaction management
Medium confidenceManages bidirectional communication between agents and task environments through a Session abstraction that handles message exchange, conversation history tracking, and state management across multi-turn interactions. The Session interface standardizes how agents send actions and receive observations, enabling any agent implementation (LLM-based, rule-based, or hybrid) to interact with any task environment without environment-specific integration code.
Implements a unified Session abstraction that decouples agent implementations from environment-specific communication protocols. Agents interact with any task (OS, web, database, game) through identical message-passing semantics, with the Session handling protocol translation and history management transparently.
Eliminates per-environment adapter code compared to frameworks where agents must implement task-specific interaction logic; enables agent code reuse across all 8 benchmark environments.
web browsing environment with real-world website navigation
Medium confidenceProvides a Web Browsing environment (based on Mind2Web) that enables agents to navigate real websites and complete web-based tasks through simulated browser interactions. Agents can search, click links, fill forms, and extract information from web pages. The environment includes rendering of actual web pages and tracking of agent navigation paths. This environment tests agent capabilities in web understanding, navigation planning, and information extraction from complex web interfaces.
Simulates realistic web browsing with actual website rendering and interaction. Agents navigate real web pages, fill forms, and extract information, testing web understanding and navigation planning on domain-realistic interfaces rather than simplified task environments.
More realistic than synthetic web environments; tests agent capabilities on actual website navigation and information extraction rather than simplified simulations.
operating system command execution environment with linux shell interaction
Medium confidenceProvides an Operating System environment where agents interact with a Linux shell to execute commands, navigate file systems, and complete system administration tasks. Agents generate bash commands that are executed in a sandboxed Linux environment, with output returned as observations. The environment enforces resource limits and safety constraints to prevent harmful operations. This environment tests agent capabilities in command-line reasoning, file system navigation, and system administration.
Provides a sandboxed Linux shell environment where agents generate and execute bash commands. Agents interact with real file systems, permissions, and shell semantics, testing command-line reasoning and system administration capabilities in a domain-realistic environment with safety constraints.
More realistic than synthetic OS environments; tests agent capabilities on actual shell commands and file system operations rather than simplified task completion.
database query environment with sql execution and knowledge graph reasoning
Medium confidenceProvides Database and Knowledge Graph environments where agents execute SQL queries or SPARQL queries against structured data. The DB environment includes a relational database with schema information; agents must formulate correct SQL queries to retrieve information. The KG environment includes a knowledge graph; agents must reason over relationships and formulate queries. Both environments test agent capabilities in structured data understanding, query formulation, and logical reasoning.
Provides both relational database (SQL) and knowledge graph (SPARQL) environments where agents must formulate and execute queries. Agents must understand schema/ontology structure and generate syntactically correct queries, testing structured data reasoning and query formulation capabilities.
Tests agent capabilities on actual database and knowledge graph systems rather than simplified data retrieval; requires agents to understand schema and formulate correct queries.
household task environment with alfworld-based home automation simulation
Medium confidenceProvides a Household environment (based on ALFWorld) where agents complete household tasks in a simulated home environment. Tasks include finding objects, manipulating items, and completing household chores. The environment includes a 3D home simulation with object locations, agent actions (move, pick up, put down), and task success criteria. This environment tests agent capabilities in spatial reasoning, object tracking, and sequential task planning in realistic household scenarios.
Simulates household tasks in a 3D home environment with object locations and agent actions. Agents must reason about spatial relationships, track object locations, and plan sequential actions to complete household tasks, testing spatial reasoning and task planning capabilities.
More realistic than text-based task environments; tests agent capabilities on spatial reasoning and sequential planning in household scenarios.
lateral thinking puzzle environment with constraint-based problem solving
Medium confidenceProvides a Lateral Thinking Puzzles environment where agents solve puzzles that require non-obvious reasoning and constraint satisfaction. Puzzles present a scenario and agents must ask yes/no questions to determine the solution. The environment tracks questions asked, answers provided, and whether agents arrive at correct solutions. This environment tests agent capabilities in hypothesis formation, information seeking, and constraint-based reasoning.
Provides lateral thinking puzzles that require non-obvious reasoning and hypothesis formation. Agents must ask strategic yes/no questions to determine solutions, testing reasoning capabilities beyond simple task completion or information retrieval.
Tests creative reasoning and hypothesis formation that simpler task environments cannot measure; requires agents to think beyond obvious solutions.
digital card game environment with strategic gameplay and decision-making
Medium confidenceProvides a Digital Card Game environment where agents play strategic card games requiring decision-making, resource management, and opponent modeling. The environment includes game rules, card mechanics, and win conditions. Agents must make strategic decisions about card play, resource allocation, and opponent prediction. This environment tests agent capabilities in strategic reasoning, game-theoretic thinking, and decision-making under uncertainty.
Provides a strategic card game environment with complex rules, resource management, and decision trees. Agents must reason about game state, predict opponent moves, and make strategic decisions, testing game-theoretic reasoning and strategic planning capabilities.
More complex than simple game environments; tests agent strategic reasoning and decision-making under uncertainty in games with multiple decision points.
distributed task execution with worker pool and task assignment
Medium confidenceOrchestrates parallel evaluation of agents across task samples using a Task Controller that manages a pool of Task Workers and a Task Assigner for load distribution. The framework spawns worker processes to execute agent-task interactions in parallel, with the Task Assigner distributing samples across workers and the Task Controller aggregating results and computing final metrics. This architecture enables efficient benchmarking of multiple agents or multiple samples without sequential bottlenecks.
Implements a three-tier execution architecture (Task Controller → Task Assigner → Task Workers) that separates orchestration, distribution, and execution concerns. The Task Assigner distributes samples across a configurable worker pool, enabling parallel evaluation of agents without requiring developers to manage multiprocessing directly.
More efficient than sequential evaluation and simpler than manual multiprocessing; provides built-in result aggregation and metric computation without requiring external orchestration frameworks.
environment-specific metric calculation and performance scoring
Medium confidenceComputes task-specific evaluation metrics for each of the 8 environments through environment-specific metric implementations that understand domain semantics (e.g., success rate for OS tasks, SQL correctness for DB tasks, game score for DCG). The Task interface includes a metrics() method that each environment implements to calculate performance scores from agent interaction traces, enabling meaningful evaluation of agent behavior within each domain's context.
Each of the 8 task environments implements domain-aware metrics that understand task semantics: OS tasks measure command execution success, DB tasks validate SQL correctness, DCG tasks compute game scores, WS tasks track shopping success. Metrics are not generic accuracy scores but reflect what success means in each domain.
More meaningful than generic metrics (e.g., BLEU scores) because metrics are tailored to each domain's success criteria; enables nuanced understanding of agent capabilities across diverse task types.
extensible task environment framework with custom task implementation
Medium confidenceProvides an extension mechanism for adding custom task environments to the benchmark through documented Task and Agent interfaces that developers implement in Python. The framework includes extension guides (Extension_en.md, Extension_cn.md) that specify how to subclass Task base class, implement required methods (get_indices, execute, metrics), and integrate custom environments into the evaluation pipeline. This enables researchers to add domain-specific tasks beyond the 8 built-in environments.
Defines a minimal but complete Task interface (get_indices, execute, metrics) that custom environments must implement, enabling researchers to add arbitrary task types while maintaining compatibility with the evaluation pipeline. The framework handles agent-task orchestration; custom tasks only need to implement domain logic.
More extensible than fixed-task benchmarks; simpler than building custom evaluation frameworks from scratch because orchestration, session management, and worker distribution are provided.
llm agent implementation with multi-provider api support
Medium confidenceProvides pre-built LLM agent implementations that interact with task environments through standardized Agent interface, supporting multiple LLM providers (OpenAI, Anthropic, and compatible endpoints). Agents implement decision-making logic that processes task observations and generates actions, with the framework handling API calls, token management, and response parsing. Agents can be configured with different LLM models and parameters without code changes.
Implements Agent interface that abstracts LLM provider differences, enabling same agent code to work with OpenAI, Anthropic, or compatible endpoints through configuration. Agents are stateless decision-makers that process observations and generate actions; session management and history tracking are handled by the framework.
Simpler than building custom agent code for each LLM provider; enables fair comparison across providers because agent logic is identical and only the underlying LLM changes.
naive rule-based agent implementations for baseline comparison
Medium confidenceProvides simple rule-based and heuristic agent implementations that serve as baselines for comparing LLM agent performance. These agents use pattern matching, keyword detection, or simple decision trees to generate actions without calling LLM APIs, enabling researchers to establish performance floors and understand how much value LLMs add over simple baselines. Naive agents implement the same Agent interface as LLM agents.
Provides task-specific naive agent implementations (pattern matching, heuristics) that establish performance baselines without LLM API calls. Enables researchers to quantify LLM value by comparing sophisticated LLM agents against simple rule-based baselines on identical tasks.
More meaningful baselines than random agents because they demonstrate task solvability; enables contextualized interpretation of LLM agent performance.
configuration-driven task and agent setup with yaml/json
Medium confidenceEnables declarative configuration of tasks, agents, and evaluation assignments through YAML/JSON configuration files rather than code. Configuration specifies task type, agent model, hyperparameters, sample selection, and worker allocation without requiring code changes. The framework parses configurations and instantiates appropriate task and agent implementations, enabling non-developers to run benchmarks and researchers to version control experimental setups.
Separates configuration (YAML/JSON) from implementation (Python), enabling benchmark experiments to be specified declaratively without code changes. Configuration includes task selection, agent model, hyperparameters, and worker allocation, enabling reproducible and version-controlled experimental setups.
More accessible than code-based configuration because non-developers can modify YAML files; enables reproducibility through configuration versioning.
avalon game environment with strategic gameplay evaluation
Medium confidenceImplements a complete Avalon card game environment (a social deduction game) with game engine, rule enforcement, and multi-agent gameplay. Agents play as knights or spies in a 5-player game requiring deception, negotiation, and strategic reasoning. The environment tracks game state, enforces rules, and computes win/loss metrics. This environment tests agent capabilities in social reasoning, deception detection, and strategic planning beyond simple task completion.
Implements a complete Avalon game engine with rule enforcement, multi-agent gameplay, and strategic evaluation. Unlike simple task completion environments, Avalon requires agents to engage in negotiation, deception, and social reasoning in a competitive multi-agent setting with hidden information.
More sophisticated than single-agent task environments; tests agent capabilities in social reasoning and strategic planning that single-agent benchmarks cannot measure.
web shopping environment with e-commerce task simulation
Medium confidenceProvides a Web Shopping environment (based on WebShop) that simulates e-commerce interactions where agents must search for products, navigate product pages, add items to cart, and complete purchases. The environment includes a simulated product catalog, search functionality, and checkout flow. Agents interact through natural language commands that are translated to shopping actions. This environment tests agent capabilities in information seeking, decision-making, and task completion in realistic web scenarios.
Simulates realistic e-commerce workflows with product search, comparison, and checkout. Agents interact through natural language commands that are translated to shopping actions, testing information-seeking and decision-making in a domain-realistic environment with large product catalogs.
More realistic than synthetic task environments; tests agent capabilities on actual e-commerce workflows rather than simplified task completion.
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with AgentBench, ranked by overlap. Discovered automatically through the match graph.
WebArena
Realistic web environment for autonomous agent testing.
AgentBench
A Comprehensive Benchmark to Evaluate LLMs as Agents (ICLR'24)
OSWorld
Real OS benchmark for multimodal computer agents.
AgentBench
Comprehensive agent evaluation across 8 environment domains
WebArena
Interactive web agent evaluation on realistic tasks
web-eval-agent
An MCP server that autonomously evaluates web applications.
Best For
- ✓LLM researchers evaluating agent architectures across multiple domains
- ✓Teams building production agents who need comparative performance data
- ✓Organizations assessing whether to adopt proprietary vs open-source LLMs for agent applications
- ✓Developers implementing custom agents who need standardized task interaction
- ✓Researchers analyzing agent behavior through conversation logs and interaction traces
- ✓Teams building agent frameworks that need to support multiple task environments
- ✓Researchers evaluating agent web navigation and understanding capabilities
- ✓Teams assessing agents for web automation and information extraction
Known Limitations
- ⚠Web Shopping and Web Browsing environments require 15GB and 1GB disk space respectively, limiting local evaluation
- ⚠Startup times vary significantly (5s to 3min) across environments, making full benchmark runs time-intensive
- ⚠Metrics are environment-specific with no unified scoring mechanism across all 8 tasks, complicating cross-domain comparison
- ⚠Session state is ephemeral by default with no built-in persistence mechanism for long-running agents
- ⚠No automatic conversation compression or summarization for long interaction histories
- ⚠Message format is environment-agnostic but lacks built-in validation or schema enforcement
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
About
Comprehensive benchmark evaluating LLM agents across 8 diverse environments including web browsing, code execution, database queries, game playing, and OS interaction to measure real-world agent capabilities.
Categories
Alternatives to AgentBench
Are you the builder of AgentBench?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →