Giter Club home page Giter Club logo

autogpt-package's Introduction

Auto-GPT Package

Run of the Auto-GPT Package

"It's like AutoGPT got a brew install", made possible by Kurtosis.

Assuming you have Kurtosis installed, first start AutoGPT (replacing YOUR_API_KEY_HERE with your API key):

kurtosis run github.com/kurtosis-tech/autogpt-package --enclave autogpt '{"OPENAI_API_KEY": "YOUR_API_KEY_HERE"}'

Then start interacting with AutoGPT:

kurtosis service shell autogpt autogpt --exec "python -m autogpt"

If kurtosis service shell autogpt autogpt --exec "python -m autogpt" breaks for you then you might be on an older version of Kurtosis. Please use instead:

( echo "python -m autogpt" && cat ) | kurtosis service shell autogpt autogpt

We use the Redis memory backend by default.

Run On GitPod in the browser

Open in Gitpod

How to get the OpenAI API Key

Follow along the official guide here

How to pass other configuration

To pass any other configuration listed here; pass the argument like you pass the OPENAI_API_KEY

kurtosis run github.com/kurtosis-tech/autogpt-package --enclave autogpt '{"OPENAI_API_KEY": "YOUR_API_KEY_HERE", "RESTRICT_TO_WORKSPACE": "False"}'

Note - This package spins up AutoGPT using the Redis backend by default. To use the local backend instead set MEMORY_BACKEND to local in args. For pinecone and you will need to get API keys for it and pass it. Weaviate & Milvus are supported both locally & remotely.

To run with an instance of Weaviate inside Docker run this using

kurtosis run github.com/kurtosis-tech/autogpt-package --enclave autogpt '{"OPENAI_API_KEY": "YOUR_API_KEY_HERE", "MEMORY_BACKEND": "weaviate"}'

To get Milvus running inside Docker with the required dependencies use

kurtosis run github.com/kurtosis-tech/autogpt-package --enclave autogpt '{"OPENAI_API_KEY": "YOUR_API_KEY_HERE", "MEMORY_BACKEND": "milvus"}'

How to get plugins to work

Kurtosis supports the ALLOWLISTED_PLUGINS configuration flag that AutoGPT ships with. For example, to run the AutoGPTTwitter plugin do the following:

kurtosis run github.com/kurtosis-tech/autogpt-package --enclave autogpt '{"OPENAI_API_KEY": "YOUR_API_KEY_HERE", "ALLOWLISTED_PLUGINS": "AutoGPTTwitter"}'

To get multiple plugins running at the same time; separate them with comma without spaces like:

kurtosis run github.com/kurtosis-tech/autogpt-package --enclave autogpt '{"OPENAI_API_KEY": "YOUR_API_KEY_HERE", "ALLOWLISTED_PLUGINS": "AutoGPTTwitter,AutoGPTEmailPlugin"}'

Under the hood, Kurtosis will download and install the package for you! As of now the following plugins are supported:

First Party

Third Party

To add support for more plugins simply create an issue or create a PR adding an entry to plugins.star. Sometimes the code is better updated than the README with what's supported.

Development

Kurtosis has an extension available on VSCode that allows you to develop Kurtosis Starlark more efficiently. While develeoping this package locally run using -

kurtosis run . --enclave autogpt '{"OPENAI_API_KEY": "YOUR_API_KEY_HERE", "MEMORY_BACKEND": "weaviate"}'

This would upload the local package and run it instead of pulling it from GitHub.

Feedback or Questions?

Let us know in our Discord or on Twitter @KurtosisTech!

Feel free to create an issue on GitHub if you have any bugs or feature requets.

autogpt-package's People

Contributors

antoniociolino avatar h4ck3rk3y avatar laurentluce avatar leeederek avatar leoporoli avatar mieubrisse avatar peeeekay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.