jawerty / AutoStartup

A LLama agent that builds startup ideas from your intutions (generates react codebases)
56 stars 9 forks source link

AutoStartup

Coding was livestreamed here -> https://youtube.com/live/ZCyxDRSw0wE

What is this?

AutoStartup is a Llama 2 autonomous agent built around my previous https://github.com/jawerty/10x-react-engineer project. It divises a startup idea, business plans and generates React codebases all based on a simple user input "intuition". I built this on a live stream on August 16th, 2023 in 6 and a half hours. Have been challenging myself to build more and have fun doing it!

How it works

First, AutoStartup takes in an "intuition" from the user. An example being "I think a website for dogsitters would be cool". Then the Agent divises a business idea from this as well as a business plan. It will iterate on the business plan with "Criticisms" (similar to AutoGPT). After each criticism it'll adjust the business plan and "pitch" to an investor prompt. The investor will either approve or disapprove of the final plan. After this final approval it will generate the code base and perform "pivots" based on user feedback

1) User intutiton (e.g. "I think a website for dogsitters would be cool") 2) Idea Loop

Screen Shot 2023-08-17 at 2 22 25 AM

Features

How to use it

Please understand you need to have a quality GPU that can load the LLama 2 13b parameter chat model. Hpwever, I built this all on Google Colab and think this is a great way to get around the costs of AI Agents + GPT-4.

Screen Shot 2023-08-15 at 2 26 35 AM

Run from source

If you want to run from source run these commands. (After getting access to llama 2 and logging into huggingface-cli)

Install

$ pip3 install -r requirements.txt

Run the main loop

$ python3 main.py

Better option for quick testing

Here's a Google Colab with the code for you to play with

TODO