Skip to content

Add browser-based console to a containerized Auto-GPT (GPT-4 showcase).

Notifications You must be signed in to change notification settings

claytondukes/autogpt-docker

Repository files navigation

Auto-GPT on Docker with Web Access

Update:

Unfortunately, the Auto-GPT project is moving so fast, with so many changes every day, that I can't keep up with this.

The changes being made aren't small, they are major, e.g.:

  • restructuring directories
  • moving file locations
  • rewriting entire sections
  • adding selenium to open a desktop web browser (this one is a bit nutty since not everyone would even have a desktop os running it)

Which means I would have to rewrite my Dockerfile every time.

If someone wants to take this project over, please let me know since having this super simple way of spinning up a container is way more efficient than checking out their repo, setting up pip, etc.

Old:

This repository provides a convenient and secure solution to run Auto-GPT in a Docker container with a web-based terminal. Running Auto-GPT in a Docker container isolates it from the host system, preventing accidental damage from commands like rm -rf or apt install <whatever>. Additionally, it ensures a consistent and easy-to-maintain environment.

Features

  • Runs Auto-GPT in a Docker container for improved security and maintainability
  • Provides a browser-based terminal UI using gotty
  • Accessible via http://127.0.0.1:8080, or by IP address

Installation and Running

  1. Clone the repository and navigate to the project directory

  2. Copy the sample AI settings file and edit to suit your needs.

    cp ai_settings.sample ai_settings.yaml
    
  3. Copy the sample .env file and edit to suit your needs, you can read about these settings on the auto-gpt repo.

    cp .env.template .env
    
  4. Run the Docker container:

    docker-compose up -d
    

Accessing the Terminal

To access the terminal UI via a browser, visit http://127.0.0.1:8080 or the IP address of the system it's running on.

TODO

  • Check if gotty can pass audio from the autogpt --speak option
  • Verify that integration with ElevenLabs is functional (should be okay, but untested)

Obligatory Screenshot

About

Add browser-based console to a containerized Auto-GPT (GPT-4 showcase).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published