Fără Descriere

Xingyao Wang 126bf316bc fix(docker): Dockerfile failed to build on RemoteRuntime (#4481) 1 an în urmă
.devcontainer 152f99c64f Chore Bump python version (#3545) 1 an în urmă
.github 56fe905241 reduce dependabot frequency (#4305) 1 an în urmă
containers 642e01b673 fix(frontend): Update build directory and referenced paths (#4461) 1 an în urmă
dev_config e6847e9e61 Move agenthub within openhands (#4130) 1 an în urmă
docs e6a5e39047 Update docs associated with new UI (#4469) 1 an în urmă
evaluation 91308ba4dc feat: clean-up retries RemoteRuntime & add FatalErrorObservation (#4485) 1 an în urmă
frontend cf793582a7 [ALL-543] feat(frontend): Setup auth route, replace loading spinner, add new route (#4448) 1 an în urmă
openhands 126bf316bc fix(docker): Dockerfile failed to build on RemoteRuntime (#4481) 1 an în urmă
tests b660aa99b8 Fix issue #4480: '[Bug]: Being blocked by cloudflare results in futile retries (#4482) 1 an în urmă
.dockerignore 516c9bf1e0 Revamp docker build process (#1121) 1 an în urmă
.gitattributes e32d95cb1a lint: simplify hooks already covered by Ruff (#1204) 1 an în urmă
.gitignore bfdd7fd620 feat(frontend): UI overhaul (#3604) 1 an în urmă
.openhands_instructions 52e0630af8 Update .openhands_instructions with linting (#4165) 1 an în urmă
CODE_OF_CONDUCT.md 46edb4b15b chore: Release 0.8.0 (#2919) 1 an în urmă
CONTRIBUTING.md fd6facbf03 update contributing docs (#4438) 1 an în urmă
CREDITS.md 583b54c854 Fix grammar, typos, and consistency in CREDITS.md (#4229) 1 an în urmă
Development.md 84a578ad20 [test] remove integration tests from CI & move them into evaluation (#4447) 1 an în urmă
ISSUE_TRIAGE.md 214f728d32 docs: Add doc on how issues are triaged (#2928) 1 an în urmă
LICENSE 39add27f15 Create MIT LICENSE (#8) 2 ani în urmă
MANIFEST.in 19bc06198d exclude Python cache files/folders from sdist to avoid permission errors at runtime (#3381) 1 an în urmă
Makefile 154854bbe3 run in dev mode in makefile (#4452) 1 an în urmă
README.md feee509de7 Update leftover versions (#4468) 1 an în urmă
build.sh 568c8ce993 Runtime build fixes for OpenHands as a python library (#3989) 1 an în urmă
compose.yml f7ebc1cf1f chore: Add docker files for developing inside container. (#3911) 1 an în urmă
config.template.toml 9566ca4a3c Implement basic modal sandbox support (#4133) 1 an în urmă
poetry.lock 1ea3087eec chore(deps): bump modal from 0.64.182 to 0.64.192 (#4460) 1 an în urmă
pydoc-markdown.yml cd58194d2a docs(docs): start implementing docs website (#1372) 1 an în urmă
pyproject.toml 2e09b4f95e chore(deps-dev): bump torch from 2.2.2 to 2.5.0 (#4459) 1 an în urmă
pytest.ini 554636cf2a (fix) Fix runtime (RT) tests and split tests in 2 actions (openhands/root) (#3791) 1 an în urmă

README.md

Logo

OpenHands: Code Less, Make More

Contributors Stargazers CodeCov MIT License
Join our Slack community Join our Discord community Credits
Check out the documentation Paper on Arxiv Evaluation Benchmark Score

Welcome to OpenHands (formerly OpenDevin), a platform for software development agents powered by AI.

OpenHands agents can do anything a human developer can: modify code, run commands, browse the web, call APIs, and yes—even copy code snippets from StackOverflow.

Learn more at docs.all-hands.dev, or jump to the Quick Start.

App screenshot

⚡ Quick Start

The easiest way to run OpenHands is in Docker. You can change WORKSPACE_BASE below to point OpenHands to existing code that you'd like to modify.

See the Installation guide for system requirements and more information.

export WORKSPACE_BASE=$(pwd)/workspace

docker pull ghcr.io/all-hands-ai/runtime:0.10-nikolaik

docker run -it --pull=always \
    -e SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.10-nikolaik \
    -e SANDBOX_USER_ID=$(id -u) \
    -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
    -v $WORKSPACE_BASE:/opt/workspace_base \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 3000:3000 \
    --add-host host.docker.internal:host-gateway \
    --name openhands-app-$(date +%Y%m%d%H%M%S) \
    ghcr.io/all-hands-ai/openhands:0.10

You'll find OpenHands running at http://localhost:3000!

You'll need a model provider and API key. One option that works well: Claude 3.5 Sonnet, but you have many options.


You can also run OpenHands in a scriptable headless mode, or as an interactive CLI.

Visit Installation for more information and setup instructions.

If you want to modify the OpenHands source code, check out Development.md.

Having issues? The Troubleshooting Guide can help.

📖 Documentation

To learn more about the project, and for tips on using OpenHands, check out our documentation.

There you'll find resources on how to use different LLM providers, troubleshooting resources, and advanced configuration options.

🤝 How to Contribute

OpenHands is a community-driven project, and we welcome contributions from everyone. Whether you're a developer, a researcher, or simply enthusiastic about advancing the field of software engineering with AI, there are many ways to get involved:

  • Code Contributions: Help us develop new agents, core functionality, the frontend and other interfaces, or sandboxing solutions.
  • Research and Evaluation: Contribute to our understanding of LLMs in software engineering, participate in evaluating the models, or suggest improvements.
  • Feedback and Testing: Use the OpenHands toolset, report bugs, suggest features, or provide feedback on usability.

For details, please check CONTRIBUTING.md.

🤖 Join Our Community

Whether you're a developer, a researcher, or simply enthusiastic about OpenHands, we'd love to have you in our community. Let's make software engineering better together!

  • Slack workspace - Here we talk about research, architecture, and future development.
  • Discord server - This is a community-run server for general discussion, questions, and feedback.

📈 Progress

Star History Chart

📜 License

Distributed under the MIT License. See LICENSE for more information.

🙏 Acknowledgements

OpenHands is built by a large number of contributors, and every contribution is greatly appreciated! We also build upon other open source projects, and we are deeply thankful for their work.

For a list of open source projects and licenses used in OpenHands, please see our CREDITS.md file.

📚 Cite

@misc{openhands,
      title={{OpenHands: An Open Platform for AI Software Developers as Generalist Agents}},
      author={Xingyao Wang and Boxuan Li and Yufan Song and Frank F. Xu and Xiangru Tang and Mingchen Zhuge and Jiayi Pan and Yueqi Song and Bowen Li and Jaskirat Singh and Hoang H. Tran and Fuqiang Li and Ren Ma and Mingzhang Zheng and Bill Qian and Yanjun Shao and Niklas Muennighoff and Yizhe Zhang and Binyuan Hui and Junyang Lin and Robert Brennan and Hao Peng and Heng Ji and Graham Neubig},
      year={2024},
      eprint={2407.16741},
      archivePrefix={arXiv},
      primaryClass={cs.SE},
      url={https://arxiv.org/abs/2407.16741},
}