The DoomArena Intro Notebook
is a good place for learning hands-on about the core concepts of DoomArena.
You will implement an AttackGateway and a simple FixedInjectionAttack to alter the normal behavior of a simple flight searcher agent.
If you only want to use the library just run
pip install doomarena # core library, minimal dependencies
pip install doomarena-taubench # optional
pip install doomarena-browsergym # optional
Export relevant API keys into your environment or .env file.
OPENAI_API_KEY="<your api key>"
OPENROUTER_API_KEY="<your api key>"
To actively develop DoomArena, please create a virtual environment and install the package locally in editable mode using
pip install -e doomarena/core
pip install -e doomarena/taubench
pip install -e doomarena/browsergym
Once the environments are set up, run the tests to make sure everything is working.
make ci-tests
make tests # requires openai key
Then follow the environment-specific instructions for TauBench and BrowserGym
$ claude mcp add DoomArena \
-- python -m otcore.mcp_server <graph>