What is SWE-ReX
mainSWE-ReX is a runtime interface designed for interacting with sandboxed shell environments. It allows AI agents to execute commands across various environments—including local machines, Docker containers, AWS remote machines, or Modal—using a unified interface. This abstraction ensures that the agent's core logic remains decoupled from the underlying infrastructure.
Key capabilities include:
- Shell Session Interaction: Automatically detects command completion, extracts output and exit codes, and returns them to the agent.
- Interactive Tool Support: Enables agents to use interactive CLI tools such as
ipythonorgdbwithin the shell. - Parallelism: Supports managing multiple concurrent shell sessions, allowing an agent to interact with different tools (e.g., a shell, an ipython session, and a gdb session) simultaneously.
- Scalability: Designed to support massively parallel agent runs for large-scale benchmarking and evaluation.