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
  • What is AIP?
  • Why AIP Matters
  • ✨ Key Features
  • 🧩 Protocol Comparison
  • πŸ› οΈ Core Components
  • πŸš€ Example Use Cases
  • πŸ”₯ Quick Start
  • πŸ— Architecture Overview
  • πŸ” Security and Best Practices
  • πŸ“š Resources

AIP

What is AIP?

AIP (Agent Interoperability Protocol) is the first Web3-native multi-agent communication standard, built by Unibase. It enables agents to easily establish on-chain identities, share decentralized memory, and collaborate across platforms β€” all with built-in security and permissioning.

AIP = MCP + On-Chain Identity + Decentralized Memory


Why AIP Matters

Traditional protocols like MCP and A2A partially solve agent communication, but lack cross-platform identity, decentralized memory, and verifiable authorization. AIP fills these gaps by providing a full-stack solution for building a truly open agent internet.


✨ Key Features

  • Cross-Platform Interoperability Standardized communication across diverse agent ecosystems (MCP-compatible, gRPC-supported).

  • Decentralized Memory Layer Store agent prompts, dialogue history, and knowledge bases on Membase for persistent, tamper-proof long-term memory.

  • On-Chain Identity & Access Control Each agent owns a verifiable blockchain identity with programmable permissioning.

  • Direct LLM Integration LLMs can call agents and tools directly, enabling autonomous multi-agent workflows.


🧩 Protocol Comparison

Feature

MCP (Anthropic)

A2A (Google)

AIP (Unibase) πŸš€

Primary Focus

LLM & tool/data integration

Agent-to-agent communication

Full agent interoperability + tool access

Cross-Agent Communication

❌

βœ…

βœ…

Tool Integration

βœ…

❌

βœ…

Agent/Tool Discovery

βœ…

❌

βœ… (built-in discovery & registry)

On-Chain Identity & Auth

❌

❌

βœ… (via ZK + blockchain)

Built-in Memory Support

❌

❌

βœ… (via Membase)

Protocol Compatibility

MCP only

A2A only

βœ… (MCP + gRPC compatible)

Decentralization

❌

❌

βœ… (Web3-native)


πŸ”₯ Only AIP combines memory, identity, and agent communication into a single decentralized standard.


πŸ› οΈ Core Components

  • AIP Protocol Cross-agent and agent-tool communication standard, compatible with MCP and gRPC.

  • Membase Decentralized memory hub providing scalable, verifiable storage for agent data.

  • Unibase DA High-performance data availability layer supporting fast, low-latency storage and retrieval.


πŸš€ Example Use Cases

  • Personalized DeFi Agents Agents learn user preferences and help optimize trading and yield strategies.

  • Multi-Agent Gaming Battles AI agents collaborate and compete in real-time strategy and simulation games.

  • Knowledge Mining & Sharing Users contribute to decentralized knowledge networks and earn token rewards.


πŸ”₯ Quick Start

1. Install AIP SDK

pip install git+https://github.com/unibaseio/aip-agent.git

Or clone locally:

git clone https://github.com/unibaseio/aip-agent.git
cd aip-agent
uv venv
uv sync --dev --all-extras

2. Set Up Environment Variables

export MEMBASE_ID="<your-unique-id>"
export MEMBASE_ACCOUNT="<bnb-testnet-account>"
export MEMBASE_SECRET_KEY="<secret-key>"

Make sure your account has BNB tokens on BNBChain Testnet.

3. Run an Example Agent

cd examples/aip_agents
uv run grpc_full_agent_gradio.py

πŸ— Architecture Overview

+-----------------+         +-----------------+         +-------------------+
|    LLM          | <-----> |    AIP Agent     | <-----> |     Tools          |
| (Local/Remote)  |         | (Full or Custom) |         | (MCP / gRPC)       |
+-----------------+         +-----------------+         +-------------------+
        |
        | Blockchain: Identity & Permission Management
        |
        v
    Membase: Decentralized Persistent Memory Layer

πŸ” Security and Best Practices

  • All identities and permissions are verified on-chain.

  • Data is encrypted and synchronized via Membase.

  • Follow modular coding practices and secure environment setup.


πŸ“š Resources


Unibase: Building the Open Agent Internet.

PreviousπŸš€Quick StartNextDesign

Last updated 7 days ago

GitHub Repo
Unibase Website
Telegram Community
Support Email