• Stars
    star
    169
  • Rank 219,958 (Top 5 %)
  • Language
    PowerShell
  • License
    MIT License
  • Created about 1 year ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AutoGPT-easy-install is a bash/powershell script designed for non-experts to easily install and run the AutoGPT application in a Docker container. The script checks if Docker is installed and installs it if necessary. It prompts the user for API keys, workspace folder path, and whether to run AutoGPT in continuous mode

Auto-GPT Sandbox Wizard - Easy Installer

This script allows you to easily install and run the Auto-GPT application inside a Docker container. Running the application inside a Docker container provides a secure sandboxed environment, preventing any potential harm to your computer from continuous mode malfunctions. However, please note that you still need to supervise the application when running in continuous mode to avoid any unintended damage.

UPDATE 22/04/2023

The following updates have been made:

  • Now it works with the official Dockerfile, ensuring future-proof implementations.
  • It will keep your Auto-GPT updated with the latest release, if requested.
  • Additionally, user interactions and information requests have been improved throughout the script.

Features

  • Automatically installs Docker if not already installed
  • Prompts for API keys and workspace folder path
  • Clones the Auto-GPT repository and configures the environment
  • Builds and runs the application inside a Docker container

Requirements

In order to use the Auto-GPT Easy Installer, you will need an API key for OpenAI. You can obtain an OpenAI API key by following the instructions provided here: https://platform.openai.com/account/api-keys. You may need to edit your .env file to enable more features.

When you register for OpenAI, you will receive $18 in API credits, which provides ample room for testing and experimenting without incurring any costs. Simply follow the steps in the provided script to set up and run the Auto-GPT application inside a Docker container, ensuring a secure environment for your project.

Installation and Usage

Unix/Mac

  1. Download the auto_gpt_easy_install.sh script.
  2. Open a terminal and navigate to the directory where the script is located.
  3. Make the script executable: chmod +x auto_gpt_easy_install.sh
  4. Run the script: ./auto_gpt_easy_install.sh

Windows (currently untested)

  1. Download the auto_gpt_easy_install.ps1 script.
  2. Open a PowerShell and navigate to the directory where the script is located.
  3. Run the script: .\auto_gpt_easy_install.ps1

For Users Without Git

If you do not have Git installed on your system, the script will attempt to install it using a suitable package manager. If this is not possible, you will need to install Git manually before running the script.

Troubleshooting

  1. If you encounter issues with Docker installation or permissions, please refer to the official Docker documentation for guidance.
  2. If you have trouble installing Git, visit the official Git documentation for more information on installing Git on your system.
  3. If you need further assistance, consider opening an issue on the Auto-GPT GitHub repository.

Notes

  • The Auto-GPT application is designed to be run inside a Docker container for added security. However, you can still run the application outside the container if you prefer. Please refer to the Auto-GPT GitHub repository for more information on how to set up and run the application manually.
  • Remember to supervise the application when running in continuous mode to avoid any unintended damage.
  • The speech mode is not currently supported when running inside the Docker container.