Description
CRAB, the Cross-environment Agent Benchmark, is designed to serve as a general-purpose evaluation framework for Multimodal Language Model (MLM) agents. It provides an end-to-end, user-friendly system for building agents, operating within various environments, and creating benchmarks to rigorously test their performance. The framework is built around three core components: cross-environment support, a sophisticated graph evaluator, and automated task generation.
The CRAB Benchmark-v0, developed using this framework, showcases its capabilities with 120 tasks spanning two distinct environments: Ubuntu and Android. It has been used to test six different MLMs under three varied communication settings, offering a diverse dataset for performance analysis. The framework's design emphasizes ease of use, with all agent operations, observations, and evaluators defined as Python functions. This allows for straightforward integration of new environments with minimal code. The benchmark configuration adheres to a declarative programming paradigm, ensuring reproducibility of experimental setups.
Key features include cross-environment support, allowing agents to adapt and perform across different interfaces. The graph evaluator provides fine-grained performance analysis beyond simple success rates, identifying strengths and weaknesses. Task generation is automated using a graph-based method, combining sub-tasks to create complex, realistic scenarios that reduce manual effort. The framework supports various MLMs, including models from OpenAI, Anthropic, Google, Mistral AI, and ByteDance, with results published for different communication settings and output types.
CRAB is particularly valuable for researchers and developers working on advanced AI agents that need to interact with complex, multimodal environments. It helps in understanding the diverse performance of different LLMs, identifying areas for improvement such as handling high step limits, reducing invalid actions, and minimizing false completions in multi-agent communication. The benchmark facilitates a deeper understanding of agent capabilities and limitations in real-world-like scenarios.
CRAB Benchmark's Core Features
Cross-environment support for agent evaluation
Graph-based evaluator for fine-grained performance analysis
Automated task generation mimicking real-world scenarios
End-to-end framework for building and testing agents
Support for multiple multimodal language models (MLMs)
Evaluation across Ubuntu and Android environments
Three distinct communication settings for testing
Easy integration of new environments via Python functions
Declarative programming paradigm for benchmark configuration
Analysis of termination reasons like Step Limit and Invalid Action
How to use CRAB Benchmark?
Configure Environment: Define agent operations, observations, and evaluators using Python functions.
Generate Tasks: Utilize the graph-based method to create complex, dynamic tasks.
Select Models: Choose from supported MLMs for testing.
Run Benchmark: Execute agents within specified environments and communication settings.
Analyze Results: Evaluate agent performance using the graph evaluator and completion ratios.
Identify Improvements: Review termination reasons to pinpoint areas for agent optimization.
CRAB Benchmark's Use Cases
- Agent Performance Evaluation
- Cross-Environment Testing
- Task Generation Automation
- LLM Agent Research
- Agent Improvement Analysis
- Benchmarking Open-Source Models







