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.0.2.tar.gz (3.6 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.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for hiveagentai-0.0.2.tar.gz
Algorithm Hash digest
SHA256 865a954a4e3c06311d66af1f460ab98016ed5477fd2d2f38dd00a423e7f3f204
MD5 01d4921f70cca75ed6c9322e4104a30f
BLAKE2b-256 5c8afa472fb9d7e8ca67201996ca2803cc81c469f48f1d93104a6e12e5d611a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hiveagentai-0.0.2-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.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 77219a35c02b428738ae0b1827637691bbbf7da8007b85fddbcf3960b0addb08
MD5 56623d490685a37e20ee4e5c436891b8
BLAKE2b-256 3d41de67d6954153af05692ea3f0710e285d33f7571a0540a223b72df17ee733

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