A Framework for Evaluating AI Agent Safety in Realistic Environments
Python
38
13 commits
updated Aug 10, 2026
OpenAgentSafety (OAS) is an open-source benchmark built on top of TheAgentCompany to systematically evaluate the safety of LLM-based agents operating in realistic, high-risk environments. Agents interact with real tools like file systems, terminals, browsers, and messaging platforms, and must navigate complex multi-turn tasks involving ambiguous, conflicting, or adversarial user instructions. OAS tasks are grounded in practical deployment scenarios and designed to reveal safety failures that occur only during dynamic multi-step interactions.
We extend and acknowledge the infrastructure of TheAgentCompany and Sotopia, leveraging their robust simulation backend and social interaction modeling.
The setup steps follow TheAgentCompany's benchmark closely. All services (GitLab, ownCloud, RocketChat, etc.) can be launched via Docker in minutes.
# Requires docker + docker compose + ~30GB disk space
sudo chmod 666 /var/run/docker.sock
curl -fsSL https://github.com/TheAgentCompany/the-agent-company-backup-data/releases/download/setup-script-20241208/setup.sh | sh
curl -fsSL -o setup.bat https://github.com/TheAgentCompany/the-agent-company-backup-data/releases/download/setup-script-20241208/setup.bat && setup.bat
For full details and troubleshooting tips, refer to SETUP.md.
Each task is packaged as a Docker image with:
utils/init.sh: initializes the task environmentinstruction/task.md: agent-facing task instructionutils/eval.py: scoring logicsudo su
cd evaluation
bash run_eval.sh \
--agent-llm-config <group1> \
--env-llm-config <group2> \
--outputs-path <outputs> \
--server-hostname <hostname> \
--version 1.0.0
More details available here.
We welcome contributions! Please open an issue or pull request.
Distributed under the MIT License.
13 commits
Python
96.5%
Shell
1.4%
A Framework for Evaluating AI Agent Safety in Realistic Environments
Python
38
13 commits
updated Aug 10, 2026
OpenAgentSafety (OAS) is an open-source benchmark built on top of TheAgentCompany to systematically evaluate the safety of LLM-based agents operating in realistic, high-risk environments. Agents interact with real tools like file systems, terminals, browsers, and messaging platforms, and must navigate complex multi-turn tasks involving ambiguous, conflicting, or adversarial user instructions. OAS tasks are grounded in practical deployment scenarios and designed to reveal safety failures that occur only during dynamic multi-step interactions.
We extend and acknowledge the infrastructure of TheAgentCompany and Sotopia, leveraging their robust simulation backend and social interaction modeling.
The setup steps follow TheAgentCompany's benchmark closely. All services (GitLab, ownCloud, RocketChat, etc.) can be launched via Docker in minutes.
# Requires docker + docker compose + ~30GB disk space
sudo chmod 666 /var/run/docker.sock
curl -fsSL https://github.com/TheAgentCompany/the-agent-company-backup-data/releases/download/setup-script-20241208/setup.sh | sh
curl -fsSL -o setup.bat https://github.com/TheAgentCompany/the-agent-company-backup-data/releases/download/setup-script-20241208/setup.bat && setup.bat
For full details and troubleshooting tips, refer to SETUP.md.
Each task is packaged as a Docker image with:
utils/init.sh: initializes the task environmentinstruction/task.md: agent-facing task instructionutils/eval.py: scoring logicsudo su
cd evaluation
bash run_eval.sh \
--agent-llm-config <group1> \
--env-llm-config <group2> \
--outputs-path <outputs> \
--server-hostname <hostname> \
--version 1.0.0
More details available here.
We welcome contributions! Please open an issue or pull request.
Distributed under the MIT License.
13 commits
Python
96.5%
Shell
1.4%