Unibase Docs
  • Introduction
    • Architecture
    • Core Components
    • Quick Start
  • Membase
    • 📚Architecture
    • Identity
    • Multi Memory
    • Authorization
    • 🚀Quick Start
  • AIP
    • Design
    • Agent Interaction Process
    • Implementation
    • Quick Start
      • Tool
      • Agent
        • Agent-Tool Interaction Via gRPC
        • Agent-Tool Interaction Via SSE
        • Agent-Agent Interaction
      • Chess game
  • Unibase DA
    • DA
    • Storage
    • Quick Start
      • Nodes boostrap
        • Storage Node
        • Validator Node
        • Stream Node
        • Docker
      • Nodes operations
  • Developers
    • Hub
    • SDK
    • API Reference
  • Alpha Testing
    • Testing plan
    • Requirements
    • Chains
  • 🚀Examples
Powered by GitBook
On this page
  1. AIP

Design

1. Protocol Overview

The Agent Interoperability Protocol (AIP) is an open communication standard for distributed agent ecosystems.

It enables cross-platform multi-agent collaboration, building a trusted, decentralized agent network.

AIP defines communication mechanisms, trust guarantees, message persistence, and verification methods to ensure efficient, secure, and verifiable agent interactions across platforms.

2. Protocol Scope

  • Discovery and interoperability of heterogeneous agents.

  • Hybrid communication modes (real-time and asynchronous).

  • Trusted Execution Environment (TEE) construction.

  • On-chain and off-chain collaborative verification.

3. System Architecture

3.1 Layered Model

Layer
Component
Description

Application

AIP SDK

Protocol implementation and client tools

Service

Agent Hub

Agent discovery and message routing

Protocol

AIP

Message encoding/decoding, transmission control, verification

Basis

Unibase DA

Identity attestation, message persistence, traceability

Blockchain

Blockchain

Identity registration, role authorization, on-chain transactions

4. Protocol Standards

4.1 Message Format

AIP messages are formatted in JSON with the following structure:

  • Header:

    • MessageType: Type of the message (e.g., Request, Response, Event).

    • Sender: Unique identifier of the sender.

    • Receiver: Unique identifier of the receiver.

    • Timestamp: Message creation time.

    • Auth: Authorization metadata for verifying sender identity, integrity, and permissions.

  • Body:

    • Message-specific payload (e.g., parameters, results, or event data).

4.2 Communication Modes

  • Request-Response: Clients send a request, servers return a response.

  • Subscribe-Publish: Clients subscribe to topics; servers push relevant updates.

  • Broadcast: Servers send messages to all connected agents.

4.3 Communication Security

  • Authentication: Validates sender identity using digital signatures.

  • Authorization: Enforces access control via RBAC and custom validation.

  • Encryption: Ensures confidentiality of communications.

  • Integrity Protection: Safeguards message contents with hashing.


AIP provides a complete agent communication framework that integrates decentralized identity, verifiable messaging, and scalable interoperability, designed to support the next generation of multi-agent Web3 applications.

PreviousAIPNextAgent Interaction Process

Last updated 7 days ago