Žiadny popis

tobitege f1882ba886 (test) Fix regressions in tests (#3579) 1 rok pred
.devcontainer 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 rok pred
.github f9088766e8 Allow setting of runtime container image (#3573) 1 rok pred
agenthub 6487175a31 refactored all relative paths to absolute paths (#3495) 1 rok pred
containers b63dec4b2e Add back docker caching, simplify docker builds (#3546) 1 rok pred
dev_config 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 rok pred
docs f9088766e8 Allow setting of runtime container image (#3573) 1 rok pred
evaluation f9088766e8 Allow setting of runtime container image (#3573) 1 rok pred
frontend eaf8e5c8a7 feat: parse new terminal output (#3582) 1 rok pred
openhands 6ce77e157b Fix pypi build (#3548) 1 rok pred
tests f1882ba886 (test) Fix regressions in tests (#3579) 1 rok pred
.dockerignore 516c9bf1e0 Revamp docker build process (#1121) 1 rok pred
.gitattributes e32d95cb1a lint: simplify hooks already covered by Ruff (#1204) 1 rok pred
.gitignore 8f0f764a85 fix: CI docker image push (#3476) 1 rok pred
CODE_OF_CONDUCT.md 46edb4b15b chore: Release 0.8.0 (#2919) 1 rok pred
CONTRIBUTING.md 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 rok pred
CREDITS.md 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 rok pred
Development.md 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 rok pred
ISSUE_TRIAGE.md 214f728d32 docs: Add doc on how issues are triaged (#2928) 1 rok pred
LICENSE 39add27f15 Create MIT LICENSE (#8) 1 rok pred
MANIFEST.in 19bc06198d exclude Python cache files/folders from sdist to avoid permission errors at runtime (#3381) 1 rok pred
Makefile 7ef5a2d1ff (fix) Rename last opendevin occurences (#3490) 1 rok pred
README.md 36d1745b5e Release 0.9.0 (#3565) 1 rok pred
config.template.toml f9088766e8 Allow setting of runtime container image (#3573) 1 rok pred
poetry.lock 6ce77e157b Fix pypi build (#3548) 1 rok pred
pydoc-markdown.yml cd58194d2a docs(docs): start implementing docs website (#1372) 1 rok pred
pyproject.toml 6ce77e157b Fix pypi build (#3548) 1 rok pred
pytest.ini b6ff201780 Refactor integration test framework and relieve the pain of regeneration (#1818) 1 rok pred

README.md

Contributors Forks Stargazers Issues MIT License Credits
Join our Slack community Join our Discord community CodeCov

Logo

OpenHands: Code Less, Make More

Check out the documentation Paper on Arxiv
Evaluation Benchmark

Welcome to OpenHands, a platform for autonomous software engineers, powered by AI and LLMs (previously called "OpenDevin").

OpenHands agents collaborate with human developers to write code, fix bugs, and ship features.

App screenshot

⚡ Getting Started

OpenHands works best with Docker version 26.0.0+ (Docker Desktop 4.31.0+). You must be using Linux, Mac OS, or WSL on Windows.

To start OpenHands in a docker container, run the following commands in your terminal:

[!WARNING] When you run the following command, files in ./workspace may be modified or deleted.

WORKSPACE_BASE=$(pwd)/workspace
docker run -it \
    --pull=always \
    -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.9

[!NOTE] This command pulls the 0.9 tag, which represents the most recent stable release of OpenHands. You have other options as well:

  • For a specific release version, use ghcr.io/all-hands-ai/openhands:<OpenHands_version> (replace with the desired version number).
  • For the most up-to-date development version, use ghcr.io/all-hands-ai/openhands:main. This version may be (unstable!) and is recommended for testing or development purposes only.
  • Choose the tag that best suits your needs based on stability requirements and desired features.

You'll find OpenHands running at http://localhost:3000 with access to ./workspace. To have OpenHands operate on your code, place it in ./workspace. OpenHands will only have access to this workspace folder. The rest of your system will not be affected as it runs in a secured docker sandbox.

Upon opening OpenHands, you must select the appropriate Model and enter the API Key within the settings that should pop up automatically. These can be set at any time by selecting the Settings button (gear icon) in the UI. If the required Model does not exist in the list, you can manually enter it in the text box.

For the development workflow, see Development.md.

Are you having trouble? Check out our Troubleshooting Guide.

🚀 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 (like ollama and Anthropic's Claude), 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{opendevin,
      title={{OpenDevin: 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},
}