Skip to main content

HIVEAI 🐝 - Multi-Agent Collaboration Platform

PyPI version GitHub stars License: MIT Python 3.10+ Issues Pull Requests


Table of Contents


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 💻:

  1. Clone this repository:

    git clone hhttps://github.com/hiveagent/hiveagentai.git
    cd hiveagentai
    
  2. Create a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    

Running the API 🔥

  1. Start the Flask development server:

    python app.py
    
  2. 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

  1. 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"}'
    
  2. 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."}'
    
  3. 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]}'
    
  4. 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! 🤖💡✨

Metadata

Release files for hiveagentai 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hiveagentai 0.2.0
File Size Uploaded Provenance
hiveagentai-0.2.0.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hiveagentai 0.2.0
File Interpreter ABI Platform
hiveagentai-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / hiveagentai-0.2.0.tar.gz

Download URL hiveagentai-0.2.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7bdedfb564afb27dd9c758e3263e62c786b9a00bd7125406ea395e2506dd41a8
BLAKE2b-256 checksum
How to use checksums
8ab7d46c1d1b4a97d74b110639dfea313837a463a03b51d20140ab7dba8e991d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / hiveagentai-0.2.0-py3-none-any.whl

Download URL hiveagentai-0.2.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5cf9c360674d1efac0f83957cde0bdaefc47ab4c83c08bc957fafdbfef94370b
BLAKE2b-256 checksum
How to use checksums
d2c88998edad5c5f6f28d4ed8cb0c813f2ca1f5b395a7719bee7816266029571
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Security for hiveagentai 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page