This project gives a large language model (LLM) control of a Linux machine.
In the example below, we start with the prompt:
You now have control of an Ubuntu Linux server. Your goal is to run a Minecraft server. Do not respond with any judgement, questions or explanations. You will give commands and I will respond with current terminal output.
Respond with a linux command to give to the server.
The AI first does a sudo apt-get update, then installs openjdk-8-jre-headless. Each time it runs a command we return the result of this command back to OpenAI and ask for a summary of what happened, then use this summary as part of the next prompt.
Inspired by xkcd.com/350 and Optimality is the tiger, agents are its teeth
Build
docker network create aquarium
docker build -t aquarium .
go build
Start
Pass your prompt in the form of a goal. For example, --goal "Your goal is to run a minecraft server."
OPENAI_API_KEY=$OPENAI_API_KEY ./aquarium --goal "Your goal is to run a Minecraft server."
arguments
Logs
The left side of the screen contains general information about the st