intro.mdx 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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.
  56. To start the app, run these commands, replacing `$(pwd)/workspace` with the path to the code you want OpenDevin to work with.
  57. ```
  58. # Your OpenAI API key, or any other LLM API key
  59. export LLM_API_KEY="sk-..."
  60. ```
  61. ```
  62. # The directory you want OpenDevin to modify.
  63. # MUST be an absolute path!
  64. export WORKSPACE_BASE=$(pwd)/workspace
  65. ```
  66. :::warning
  67. 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.
  68. :::
  69. ```
  70. docker run \
  71. -e LLM_API_KEY \
  72. -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
  73. -v $WORKSPACE_BASE:/opt/workspace_base \
  74. -v /var/run/docker.sock:/var/run/docker.sock \
  75. -p 3000:3000 \
  76. --add-host host.docker.internal=host-gateway \
  77. ghcr.io/opendevin/opendevin:0.4.0
  78. ```
  79. You'll find opendevin running at [http://localhost:3000](http://localhost:3000).
  80. :::tip
  81. If you want to use the **(unstable!)** bleeding edge, you can use `ghcr.io/opendevin/opendevin:main` as the image (last line).
  82. :::
  83. See Development.md for instructions on running OpenDevin without Docker.
  84. Having trouble? Check out our Troubleshooting Guide.
  85. :::warning
  86. OpenDevin is currently a work in progress, but you can already run the alpha version to see the end-to-end system in action.
  87. :::
  88. [contributors-shield]: https://img.shields.io/github/contributors/opendevin/opendevin?style=for-the-badge
  89. [contributors-url]: https://github.com/OpenDevin/OpenDevin/graphs/contributors
  90. [forks-shield]: https://img.shields.io/github/forks/opendevin/opendevin?style=for-the-badge
  91. [forks-url]: https://github.com/OpenDevin/OpenDevin/network/members
  92. [stars-shield]: https://img.shields.io/github/stars/opendevin/opendevin?style=for-the-badge
  93. [stars-url]: https://github.com/OpenDevin/OpenDevin/stargazers
  94. [issues-shield]: https://img.shields.io/github/issues/opendevin/opendevin?style=for-the-badge
  95. [issues-url]: https://github.com/OpenDevin/OpenDevin/issues
  96. [license-shield]: https://img.shields.io/github/license/opendevin/opendevin?style=for-the-badge
  97. [license-url]: https://github.com/OpenDevin/OpenDevin/blob/main/LICENSE