SuperAGI is an open-source platform providing infrastructure to build autonomous AI agents. Designed to run multiple agents concurrently, SuperAGI's diverse set of features and tools allows developers to spawn, deploy, and manage AI agents with ease.
This article will walk you through the initial setup and configuration of SuperAGI. By the end, you will have a working SuperAGI environment ready to run your autonomous AI agents.
SuperAGI requires Docker and Pinecone setup. Before proceeding, ensure you have installed and configured Pinecone. Along with this, you will need Python installed on your system.
Download the repo using git clone https://github.com/TransformerOptimus/SuperAGI.git
in your terminal or directly from the GitHub page in zip format.
Navigate to the directory using cd SuperAGI
, and create a copy of config_template.yaml
; name it config.yaml
.
Enter your unique OpenAI API Key, Google key, Custom search engine ID, and Pinecone API key without any quotes or spaces in config.yaml
file. Follow the links below to get your keys:
Keys |
Accessing the keys |
---|---|
OpenAI API Key |
Sign up, and create an API key at OpenAI Developer |
Google API key |
Create a project in the Google Cloud Console, and enable the API you need (for example, Google Custom Search JSON API). Then, create an API key in the "Credentials" section. |
Custom search engine ID |
Visit Google Programmable Search Engine to create a custom search engine for your application, and obtain the search engine ID. |
Pinecone API key |
Sign up at Pinecone, and create an API key in your account dashboard. |
If you're on the Pinecone free plan, you only have 1 pod and 1 index available. As a workaround, change the index name used in test.py where
memory
is defined:memory = VectorFactory.get_vector_storage("PineCone", "my-current-indexname", OpenAiEmbedding())
Ensure that Docker is installed in your system; if not, install it from here.
Once you have Docker Desktop running, run command : docker-compose up --build
in the SuperAGI directory. Open your browser and go to localhost:3000
to see SuperAGI running.
You're all set! You now have a functional SuperAGI environment ready to provision, spawn, and deploy autonomous AI agents. Keep in mind that SuperAGI is currently under active development.
Leave a ⭐ on GitHub Roadmap Website
Also published here