Ei kuvausta

Graham Neubig 52e0630af8 Update .openhands_instructions with linting (#4165) 1 vuosi sitten
.devcontainer 243cb492aa Run pre-commit on all files (#3884) 1 vuosi sitten
.github 71adfeebab Update PR Template for better release notes (#4126) 1 vuosi sitten
agenthub e582806004 Vision and prompt caching fixes (#4014) 1 vuosi sitten
containers 8059e8e298 make runtime url configurable (#4093) 1 vuosi sitten
dev_config 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 vuosi sitten
docs 04643d6f3c Make Claude Sonnet 3.5 the recommended model and update docs accordingly (#4151) 1 vuosi sitten
evaluation 53a015f718 fix: make llm_completions optional to fix `eval_infer.py` (#4148) 1 vuosi sitten
frontend 1d6633164f chore(deps-dev): bump @types/node from 22.7.3 to 22.7.4 in /frontend (#4118) 1 vuosi sitten
openhands 178dbfaf4a Run pre-commit (#4163) 1 vuosi sitten
tests 178dbfaf4a Run pre-commit (#4163) 1 vuosi sitten
.dockerignore 516c9bf1e0 Revamp docker build process (#1121) 1 vuosi sitten
.gitattributes e32d95cb1a lint: simplify hooks already covered by Ruff (#1204) 1 vuosi sitten
.gitignore 47774e60b0 chore: remove deprecated dockerfile (#4079) 1 vuosi sitten
.openhands_instructions 52e0630af8 Update .openhands_instructions with linting (#4165) 1 vuosi sitten
CODE_OF_CONDUCT.md 46edb4b15b chore: Release 0.8.0 (#2919) 1 vuosi sitten
CONTRIBUTING.md 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 vuosi sitten
CREDITS.md 01ae22ef57 Rename OpenDevin to OpenHands (#3472) 1 vuosi sitten
Development.md f7ebc1cf1f chore: Add docker files for developing inside container. (#3911) 1 vuosi sitten
ISSUE_TRIAGE.md 214f728d32 docs: Add doc on how issues are triaged (#2928) 1 vuosi sitten
LICENSE 39add27f15 Create MIT LICENSE (#8) 1 vuosi sitten
MANIFEST.in 19bc06198d exclude Python cache files/folders from sdist to avoid permission errors at runtime (#3381) 1 vuosi sitten
Makefile 01317138e2 Fix: uvicorn reloading when python files in workspace change, & started section for debugging instructions for developers (#4041) 1 vuosi sitten
README.md c7fe39998c Update README to decrease unsuccessful drivebys (#4091) 1 vuosi sitten
compose.yml f7ebc1cf1f chore: Add docker files for developing inside container. (#3911) 1 vuosi sitten
config.template.toml e582806004 Vision and prompt caching fixes (#4014) 1 vuosi sitten
poetry.lock 926af7f5fd chore(deps): bump boto3 from 1.35.29 to 1.35.30 (#4144) 1 vuosi sitten
pydoc-markdown.yml cd58194d2a docs(docs): start implementing docs website (#1372) 1 vuosi sitten
pyproject.toml 178dbfaf4a Run pre-commit (#4163) 1 vuosi sitten
pytest.ini 554636cf2a (fix) Fix runtime (RT) tests and split tests in 2 actions (openhands/root) (#3791) 1 vuosi sitten

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 Getting Started guide for system requirements and more information.

export WORKSPACE_BASE=$(pwd)/workspace

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

docker run -it --pull=always \
    -e SANDBOX_RUNTIME_CONTAINER_IMAGE=ghcr.io/all-hands-ai/runtime:0.9-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.9

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 Getting Started 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{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},
}