/loopgpt-playground

Playground project for LoopGPT

Primary LanguagePython

Experiments with Utilises LoopGPT

see LoopGPT here: https://github.com/farizrahman4u/loopgpt

Usage

  1. Clone the repo
git clone https://github.com/prom3theu5/loopgpt
  1. Copy the .env.template file to '.env'
cp .env.template .env
  1. Add your OpenAI api key to .env to set the env variable 'OPENAI_API_KEY'

  2. Ensure shell scripts are executable

chmod a+x ./*.sh
  1. Build the container (Requires podman)
./build.sh

You can now choose to either run the cli or the agent. The agent lets you configure goals and description to run, and allows workspace to be saved etc. Edit agent.py to set the description and goals.

Start with agent with ./run-agent.sh or run the pure cli version using ./run-cli.sh

Warning

The only directory the agents have access to is the current git directory. This is massively better than running it freely on your machine, considering it can generate and execute code at will!