Multi-agent framework for human-in-the-loop AI systems
Top 77.8% on sourcepulse
Mahilo is a Python framework for building multi-agent AI systems with human-in-the-loop supervision. It enables agents to communicate and share context, facilitating complex workflows for applications like customer service or emergency response simulations. The framework is designed for developers and researchers looking to orchestrate sophisticated agent interactions.
How It Works
Mahilo employs a WebSocket-based architecture for real-time communication between agents and clients. Agents, defined via a BaseAgent
class or integrated from frameworks like LangGraph, can be registered with an AgentManager
. This manager handles context sharing, making recent conversation history available across agents. Agents can communicate peer-to-peer or hierarchically, with communication pathways controlled by can_contact
lists. LLM providers are abstracted via LiteLLM, and message validation policies can be implemented to ensure communication quality.
Quick Start & Requirements
pip install mahilo
pip install mahilo[voice]
(requires PyAudio installation for your OS).export OPENAI_API_KEY=<your_api_key>
python run_server.py
.mahilo connect --agent-name <your_agent_name>
(add --voice
for voice interaction).Highlighted Details
can_contact
lists.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The README does not specify the project's license, which is crucial for commercial adoption. Community support channels like Discord or Slack are not mentioned, potentially indicating a smaller or less active community.
4 months ago
Inactive