A minimal self-replicating agent based on GPT-3.5/4.
export OPENAI_API_KEY=[YOUR-API-KEY]
pip install -r requirements.txt
python darwingpt.py
This thing produces a lot of non-working code / errors with GPT-3.5-Turbo but still replicates exponentially, so be careful.