# Pointer Agent Integration

## Setup

1. **Setup Environment**: You need to create a virutalenv and install requirements:

```bash
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
```

2. **Set Environment Variables**: You need to set the environment variable with your API key. 

For aws bedrock:

Need to specify the BEDROCK_ROLE_ARN and AWS_BEDROCK_REGION for inference access.

```.env
# Required for AWS worker node creation
AWS_REGION=us-east-1 
AWS_DEFAULT_REGION=us-east-1 
AWS_SUBNET_ID=your_subnet_group_id
AWS_SECURITY_GROUP_ID=your_security_group_id

# Needed for web_fetch and web_search tool
PARALLEL_API_KEY=your_parallel_api_key

# Needed for accurate token counting
ANTHROPIC_API_KEY=your_anthropic_api_key

# Needed for inference via Bedrock
BEDROCK_ROLE_ARN=bedrock_inference_role
AWS_BEDROCK_REGION=bedrock_inference_aws_region
```

3. **Run the evaluation**: Run this script to run the evaluation on the full set, except the Google Drive tasks

```bash

python scripts/python/run_multienv_pointer.py \
    --max_steps 100 \
    --num_envs 40 \
    --test_all_meta_path evaluation_examples/test_nogdrive.json \
    --result_dir ./results/run-pointer-agent
```

## Acknowledgements

Our agent draws inspiration from various others part of this code base and the broarder OSWorld ecosystem of agents including Anthropic, VLAA, Hippo, OpenAPA, and Agent S3.

We thank all that came before us for their work!