Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/camel-ai/crab
CRAB: Cross-environment Agent Benchmark for Multimodal Language Model Agents. https://crab.camel-ai.org/
https://github.com/camel-ai/crab
gui-automation language-model-agent large-language-models multi-agent-systems visual-language-models
Last synced: 3 days ago
JSON representation
CRAB: Cross-environment Agent Benchmark for Multimodal Language Model Agents. https://crab.camel-ai.org/
- Host: GitHub
- URL: https://github.com/camel-ai/crab
- Owner: camel-ai
- Created: 2024-05-11T13:38:52.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-22T11:08:46.000Z (about 1 month ago)
- Last Synced: 2024-12-24T16:42:49.178Z (9 days ago)
- Topics: gui-automation, language-model-agent, large-language-models, multi-agent-systems, visual-language-models
- Language: Python
- Homepage: https://crab.camel-ai.org/
- Size: 6.38 MB
- Stars: 202
- Watchers: 1
- Forks: 29
- Open Issues: 33
-
Metadata Files:
- Readme: README.md
- License: licenses/LICENSE
Awesome Lists containing this project
README
# 🦀 CRAB: Cross-platform Agent Benchmark for Multimodal Embodied Language Model Agents
[![arXiv][arxiv-image]][arxiv-url]
[![Slack][slack-image]][slack-url]
[![Discord][discord-image]][discord-url]
[![Wechat][wechat-image]][wechat-url]
[![Twitter][twitter-image]][twitter-url]
Documentation |
Website & Demos |
Blog |
Chinese Blog |
CAMEL-AI
## 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 `@action` decorator on a Python function.
* Define the environment by integrating several actions together.📐 Novel Benchmarking Suite
* Define tasks and the corresponding evaluators in an intuitive Python-native way.
* Introduce a novel graph evaluator method providing fine-grained metrics.## Installation
#### Prerequisites
- Python 3.10 or newer
```bash
pip install crab-framework[client]
```## Experiment on CRAB-Benchmark-v0
All datasets and experiment code are in [crab-benchmark-v0](./crab-benchmark-v0/) directory. Please carefully read the [benchmark tutorial](./crab-benchmark-v0/README.md) before using our benchmark.
## Examples
#### Run template environment with openai agent
```bash
export OPENAI_API_KEY=
python examples/single_env.py
python examples/multi_env.py
```## Demo Video
[![demo_video](https://i.ytimg.com/vi_webp/PNqrHNQlU6I/maxresdefault.webp)](https://www.youtube.com/watch?v=PNqrHNQlU6I&ab_channel=CamelAI)
## Cite
Please cite [our paper](https://arxiv.org/abs/2407.01511) 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},
}
```[slack-url]: https://join.slack.com/t/camel-kwr1314/shared_invite/zt-1vy8u9lbo-ZQmhIAyWSEfSwLCl2r2eKA
[slack-image]: https://img.shields.io/badge/Slack-CAMEL--AI-blueviolet?logo=slack
[discord-url]: https://discord.gg/CNcNpquyDc
[discord-image]: https://img.shields.io/badge/Discord-CAMEL--AI-7289da?logo=discord&logoColor=white&color=7289da
[wechat-url]: https://ghli.org/camel/wechat.png
[wechat-image]: https://img.shields.io/badge/WeChat-CamelAIOrg-brightgreen?logo=wechat&logoColor=white
[twitter-url]: https://twitter.com/CamelAIOrg
[twitter-image]: https://img.shields.io/twitter/follow/CamelAIOrg?style=social&color=brightgreen&logo=twitter
[arxiv-image]: https://img.shields.io/badge/arXiv-2407.01511-b31b1b.svg
[arxiv-url]: https://arxiv.org/abs/2407.01511