Nessuna descrizione

Xingyao Wang 2587220b12 fix(llm): fallback when model is out of function calling supported list (#4617) 1 anno fa
.devcontainer 152f99c64f Chore Bump python version (#3545) 1 anno fa
.github 2e50a5bef5 Document various runtimes (#4536) 1 anno fa
containers 2e50a5bef5 Document various runtimes (#4536) 1 anno fa
dev_config e6847e9e61 Move agenthub within openhands (#4130) 1 anno fa
docs 866ba6e3b2 Fix issue #4629: [Bug]: Replace claude-3-5-sonnet-20240620 with claude-3-5-sonnet-20241022 (#4631) 1 anno fa
evaluation 6d19c93d19 [eval] add evaluation workflow (#4489) 1 anno fa
frontend 87bc35d2c8 feat(frontend): Add a better auth flow and UI handling (#4603) 1 anno fa
openhands 2587220b12 fix(llm): fallback when model is out of function calling supported list (#4617) 1 anno fa
tests 2587220b12 fix(llm): fallback when model is out of function calling supported list (#4617) 1 anno fa
.dockerignore 516c9bf1e0 Revamp docker build process (#1121) 1 anno fa
.gitattributes e32d95cb1a lint: simplify hooks already covered by Ruff (#1204) 1 anno fa
.gitignore 6471d0f94d .gitignore: ignore all `node_modules` folders (#4491) 1 anno fa
.openhands_instructions 52e0630af8 Update .openhands_instructions with linting (#4165) 1 anno fa
CODE_OF_CONDUCT.md 46edb4b15b chore: Release 0.8.0 (#2919) 1 anno fa
CONTRIBUTING.md fd6facbf03 update contributing docs (#4438) 1 anno fa
CREDITS.md 583b54c854 Fix grammar, typos, and consistency in CREDITS.md (#4229) 1 anno fa
Development.md 5ba7bc6be1 Mention `build-essential` dependency for ubuntu in dev doc (#4511) 1 anno fa
ISSUE_TRIAGE.md 214f728d32 docs: Add doc on how issues are triaged (#2928) 1 anno fa
LICENSE 39add27f15 Create MIT LICENSE (#8) 1 anno fa
MANIFEST.in 19bc06198d exclude Python cache files/folders from sdist to avoid permission errors at runtime (#3381) 1 anno fa
Makefile fdb385ab93 Simplify makefile (#4591) 1 anno fa
README.md 2e50a5bef5 Document various runtimes (#4536) 1 anno fa
build.sh 568c8ce993 Runtime build fixes for OpenHands as a python library (#3989) 1 anno fa
compose.yml f7ebc1cf1f chore: Add docker files for developing inside container. (#3911) 1 anno fa
config.template.toml da548d308c [agent] LLM-based editing (#3985) 1 anno fa
poetry.lock 3ae4bc0f8e chore: bump the litellm version (#4632) 1 anno fa
pydoc-markdown.yml cd58194d2a docs(docs): start implementing docs website (#1372) 1 anno fa
pyproject.toml 3ae4bc0f8e chore: bump the litellm version (#4632) 1 anno fa
pytest.ini 554636cf2a (fix) Fix runtime (RT) tests and split tests in 2 actions (openhands/root) (#3791) 1 anno fa

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.

docker pull docker.all-hands.dev/all-hands-ai/runtime:0.11-nikolaik

docker run -it --rm --pull=always \
    -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.11-nikolaik \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -p 3000:3000 \
    --add-host host.docker.internal:host-gateway \
    --name openhands-app \
    docker.all-hands.dev/all-hands-ai/openhands:0.11

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

You'll need a model provider and API key. Anthropic's Claude 3.5 Sonnet (anthropic/claude-3-5-sonnet-20241022) works best, but you have many options.


You can also connect OpenHands to your local filesystem, run OpenHands in a scriptable headless mode, or interact with it via a friendly 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},
}