Inspiration
We all love coding.... right? But sometimes improving and maintain all of your side projects can be overwhelming. That's why we built HyperDev: a 100% local AI agent that improves your code 24/7!
Whenever you've activated a given code folder, HyperDev will work tireless to improve the codebase- tracking all of its improvements on GIT. Since it's all running local, there's no API costs and it's completely free!
What it does
HyperDev is a command-line tool that can do the following:
- create, read, update, and delete files/folders
- generate code
- execute code
- recursively improves your codebase
How we built it
We used Langchain and Python to build Hyperdev. Langchain's custom agent and tooling frameworks were used for the AI-side of things and then adding in custom tools that generated and ran code, as well as ran CRUD operations on files/folders helped solidify Hyperdev.
Challenges we ran into
This was the first time we'd used LLM's to generate terminal commands and it took time to do so, but with some quality prompt engineering we were able to make it work. Additionally, we ran into many errors with Langchain, as their agent framework was quite limited for our purposes. However, we were able to overcome these hurdles and build our idea.
Accomplishments that we're proud of
- executing terminal commands with LLM's
- getting everything to work locally instead of relying on OpenAI
- using HyperDev to improve the codebases for our own personal projects!
What we learned
- we learned how to prompt engineering LLM's to execute terminal commands
- openai doesn't always need to be relied upon as local models are quite sophisticated
- hyperdev can actually help improve our codebases
What's next for HyperDev
HyperDev builds on top of Otherwise- a native application for hosting open-source models on personal hardware. In the future, we plan to integrate HyperDev into Otherwise and shape the future of coding systems and IDEs. As we slowly transition from completely humans coding to completely AIs coding, HyperDev will play an important role in oversight of that transition.
Built With
- javascript
- langchain
- llama
- mistral
- openai
- python
Log in or sign up for Devpost to join the conversation.