{"categories":[{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/2"}],"enrichment":{"capability":"SWE-ReX provides a runtime interface for AI agents to execute shell commands in sandboxed environments\u2014local, Docker, AWS, or Modal\u2014with a unified API that abstracts away infrastructure details.","skillfed_tags":["agent-infrastructure","sandbox-execution","parallel-shells"],"use_cases":["Let an AI agent run code-fixing commands in an isolated Docker container without hardcoding container-specific logic in your agent.","Evaluate an AI agent on a benchmark by spinning up parallel shell sessions and running the agent on each without managing infrastructure.","Build a multi-tool agent that uses ipython, gdb, and bash interactively, with SWE-ReX handling session multiplexing and output parsing.","Deploy an agent to Modal or AWS and have it execute shell commands remotely while your agent code remains unchanged.","Run many agents in parallel locally or on the cloud without writing custom process management or container orchestration code."],"what_it_does":"SWE-ReX is a runtime abstraction layer that lets AI agents execute shell commands in sandboxed environments without caring whether they run locally, in Docker, on AWS, or on Modal. It handles the messy details of spawning sessions, detecting command completion, capturing output and exit codes, and managing multiple parallel shells\u2014so your agent code stays the same whether you're testing locally or scaling to dozens of parallel runs.\n\nThe package is built on fastapi and uvicorn, suggesting it exposes a web service interface for remote execution. It integrates with pexpect and bashlex to parse and interact with shell sessions, and uses pydantic for configuration validation. It's designed for developers building AI agents that need to run arbitrary commands in controlled environments without reimplementing infrastructure plumbing.","worth_installing":"Yes, if you are building AI agents that need to execute shell commands in sandboxed or remote environments. The package solves a real infrastructure abstraction problem and is actively maintained with no known vulnerabilities. Install friction is low and the permissive MIT license removes legal friction. Start with the base install; add optional dependencies only if you need Modal, Fargate, or Daytona support."},"id":"swe-rex","links":{"html":"https://skillfed.io/packages/swe-rex","md":"https://skillfed.io/packages/swe-rex.md","pypi":"https://pypi.org/project/swe-rex/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-08-14","license_spdx":null,"license_treatment":"permissive","name":"swe-rex","python_support":"supports_current","summary":"Sandboxed code execution for AI agents, locally or on the cloud."},"popularity":{"monthly_downloads":3151672,"position":2724,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.4.0"}
