Installation

The Agents Research Environments (ARE) can be used in two ways: via uvx for quick usage without local installation, or installed locally for development and custom scenarios.

Local Installation from PyPI

For users who want to dig deeper into the library, develop custom scenarios, or need local access to the codebase, you can install it with pip.

the Agents Research Environments requires python 3.10.*. We recommend using a virtual environment for installation. Using uv venv -p 3.10 and uv pip install or uv add is the recommended approach.

pip install meta-agents-research-environments

This will install the Agents Research Environments package and all its dependencies, including the pre-built JavaScript UI components.

Command Line Tools

After installing ARE, the following command line tools will be available:

  • are-run: Run individual scenarios

    are-run -s scenario_find_image_file -a default
    
  • are-benchmark: Run benchmarks on scenarios

    are-benchmark run -d /path/to/scenarios
    
  • are-gui: Start the ARE GUI server

    are-gui -s scenario_find_image_file
    

Run any command with --help to see all available options.

Installation from Source

For contributors and developers who want to modify the codebase, start by cloning the repository:

git clone https://github.com/facebookresearch/meta-agents-research-environments.git
cd meta-agents-research-environments

Tip

For configuration, copy example.env to .env and customize as needed.

Now choose your installation based on what you want to develop:

Scenario and Agent Development

If you’re working on scenarios, agents, or core functionality and just need the command-line tools:

uv venv -p 3.10
source .venv/bin/activate
uv pip install -e .

For UI Development

If you want to start the UI locally or modify the web interface, you’ll also need to build the JavaScript components from source.

First, install NodeJS version 23 on your system, then run:

# On Linux/MacOS
BUILD_GUI=1 uv pip install -e .

# On Windows
set BUILD_GUI=1 & uv pip install -e .

This will compile the JavaScript UI components during installation, which takes a few additional minutes but gives you full control over the web interface development.

Verification

To verify your installation works correctly:

  1. Test Basic Import (local installation only)

    import are.simulation
    print(are.simulation.__version__)
    
  2. Run a Simple Scenario

    # With uvx
    uvx --from meta-agents-research-environments are-run --help
    
    # With local installation
    are-run --help
    
  3. Check Available Scenarios

    # With uvx
    uvx --from meta-agents-research-environments are-benchmark --help
    
    # With local installation
    are-benchmark --help
    

Next Steps

Once you have Meta Agents Research Environments set up, you’re ready to: