🛰️ IAC Protocol

📜 Intro
IAC (Inter & Intra Agent Communication) is a next-generation agent coordination protocol designed for large-scale, decentralized, and asynchronous environments. It provides a structured, language-agnostic command interface to delegate tasks across orchestrated AI agents and more. Built from first principles for the modern AI ecosystem, IAC decouples agent control from execution logic, enabling clean separation of roles, flexible topologies, and modular deployment patterns, from cloud AI clusters to local edge devices.
⚡ Why IAC?
- Intent-Based Semantics: Commands are passed in a human-readable, strongly typed format enabling clear delegation of responsibilities.
- Distributed Native: Designed for horizontal scalability and federated agent networks with low-latency routing.
- Fast Bootstrapping: Instantiate and link complex agents and services on demand using expressive slash commands.
- Minimal Overhead: IAC avoids bulky RPC-style overhead in favor of event-driven, stateless messaging pipelines.
- Transparent Execution: Each interaction step is verifiable, traceable, and semantically rich, suitable for audit and introspection.
🧠 Philosophy
IAC doesn't simply optimize communication, it redefines how intent flows between autonomous agents. It emphasizes explicit structure, declarative commands, and modular agent roles, moving away from the fragile, opaque APIs of legacy systems. This protocol enables new forms of agent collaboration, autonomous orchestration, and meta-control, promoting architectures that think, plan, and act.
📦 Usage
To get started with IAC in your project, add the crate to start a server and connect a client that sends a signed message:
use *;
async
This demonstrates:
- Setting up a local server with a public key verifier
- Connecting a client with a generated signer key
- Creating and signing a message
- Sending the message over the IAC protocol
🌐 Agentic Network
use *;
use Mutex;
use HashMap;
use Arc;
use Cow;
// Use the `AutoNet` macro to automatically implement the `Network` trait and enable IAC protocol support.
// The struct must define at least these fields for `AutoNet` to function correctly:
async
This shows:
- How agents send heartbeat messages.
- How agents send broadcast messages.
🤝 Contributing
We welcome all contributions: ideas, issues, improvements, documentation, or code!
- Fork the repository.
- Create a new feature branch.
- Submit a pull request.
Let's build the next-gen agent protocol together.
📜 License
IAC is licensed under the MIT License. You are free to use, modify, and distribute the protocol in your own applications.