Open the SuperAGI GitHub repository https://github.com/TransformerOptimus/SuperAGI/ and click on Code > Codespaces > Create new codespace
Navigate to the directory and create a copy of config_template.yaml and name it config.yaml.
Open up the terminal at the bottom of the codespace and run the following command: docker compose up --build and wait for the build to complete.
Go to the 'Ports' tab, copy the 8001 and 3000 public addresses. Replace the localhost link in the docker-compose.yaml file with the 8001 public address, and paste the 3000 public address as a string into the main.py file.
Make sure to remove the trailing forward slash from the end of URL in both places.
Run the docker compose up --build command again.
Once the build is complete, change the visibility of both ports to public and open the 3000 public URL in a new tab.