Skip to main content

The ultimate platform for orchestrating intelligent teamwork.

Project description

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! ๐Ÿค–๐Ÿ’กโœจ

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

hiveagentai-0.2.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hiveagentai-0.2.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file hiveagentai-0.2.0.tar.gz.

File metadata

  • Download URL: hiveagentai-0.2.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for hiveagentai-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7bdedfb564afb27dd9c758e3263e62c786b9a00bd7125406ea395e2506dd41a8
MD5 212083c5c7cc81414573b96bd4383e3a
BLAKE2b-256 8ab7d46c1d1b4a97d74b110639dfea313837a463a03b51d20140ab7dba8e991d

See more details on using hashes here.

File details

Details for the file hiveagentai-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: hiveagentai-0.2.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

Hashes for hiveagentai-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5cf9c360674d1efac0f83957cde0bdaefc47ab4c83c08bc957fafdbfef94370b
MD5 1f1da848bae6ef46fea9711e8ee6b296
BLAKE2b-256 d2c88998edad5c5f6f28d4ed8cb0c813f2ca1f5b395a7719bee7816266029571

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page