The ultimate platform for orchestrating intelligent teamwork.
Project description
HIVEAI ๐ - Multi-Agent Collaboration Platform
Table of Contents
- Introduction
- Key Features ๐
- Platform Architecture ๐๏ธ
- ๐จ Setup Instructions
- ๐ Available Endpoints
- ๐ ๏ธ Example Usage
- ๐ง Technologies Used
- License ๐
- ๐ฌ Support
Introduction
Welcome to HIVEAI! ๐ง โจ A powerful platform designed to manage and orchestrate multiple AI agents working together collaboratively on complex tasks. Think of it as a smart hive where agents combine their intelligence to achieve shared goals! ๐ค๐ก
With HIVEAI, you can:
- Create and manage AI agents ๐ ๏ธ
- Launch collaborative projects where agents work together ๐ค
- Track progress and monitor the status of your agents in real-time ๐
Key Features ๐
- Agent Management: Create AI agents with customizable capabilities ๐ค
- Collaboration Projects: Define projects where agents collaborate to achieve common goals ๐งโ๐คโ๐ง
- Agent Assignment: Assign agents to specific tasks within collaboration projects ๐ฏ
- Collaboration Monitoring: Track progress and performance of agents within each project ๐
Platform Architecture ๐๏ธ
- Flask: Lightweight Python web framework for creating the API ๐
- SQLAlchemy: ORM for managing and accessing the database ๐๏ธ
- SQLite: A simple and effective local database ๐ ๏ธ
๐จ Setup Instructions
Prerequisites:
- Python 3.10 or higher ๐
- A virtual environment (optional but recommended) ๐ฑ
Install Dependencies ๐ป:
-
Clone this repository:
git clone hhttps://github.com/hiveagent/hiveagentai.git cd hiveagentai
-
Create a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the required dependencies:
pip install -r requirements.txt
Running the API ๐ฅ
-
Start the Flask development server:
python app.py -
The API will be running locally on: http://127.0.0.1:5000/ ๐
๐ Available Endpoints
Agent Management ๐ค
-
Create an Agent:
POST /agents- Create a new AI agent with a name and capabilities.
- Example:
{ "name": "Agent A", "capabilities": "Data Analysis, Machine Learning" }
-
List all Agents:
GET /agents- Retrieve a list of all created agents.
Collaboration Management ๐ค
-
Create a Collaboration:
POST /multi-agent/create- Create a new collaboration project where agents can join and work together.
- Example:
{ "name": "Project Alpha", "description": "Data analysis and machine learning collaboration." }
-
Assign Agents to a Collaboration:
POST /multi-agent/<collaboration_id>/assign- Assign agents to a specific collaboration project.
- Example:
{ "agent_ids": [1, 2] }
-
View Assigned Agents:
GET /multi-agent/<collaboration_id>/agents- Get a list of agents assigned to a specific collaboration.
Agent Status and Progress ๐
-
Update Agent Status:
PUT /agents/<agent_id>/status- Update an agent's current status (e.g., idle, active, error).
- Example:
{ "status": "active" }
-
Get Collaboration Progress:
GET /multi-agent/<collaboration_id>/progress- Retrieve the progress and status of all agents within a collaboration.
๐ ๏ธ Example Usage
-
Create an Agent:
curl -X POST http://127.0.0.1:5000/agents -H "Content-Type: application/json" -d '{"name": "Agent A", "capabilities": "Data Processing, Image Recognition"}'
-
Create a Collaboration:
curl -X POST http://127.0.0.1:5000/multi-agent/create -H "Content-Type: application/json" -d '{"name": "Project Omega", "description": "Collaboration on data analysis."}'
-
Assign Agents to Collaboration:
curl -X POST http://127.0.0.1:5000/multi-agent/1/assign -H "Content-Type: application/json" -d '{"agent_ids": [1, 2]}'
-
Check Collaboration Progress:
curl http://127.0.0.1:5000/multi-agent/1/progress
๐ง Technologies Used:
- Flask: Lightweight Python web framework for building APIs ๐
- Flask-SQLAlchemy: ORM to easily manage database records ๐
- SQLite: Lightweight database for persistent storage ๐๏ธ
- Python 3.7+: The programming language powering the backend ๐
License ๐
This project is licensed under the MIT License. See the LICENSE file for more details.
๐ฌ Support
For issues, bugs, or suggestions, feel free to open an issue or contribute via a pull request on the GitHub repository.
Let's create smarter AI together! ๐ค๐กโจ
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hiveagentai-0.1.0.tar.gz.
File metadata
- Download URL: hiveagentai-0.1.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
531270312db31a31e1796dc2dbcc24d2eafaea322da18a023ba19becfcba22af
|
|
| MD5 |
c8ef8dc115d876a0734c8cf6695ba34d
|
|
| BLAKE2b-256 |
1f9a42f70f5ff286f9bfd74adcfc15bd746d865d33d7b28b765eea74e9170384
|
File details
Details for the file hiveagentai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hiveagentai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bcd1cc95d4d5a4f047b1ee073cd9e4d7082f2f7f53c697bc5d3ddacdc801c9e
|
|
| MD5 |
a682af328b6471617c21669c50be4924
|
|
| BLAKE2b-256 |
40bc2e3794720cfddb6ae5d3ae885470cb65997690ace074584839c7e45b1403
|