Skip to content

Commit 24b486b

Browse files
authored
Merge pull request #1 from BeneElohim/unitygrid-aios-integration
Unitygrid aios integration
2 parents 29258cd + 3ad2220 commit 24b486b

3 files changed

Lines changed: 30 additions & 151 deletions

File tree

README.md

Lines changed: 2 additions & 151 deletions
Original file line numberDiff line numberDiff line change
@@ -1,152 +1,3 @@
1-
<a name="readme-top"></a>
1+
# UnityGrid AIOS Code Creator
22

3-
<!--
4-
*** Thanks for checking out the Best-README-Template. If you have a suggestion
5-
*** that would make this better, please fork the repo and create a pull request
6-
*** or simply open an issue with the tag "enhancement".
7-
*** Don't forget to give the project a star!
8-
*** Thanks again! Now go create something AMAZING! :D
9-
-->
10-
11-
<!-- PROJECT SHIELDS -->
12-
<!--
13-
*** I'm using markdown "reference style" links for readability.
14-
*** Reference links are enclosed in brackets [ ] instead of parentheses ( ).
15-
*** See the bottom of this document for the declaration of the reference variables
16-
*** for contributors-url, forks-url, etc. This is an optional, concise syntax you may use.
17-
*** https://www.markdownguide.org/basic-syntax/#reference-style-links
18-
-->
19-
20-
<div align="center">
21-
<a href="https://github.com/OpenDevin/OpenDevin/graphs/contributors"><img src="https://img.shields.io/github/contributors/opendevin/opendevin?style=for-the-badge&color=blue" alt="Contributors"></a>
22-
<a href="https://github.com/OpenDevin/OpenDevin/network/members"><img src="https://img.shields.io/github/forks/opendevin/opendevin?style=for-the-badge&color=blue" alt="Forks"></a>
23-
<a href="https://github.com/OpenDevin/OpenDevin/stargazers"><img src="https://img.shields.io/github/stars/opendevin/opendevin?style=for-the-badge&color=blue" alt="Stargazers"></a>
24-
<a href="https://github.com/OpenDevin/OpenDevin/issues"><img src="https://img.shields.io/github/issues/opendevin/opendevin?style=for-the-badge&color=blue" alt="Issues"></a>
25-
<a href="https://github.com/OpenDevin/OpenDevin/blob/main/LICENSE"><img src="https://img.shields.io/github/license/opendevin/opendevin?style=for-the-badge&color=blue" alt="MIT License"></a>
26-
<br/>
27-
<a href="https://join.slack.com/t/opendevin/shared_invite/zt-2i1iqdag6-bVmvamiPA9EZUu7oCO6KhA"><img src="https://img.shields.io/badge/Slack-Join%20Us-red?logo=slack&logoColor=white&style=for-the-badge" alt="Join our Slack community"></a>
28-
<a href="https://discord.gg/ESHStjSjD4"><img src="https://img.shields.io/badge/Discord-Join%20Us-purple?logo=discord&logoColor=white&style=for-the-badge" alt="Join our Discord community"></a>
29-
<a href="https://codecov.io/github/opendevin/opendevin?branch=main"><img alt="CodeCov" src="https://img.shields.io/codecov/c/github/opendevin/opendevin?style=for-the-badge"></a>
30-
</div>
31-
32-
<!-- PROJECT LOGO -->
33-
<div align="center">
34-
<img src="./docs/static/img/logo.png" alt="Logo" width="200" height="200">
35-
<h1 align="center">OpenDevin: Code Less, Make More</h1>
36-
<a href="https://docs.all-hands.dev/modules/usage/intro"><img src="https://img.shields.io/badge/Documentation-OpenDevin-blue?logo=googledocs&logoColor=white&style=for-the-badge" alt="Check out the documentation"></a>
37-
<a href="https://arxiv.org/abs/2407.16741"><img src="https://img.shields.io/badge/Paper-%20on%20Arxiv-red?logo=arxiv&style=for-the-badge" alt="Paper on Arxiv"></a>
38-
<br/>
39-
<a href="https://huggingface.co/spaces/OpenDevin/evaluation"><img src="https://img.shields.io/badge/Evaluation-Benchmark%20on%20HF%20Space-green?logo=huggingface&style=for-the-badge" alt="Evaluation Benchmark"></a>
40-
</div>
41-
<hr>
42-
43-
Welcome to OpenDevin, a platform for autonomous software engineers, powered by AI and LLMs.
44-
45-
OpenDevin agents collaborate with human developers to write code, fix bugs, and ship features.
46-
47-
![App screenshot](./docs/static/img/screenshot.png)
48-
49-
## ⚡ Getting Started
50-
OpenDevin works best with Docker version 26.0.0+ (Docker Desktop 4.31.0+).
51-
You must be using Linux, Mac OS, or WSL on Windows.
52-
53-
To start OpenDevin in a docker container, run the following commands in your terminal:
54-
55-
> [!WARNING]
56-
> When you run the following command, files in `./workspace` may be modified or deleted.
57-
58-
```bash
59-
WORKSPACE_BASE=$(pwd)/workspace
60-
docker run -it \
61-
--pull=always \
62-
-e SANDBOX_USER_ID=$(id -u) \
63-
-e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE \
64-
-v $WORKSPACE_BASE:/opt/workspace_base \
65-
-v /var/run/docker.sock:/var/run/docker.sock \
66-
-p 3000:3000 \
67-
--add-host host.docker.internal:host-gateway \
68-
--name opendevin-app-$(date +%Y%m%d%H%M%S) \
69-
ghcr.io/opendevin/opendevin
70-
```
71-
72-
> [!NOTE]
73-
> By default, this command pulls the `latest` tag, which represents the most recent release of OpenDevin. You have other options as well:
74-
> - For a specific release version, use `ghcr.io/opendevin/opendevin:<OpenDevin_version>` (replace <OpenDevin_version> with the desired version number).
75-
> - For the most up-to-date development version, use `ghcr.io/opendevin/opendevin:main`. This version may be **(unstable!)** and is recommended for testing or development purposes only.
76-
>
77-
> Choose the tag that best suits your needs based on stability requirements and desired features.
78-
79-
You'll find OpenDevin running at [http://localhost:3000](http://localhost:3000) with access to `./workspace`. To have OpenDevin operate on your code, place it in `./workspace`.
80-
OpenDevin 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.
81-
82-
Upon opening OpenDevin, 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
83-
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.
84-
85-
For the development workflow, see [Development.md](https://github.com/OpenDevin/OpenDevin/blob/main/Development.md).
86-
87-
Are you having trouble? Check out our [Troubleshooting Guide](https://docs.all-hands.dev/modules/usage/troubleshooting).
88-
89-
## 🚀 Documentation
90-
91-
To learn more about the project, and for tips on using OpenDevin,
92-
**check out our [documentation](https://docs.all-hands.dev/modules/usage/intro)**.
93-
94-
There you'll find resources on how to use different LLM providers (like ollama and Anthropic's Claude),
95-
troubleshooting resources, and advanced configuration options.
96-
97-
## 🤝 How to Contribute
98-
99-
OpenDevin is a community-driven project, and we welcome contributions from everyone.
100-
Whether you're a developer, a researcher, or simply enthusiastic about advancing the field of
101-
software engineering with AI, there are many ways to get involved:
102-
103-
- **Code Contributions:** Help us develop new agents, core functionality, the frontend and other interfaces, or sandboxing solutions.
104-
- **Research and Evaluation:** Contribute to our understanding of LLMs in software engineering, participate in evaluating the models, or suggest improvements.
105-
- **Feedback and Testing:** Use the OpenDevin toolset, report bugs, suggest features, or provide feedback on usability.
106-
107-
For details, please check [CONTRIBUTING.md](./CONTRIBUTING.md).
108-
109-
## 🤖 Join Our Community
110-
111-
Whether you're a developer, a researcher, or simply enthusiastic about OpenDevin, we'd love to have you in our community.
112-
Let's make software engineering better together!
113-
114-
- [Slack workspace](https://join.slack.com/t/opendevin/shared_invite/zt-2jsrl32uf-fTeeFjNyNYxqSZt5NPY3fA) - Here we talk about research, architecture, and future development.
115-
- [Discord server](https://discord.gg/ESHStjSjD4) - This is a community-run server for general discussion, questions, and feedback.
116-
117-
## 📈 Progress
118-
119-
<p align="center">
120-
<a href="https://star-history.com/#OpenDevin/OpenDevin&Date">
121-
<img src="https://api.star-history.com/svg?repos=OpenDevin/OpenDevin&type=Date" width="500" alt="Star History Chart">
122-
</a>
123-
</p>
124-
125-
## 📜 License
126-
127-
Distributed under the MIT License. See [`LICENSE`](./LICENSE) for more information.
128-
129-
[contributors-shield]: https://img.shields.io/github/contributors/opendevin/opendevin?style=for-the-badge
130-
[contributors-url]: https://github.com/OpenDevin/OpenDevin/graphs/contributors
131-
[forks-shield]: https://img.shields.io/github/forks/opendevin/opendevin?style=for-the-badge
132-
[forks-url]: https://github.com/OpenDevin/OpenDevin/network/members
133-
[stars-shield]: https://img.shields.io/github/stars/opendevin/opendevin?style=for-the-badge
134-
[stars-url]: https://github.com/OpenDevin/OpenDevin/stargazers
135-
[issues-shield]: https://img.shields.io/github/issues/opendevin/opendevin?style=for-the-badge
136-
[issues-url]: https://github.com/OpenDevin/OpenDevin/issues
137-
[license-shield]: https://img.shields.io/github/license/opendevin/opendevin?style=for-the-badge
138-
[license-url]: https://github.com/OpenDevin/OpenDevin/blob/main/LICENSE
139-
140-
## 📚 Cite
141-
142-
```
143-
@misc{opendevin,
144-
title={{OpenDevin: An Open Platform for AI Software Developers as Generalist Agents}},
145-
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},
146-
year={2024},
147-
eprint={2407.16741},
148-
archivePrefix={arXiv},
149-
primaryClass={cs.SE},
150-
url={https://arxiv.org/abs/2407.16741},
151-
}
152-
```
3+
Integrating the UnityGrid Code Creator into the UnityGrid AIOS for seamless code generation and customization.

aios-integration.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
2+
// Integrate deployment automation with Code Creator
3+
import { deployUnityGridAIOS } from '../unitygrid-aios-click-deploy/deploy';
4+
5+
class UnityGridCodeCreatorIntegration {
6+
constructor() {
7+
this.codeCreator = new UnityGridCodeCreator();
8+
}
9+
10+
generateAndDeployCode() {
11+
// Generate code using the UnityGrid Code Creator
12+
const generatedCode = this.codeCreator.generateCode();
13+
14+
// Deploy the generated code to the AIOS infrastructure
15+
deployUnityGridAIOS(generatedCode);
16+
}
17+
}
18+
19+
// Expose the integration class for use in the AIOS
20+
export default UnityGridCodeCreatorIntegration;

click-deploy.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
import UnityGridCodeCreatorIntegration from './aios-integration';
3+
4+
// Expose click-to-deploy functionality
5+
export function clickToDeployUnityGridAIOS() {
6+
const integration = new UnityGridCodeCreatorIntegration();
7+
integration.generateAndDeployCode();
8+
}

0 commit comments

Comments
 (0)