🦀 CRAB: Cross-platform Agent Benchmark for Multimodal Embodied Language Model Agents
Overview
CRAB is a framework for building LLM agent benchmark environments in a Python-centric way.
Key Features
🌐 Cross-platform and Multi-environment
- Create build agent environments that support various deployment options including in-memory, Docker-hosted, virtual machines, or distributed physical machines, provided they are accessible via Python functions.
- Let the agent access all the environments in the same time through a unified interface.
⚙ ️Easy-to-use Configuration
- Add a new action by simply adding a
@actiondecorator on a Python function. - Deine the environment by integrating several actions together.
📐 Novel Benchmarking Suite
- Define tasks and the corresponding evlauators in an intuitive Python-native way.
- Introduce a novel graph evaluator method providing fine-grained metrics.
Installation
Prerequisites
- Python 3.10 or newer
pip install crab-framework[client]
Experiment on CRAB-Benchmark-v0
All datasets and experiment code are in crab-benchmark-v0 directory. Please carefully read the benchmark tutorial before using our benchmark.
Examples
Run template environment with openai agent
export OPENAI_API_KEY=<your api key>
python examples/single_env.py
python examples/multi_env.py
Cite
Please cite our paper if you use anything related in your work:
@misc{xu2024crab,
title={CRAB: Cross-environment Agent Benchmark for Multimodal Language Model Agents},
author={Tianqi Xu and Linyao Chen and Dai-Jie Wu and Yanjun Chen and Zecheng Zhang and Xiang Yao and Zhiqiang Xie and Yongchao Chen and Shilong Liu and Bochen Qian and Philip Torr and Bernard Ghanem and Guohao Li},
year={2024},
eprint={2407.01511},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2407.01511},
}
Metadata
Release files for crab-framework 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| crab_framework-0.1.2.tar.gz | 41.8 kB | Without provenance | Details for crab_framework-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| crab_framework-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for crab_framework-0.1.2-py3-none-any.whl |
Total release size: 113.2 kB
Release files / crab_framework-0.1.2.tar.gz
| Download URL | crab_framework-0.1.2.tar.gz |
|---|---|
| Size | 41.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cc51b27ec9a016345d38cf60b263f9c0e18d7e79adf9f3acbebec80d25490e8
|
|
BLAKE2b-256 checksum How to use checksums |
5cb40a0496fc06c5c836b10a9d446a4953138e1cc980b6a8b36cac9fd7ec1796
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1024-azure
|
Release files / crab_framework-0.1.2-py3-none-any.whl
| Download URL | crab_framework-0.1.2-py3-none-any.whl |
|---|---|
| Size | 71.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc98f216d2b104e397dd6eb5f52a1630bec7b271b37765cf0211fd9d4ee2f603
|
|
BLAKE2b-256 checksum How to use checksums |
8ff76d211aec4a0eb6b694b5b9c74ad02608af7c8f6d561a2d93ad956cb1aed6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.0 Linux/6.5.0-1024-azure
|
Security for crab-framework 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.