Name | swe-rex JSON |
Version |
1.0.1
JSON |
| download |
home_page | None |
Summary | None |
upload_time | 2024-12-06 20:01:11 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
license | None |
keywords |
nlp
agents
code
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<div align="center">
<img src="docs/assets/swe-rex-logo.png" alt="SWE-ReX" style="height: 12em"/>
# SWE-agent Remote Execution Framework
[![Pytest](https://github.com/SWE-agent/swe-rex/actions/workflows/pytest.yaml/badge.svg)](https://github.com/SWE-agent/swe-rex/actions/workflows/pytest.yaml)
[![Check Markdown links](https://github.com/SWE-agent/swe-rex/actions/workflows/check-links.yaml/badge.svg)](https://github.com/SWE-agent/swe-rex/actions/workflows/check-links.yaml)
[![build-docs](https://github.com/SWE-agent/swe-rex/actions/workflows/build-docs.yaml/badge.svg)](https://github.com/SWE-agent/swe-rex/actions/workflows/build-docs.yaml)
</div>
SWE-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][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:
<div align="center">
<img src="docs/assets/swerex.gif" alt="SWE-ReX in action" width=600px>
</div>
## Get started
```bash
pip install swe-rex
# With modal support
pip install 'swe-rex[modal]'
# With fargate support
pip install 'swe-rex[fargate]'
# Development setup (all optional dependencies)
pip install 'swe-rex[dev]'
```
Then head over to [our documentation](https://swe-rex.com/) to learn more!
[SWE-agent]: https://swe-agent.com
[SWE-bench]: https://swebench.com
Raw data
{
"_id": null,
"home_page": null,
"name": "swe-rex",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "nlp, agents, code",
"author": null,
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/39/e8/49fa140aa69c7a3765d0d97b97941db4d9949d6147dee15ecb30e083d603/swe_rex-1.0.1.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n\n<img src=\"docs/assets/swe-rex-logo.png\" alt=\"SWE-ReX\" style=\"height: 12em\"/>\n\n# SWE-agent Remote Execution Framework\n\n[![Pytest](https://github.com/SWE-agent/swe-rex/actions/workflows/pytest.yaml/badge.svg)](https://github.com/SWE-agent/swe-rex/actions/workflows/pytest.yaml)\n[![Check Markdown links](https://github.com/SWE-agent/swe-rex/actions/workflows/check-links.yaml/badge.svg)](https://github.com/SWE-agent/swe-rex/actions/workflows/check-links.yaml)\n[![build-docs](https://github.com/SWE-agent/swe-rex/actions/workflows/build-docs.yaml/badge.svg)](https://github.com/SWE-agent/swe-rex/actions/workflows/build-docs.yaml)\n</div>\n\nSWE-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*.\n\nWhether commands are executed locally or remotely in Docker containers, AWS remote machines, Modal, or something else, your agent code remains the same.\nRunning 100 agents in parallel? No problem either!\n\nSpecifically, SWE-ReX allows your agent to\n\n* \u2705 **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.\n* \u2705 Let your agent use **interactive command line tools** like `ipython`, `gdb` or more in the shell.\n* \u2705 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.\n\nWe built SWE-ReX to help you focus on developing and evaluating your agent, not on infrastructure.\n\nSWE-ReX came out of our experiences with [SWE-agent][] and [SWE-agent enigma][enigma].\nUsing SWE-ReX, we\n\n* \ud83e\udd96 Support **fast, massively parallel** agent runs (which made evaluating on large benchmarks a breeze).\n* \ud83e\udd96 Support a **broad range of platforms**, including non-Linux machines without Docker.\n* \ud83e\udd96 **Disentangle agent logic from infrastructure concerns**, making SWE-agent more stable and easier to maintain.\n\nThis is [SWE-agent][] using SWE-ReX to run on 30 [SWE-bench][] instances in parallel:\n\n<div align=\"center\">\n<img src=\"docs/assets/swerex.gif\" alt=\"SWE-ReX in action\" width=600px>\n</div>\n\n## Get started\n\n```bash\npip install swe-rex\n# With modal support\npip install 'swe-rex[modal]'\n# With fargate support\npip install 'swe-rex[fargate]'\n# Development setup (all optional dependencies)\npip install 'swe-rex[dev]'\n```\n\nThen head over to [our documentation](https://swe-rex.com/) to learn more!\n\n\n[SWE-agent]: https://swe-agent.com\n[SWE-bench]: https://swebench.com\n",
"bugtrack_url": null,
"license": null,
"summary": null,
"version": "1.0.1",
"project_urls": null,
"split_keywords": [
"nlp",
" agents",
" code"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6d5f8ad3638c610e4d8dd5bcd892093e7a0fef1ad4b4fb81753956171f5a34e4",
"md5": "70b8851ffcb277b08a37b7c136384d47",
"sha256": "9ac36652558380c29f0b6b60e03e1ee347ac5c9d550a8015c5a9821dbace6b7c"
},
"downloads": -1,
"filename": "swe_rex-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "70b8851ffcb277b08a37b7c136384d47",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 38229,
"upload_time": "2024-12-06T20:01:10",
"upload_time_iso_8601": "2024-12-06T20:01:10.391413Z",
"url": "https://files.pythonhosted.org/packages/6d/5f/8ad3638c610e4d8dd5bcd892093e7a0fef1ad4b4fb81753956171f5a34e4/swe_rex-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "39e849fa140aa69c7a3765d0d97b97941db4d9949d6147dee15ecb30e083d603",
"md5": "2fee1d4b068a747410f7c6943035db67",
"sha256": "0d660b7e74f7ad63198682fe949343ed1fca31412ec8c11050ed6d9ff89fa0cf"
},
"downloads": -1,
"filename": "swe_rex-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "2fee1d4b068a747410f7c6943035db67",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 33580,
"upload_time": "2024-12-06T20:01:11",
"upload_time_iso_8601": "2024-12-06T20:01:11.944411Z",
"url": "https://files.pythonhosted.org/packages/39/e8/49fa140aa69c7a3765d0d97b97941db4d9949d6147dee15ecb30e083d603/swe_rex-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-06 20:01:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "swe-rex"
}