freshcrate
Home > AI Agents > SWE-ReX

SWE-ReX

Sandboxed code execution for AI agents, locally or on the cloud. Massively parallel, easy to extend. Powering SWE-agent and more.

Description

Sandboxed code execution for AI agents, locally or on the cloud. Massively parallel, easy to extend. Powering SWE-agent and more.

README

SWE-ReX

SWE-agent Remote Execution Framework

DocsSlackPyPI - VersionSWE-ReX is a runtime interface for interacting with sandboxed shell environments, allowing you to effortlessly let your AI agent run any command on any environment.

Whether commands are executed locally or remotely in Docker containers, AWS remote machines, Modal, or something else, your agent code remains the same. Running 100 agents in parallel? No problem either!

Specifically, SWE-ReX allows your agent to

  • Interact with running shell sessions. SWE-ReX will recognize when commands are finished, extract the output and exit code and return them to your agent.
  • ✅ Let your agent use interactive command line tools like ipython, gdb or more in the shell.
  • ✅ Interact with multiple such shell sessions in parallel, similar to how humans can have a shell, ipython, gdb, etc. all running at the same time.

We built SWE-ReX to help you focus on developing and evaluating your agent, not on infrastructure.

SWE-ReX came out of our experiences with SWE-agent and SWE-agent enigma. Using SWE-ReX, we

  • 🦖 Support fast, massively parallel agent runs (which made evaluating on large benchmarks a breeze).
  • 🦖 Support a broad range of platforms, including non-Linux machines without Docker.
  • 🦖 Disentangle agent logic from infrastructure concerns, making SWE-agent more stable and easier to maintain.

This is SWE-agent using SWE-ReX to run on 30 SWE-bench instances in parallel:

SWE-ReX in action

Get started

pip install swe-rex
# With modal support
pip install 'swe-rex[modal]'
# With fargate support
pip install 'swe-rex[fargate]'
# With daytona support (WIP)
pip install 'swe-rex[daytona]'
# Development setup (all optional dependencies)
pip install 'swe-rex[dev]'

Then head over to our documentation to learn more!

Our other projects

SWE-agent    Mini-SWE-Agent    SWE-smith    SWE-bench    CodeClash    sb-cli

Release History

VersionChangesUrgencyDate
v1.4.0## What's Changed v1.4.0 brings support for Daytona as a backend (thanks @Tpuljak). @joyliu-q and @saltzm improved the stability of remote connections with any cloud backend. It also ships a fix for the hardcoded value of the python runtime (standalone python) that caused docker build failures when running in the default configuration with SWE-agent and other projects (thanks @sinha-scripts) ## Features * feat: add daytona deployment by @Tpuljak in https://github.com/SWE-agent/SWE-Low8/14/2025

Dependencies & License Audit

Loading dependencies...

Similar Packages

mcp-audit🌟 Track token consumption in real-time with MCP Audit. Diagnose context bloat and unexpected spikes across MCP servers and tools efficiently.main@2026-04-21
adk-pythonAn open-source, code-first Python toolkit for building, evaluating, and deploying sophisticated AI agents with flexibility and control.v1.31.1
SurfSenseAn open source, privacy focused alternative to NotebookLM for teams with no data limit's. Join our Discord: https://discord.gg/ejRNvftDp9v0.0.16
MMClawUltra-Lightweight, Pure Python Multimodal Agent.main@2026-04-14
Agentic-AI-Pipeline🦾 A production‑ready research outreach AI agent that plans, discovers, reasons, uses tools, auto‑builds cited briefings, and drafts tailored emails with tool‑chaining, memory, tests, and turnkey Dockv1.0.0