A Python wrapper for HexaEight Agent that enables secure multi-agent communication and coordination for AI systems.
HexaEight Agent provides identity management and secure communication for AI agents. This library allows agents built with any framework (CrewAI, LangChain, AutoGen, etc.) to:
- 🔐 Authenticate with unique identities
- 💬 Communicate securely with end-to-end encryption
- 📋 Coordinate tasks across multiple agents
- 🔒 Lock messages for exclusive processing
- ⏰ Schedule messages and tasks
- 🌐 Bridge communication across agents
- 📤 Publish messages with direct, broadcast, and scheduled delivery
- ⚡ Handle events with real-time processing and async iteration
- Python 3.8 or higher
- .NET 8.0 Runtime
- Access to Agentic IAM (HexaEight Token Server and PubSub Server)
- HexaEight credentials (Client ID, Resource Name, Machine Token)
pip install hexaeight-agent
-
Install HexaEight Licensed Machine Token on a host machine (Visit: https://store.hexaeight.com)
-
Setup an Agentic IAM Server - Configure HexaEight Token Server + HexaEight PubSub Server
-
Create an Application and get a Client ID
-
Create Parent Agent using the licensed host machine:
dotnet script create-identity-for-parent-agent.csx parent_config.json --no-cache
-
Create Child Agents using the parent agent configuration:
dotnet script create-identity-for-child-agent.csx child_01 parent_config.json --no-cache
-
Test Parent Agent from licensed host machine using demo:
python3 hexaeight_demo.py parent_config.json parent
-
Test Child Agent from any machine using the configuration files:
python3 hexaeight_demo.py config_agent02.json child
-
Establish Secure Communication across agents by sending messages, locking messages, creating tasks, etc.
Note: A Licensed machine token is required for creating parent and child agents. The parent and child agents are created as JSON configuration files. Once created, these agents remain active forever, even after the machine token expires.
Parent Agents: Can create and manage tasks, tied to the licensed host machine, have full administrative capabilities, and can coordinate multiple child agents.
Child Agents: Can run on any machine, created using parent agent configuration, can participate in tasks and communication, and inherit security from parent agent.
Refer to hexaeight_demo.py
for complete examples of all features.
Apache License 2.0 - See LICENSE file for details.
- Documentation: Coming Soon
- Contact: [email protected]
HexaEight Agent - Enabling secure, scalable AI agent communication