DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to benchmark agent recovery on AppWorld tasks with Sentry

Run the reference AppWorld benchmark to measure Sentry on an agent setup.

Short answer: Create a Python 3.11 environment with python3.11 -m venv .venv-appworld and activate it with source .venv-appworld/bin/activate; then install the AppWorld extra with python -m pip install -e '.[appworld]'; install AppWorld with appworld install. All steps.

Credentials. The run needs an OpenRouter API key set as an environment variable, so keep it out of shared logs, screenshots, and committed files.

Who it is forAn ML researcher or engineer who needs to test whether runtime recovery helps an agent on AppWorld tasks.

The problemComparing recovery methods needs a fixed environment and evaluator, and setting up AppWorld by hand takes time.

The outcomeA benchmark run in benchmarks/appworld/ that uses the official AppWorld environment and evaluator, with run output written to the run location.

What you need first

  • Python 3.10 or later, and git
  • A model provider configuration, such as an OpenAI-compatible or OpenRouter config file
  • For the AppWorld benchmark: Python 3.11, an OPENROUTER_API_KEY, and enough disk space for the AppWorld data download
  • For the paper summary: a web browser to open the arXiv link

Steps

  1. Create a Python 3.11 environment with python3.11 -m venv .venv-appworld and activate it with source .venv-appworld/bin/activate
  2. Install the AppWorld extra with python -m pip install -e '.[appworld]'
  3. Install AppWorld with appworld install
  4. Set the data path and download data with export APPWORLD_ROOT="$PWD/outputs/appworld-root" and appworld download data --root "$APPWORLD_ROOT"
  5. Set your key with export OPENROUTER_API_KEY="your-api-key"
  6. Start the run with python -m benchmarks.appworld.run --config configs/providers/openrouter.yaml

Prompt for your agent

Using the Sentry repo at github.com/nuglifeleoji/Sentry, set up the AppWorld benchmark in benchmarks/appworld/ and run it with configs/providers/openrouter.yaml. Before starting, verify that APPWORLD_ROOT points to an existing data folder. Report the run command's final status, any error it printed, and where its output was written.

Caveat. The README says the full release is still in progress, and the AppWorld guide it points to is not included in this README, so the benchmark commands may change after release.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for nuglifeleoji/Sentry and "Benchmark agent recovery on AppWorld tasks"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer