MetaAgent

MetaAgent

:robot: A multi-agent collaboration platform to build, manage and deploy your multi-modal AI agents . :space_invader: :unicorn: :crystal_ball:

Stars: 58

Visit
 screenshot

MetaAgent is a multi-agent collaboration platform designed to build, manage, and deploy multi-modal AI agents without the need for coding. Users can easily create AI agents by editing a yml file or using the provided UI. The platform supports features such as building LLM-based AI agents, multi-modal interactions with users using texts, audios, images, and videos, creating a company of agents for complex tasks like drawing comics, vector database and knowledge embeddings, and upcoming features like UI for creating and using AI agents, fine-tuning, and RLHF. The tool simplifies the process of creating and deploying AI agents for various tasks.

README:

logo logo

🦄 A multi-agent collaboration platform to build, manage and deploy your multi-modal AI Agents. 🤖.

Introduction

We create a Multi-modal Multi-agent Collaboration Platform, and you can use this platform to create your own AI agent easily. You don't even need to write python code, the agent can be created by editing a yml file or using UI. Our platform have many features:

🔥 Features

  • Build, manage and deploy your LLM-based AI agents without code.
  • Multi-modal agents, agents can interact with users using texts, audios, images, and videos.
  • Multi-agent collaboration, you can create a agents company for complex tasks, such as draw comics.
  • Vector database and knowledge embeddings
  • UI for creating and usage of AI agents. (Coming soon)
  • Fine-tuning and RLHF (Coming soon)

📃 Examples

Comics Company, create a comic about Elon lands on mars.

图片9

Multi-modal agent, draw images and make videos for you.

Elon

Installation

1. Python Environment

git clone https://github.com/ZhihaoAIRobotic/MetaAgent.git
conda env create -f environment.yaml

2. Minio S3

we use Minio S3 for sending multi-modal messages to frontend. More information about Minio S3 can be found : https://min.io/.

The service is provided on 192.168.0.20:9000. We use the default access_key and secret_key: "minioadmin:minioadmin". The bucket_name is metaagent.

Usage

Without GUI

The usage without GUI is very simple, but you need to use the CURL tool.

  1. cd path/to/metaagent
  2. Create config.yaml here, fill the key you need:
OPENAI_API_BASE: "https://api.openai.com/v1"
OPENAI_API_KEY: "Your Key"
OPENAI_API_MODEL: "gpt-3.5-turbo"
MAX_TOKENS: 1500
RPM: 10

SERPAPI_API_KEY: "Your Key"

SD_URL: "YOUR_SD_URL"
SD_T2I_API: "/sdapi/v1/txt2img"
  1. Run examples
cd MetaAgent/examples
python EXAMPLE.py
  1. Use CURL to access the http service, there are some examples
1. curl --request POST 'http://localhost:60066/default' --header 'Content-Type: application/json' -d '{"data": [{"text": "Make a video of spider man."}]}'
2. curl --request POST 'http://localhost:60066/default' --header 'Content-Type: application/json' -d '{"data": [{"text": "Draw a image of Elon Musk."}]}'
  1. The CURL will respond to a link generated by Minio S3. You can copy this link and check the response content in the web browser.

Tip: In the usage of the first time, it takes some time to load the model.

With GUI

UPCOMING

There is a demo video of old version:

demo

Http Service

IP address:

 http://localhost:60066/default

Header:

'Content-Type: application/json'

Request:

{"data": [{"text": "draw a picture of Elon"}]}

Response:

{"data":[{"id":"id_number","text":[{"id":"id_number","text":"url","bytes_":null,"embedding":null,"url":null}],"image":[{"id":"id_number","text":"url","bytes_":null,"embedding":null,"url":null}],"video":[{"id":"id_number","text":"url","bytes_":null,"embedding":null,"url":null}],"audio":[{"id":"id_number","text":"url","bytes_":null,"embedding":null,"url":null}]}],"parameters":{}}

For Tasks:

Click tags to check more tools for each tasks

For Jobs:

Alternative AI tools for MetaAgent

Similar Open Source Tools

For similar tasks

For similar jobs