intro.mdx 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. ---
  2. sidebar_position: 1
  3. ---
  4. # 💻 OpenDevin
  5. OpenDevin is an **autonomous AI software engineer** capable of executing complex engineering tasks and collaborating actively with users on software development projects.
  6. This project is fully open-source, so you can use and modify it however you like.
  7. :::tip
  8. Explore the codebase of OpenDevin on [GitHub](https://github.com/OpenDevin/OpenDevin) or join one of our communities!
  9. <a href="https://github.com/OpenDevin/OpenDevin/graphs/contributors">
  10. <img
  11. src="https://img.shields.io/github/contributors/opendevin/opendevin?style=for-the-badge"
  12. alt="Contributors"
  13. />
  14. </a>
  15. <a href="https://github.com/OpenDevin/OpenDevin/network/members">
  16. <img
  17. src="https://img.shields.io/github/forks/opendevin/opendevin?style=for-the-badge"
  18. alt="Forks"
  19. />
  20. </a>
  21. <a href="https://github.com/OpenDevin/OpenDevin/stargazers">
  22. <img
  23. src="https://img.shields.io/github/stars/opendevin/opendevin?style=for-the-badge"
  24. alt="Stargazers"
  25. />
  26. </a>
  27. <a href="https://github.com/OpenDevin/OpenDevin/issues">
  28. <img
  29. src="https://img.shields.io/github/issues/opendevin/opendevin?style=for-the-badge"
  30. alt="Issues"
  31. />
  32. </a>
  33. <br></br>
  34. <a href="https://github.com/OpenDevin/OpenDevin/blob/main/LICENSE">
  35. <img
  36. src="https://img.shields.io/github/license/opendevin/opendevin?style=for-the-badge"
  37. alt="MIT License"
  38. />
  39. </a>
  40. <br></br>
  41. <a href="https://join.slack.com/t/opendevin/shared_invite/zt-2ggtwn3k5-PvAA2LUmqGHVZ~XzGq~ILw">
  42. <img
  43. src="https://img.shields.io/badge/Slack-Join%20Us-red?logo=slack&logoColor=white&style=for-the-badge"
  44. alt="Join our Slack community"
  45. />
  46. </a>
  47. <a href="https://discord.gg/ESHStjSjD4">
  48. <img
  49. src="https://img.shields.io/badge/Discord-Join%20Us-purple?logo=discord&logoColor=white&style=for-the-badge"
  50. alt="Join our Discord community"
  51. />
  52. </a>
  53. :::
  54. ## 🛠️ Getting Started
  55. The easiest way to run OpenDevin is inside a Docker container. It works best with the most recent version of Docker, `26.0.0`.
  56. You must be using Linux, Mac OS, or WSL on Windows.
  57. To start the app, run these commands, replacing `$(pwd)/workspace` with the directory you want OpenDevin to work with.
  58. ```
  59. # The directory you want OpenDevin to work with. It MUST be an absolute path!
  60. export WORKSPACE_BASE=$(pwd)/workspace
  61. ```
  62. :::warning
  63. OpenDevin runs bash commands within a Docker sandbox, so it should not affect your machine. But your workspace directory will be attached to that sandbox, and files in the directory may be modified or deleted.
  64. :::
  65. ```
  66. docker run -it \
  67. --pull=always \
  68. -e SANDBOX_USER_ID=$(id -u) \
  69. -e PERSIST_SANDBOX="true" \
  70. -e SSH_PASSWORD="make something up here" \
  71. -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
  72. -v $WORKSPACE_BASE:/opt/workspace_base \
  73. -v /var/run/docker.sock:/var/run/docker.sock \
  74. -p 3000:3000 \
  75. --add-host host.docker.internal:host-gateway \
  76. ghcr.io/opendevin/opendevin:0.5
  77. ```
  78. You'll find OpenDevin running at [http://localhost:3000](http://localhost:3000).
  79. :::tip
  80. If you want to use the **(unstable!)** bleeding edge, you can use `ghcr.io/opendevin/opendevin:main` as the image (last line).
  81. :::
  82. For the development workflow, see [Development.md](https://github.com/OpenDevin/OpenDevin/blob/main/Development.md).
  83. Are you having trouble? Check out our [Troubleshooting Guide](https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting).
  84. :::warning
  85. OpenDevin is currently a work in progress, but you can already run the alpha version to see the end-to-end system in action.
  86. :::
  87. [contributors-shield]: https://img.shields.io/github/contributors/opendevin/opendevin?style=for-the-badge
  88. [contributors-url]: https://github.com/OpenDevin/OpenDevin/graphs/contributors
  89. [forks-shield]: https://img.shields.io/github/forks/opendevin/opendevin?style=for-the-badge
  90. [forks-url]: https://github.com/OpenDevin/OpenDevin/network/members
  91. [stars-shield]: https://img.shields.io/github/stars/opendevin/opendevin?style=for-the-badge
  92. [stars-url]: https://github.com/OpenDevin/OpenDevin/stargazers
  93. [issues-shield]: https://img.shields.io/github/issues/opendevin/opendevin?style=for-the-badge
  94. [issues-url]: https://github.com/OpenDevin/OpenDevin/issues
  95. [license-shield]: https://img.shields.io/github/license/opendevin/opendevin?style=for-the-badge
  96. [license-url]: https://github.com/OpenDevin/OpenDevin/blob/main/LICENSE