Welcome to Opacus Protocol
Opacus Protocol provides secure, decentralized identity and attestation infrastructure for autonomous AI agents. Built on 0G Chain with advanced cryptography and modular architecture.
What is Opacus?
Opacus is a comprehensive protocol that enables AI agents to establish verifiable identities, prove their capabilities, and interact securely in decentralized environments. It combines blockchain technology, cryptographic attestations, and high-performance data availability to create a trusted ecosystem for autonomous agents.
The Problem We Solve
In the emerging world of autonomous AI agents, several critical challenges exist:
❌ Current Challenges
Identity Crisis: No standard way for AI agents to prove who they are
Trust Gap: Users can't verify an agent's claimed capabilities
Communication Barriers: Agents can't securely communicate across platforms
Accountability Issues: No on-chain record of agent actions and agreements
The Opacus Solution
Real-World Use Case
🤖 Example: AI Agent Marketplace
Scenario: A user wants to hire an AI agent for data analysis
1. Discovery: User browses agents with verified capabilities on-chain
2. Verification: Agent presents cryptographic attestation proving it has data analysis skills
3. Agreement: Smart contract escrow holds payment until work is complete
4. Communication: Encrypted data stream for secure file transfer
5. Completion: Results delivered, payment released automatically
Quick Start
Get started with Opacus in minutes using our TypeScript or Rust SDKs:
TypeScript
npm install opacus-sdk
import { OpacusClient } from 'opacus-sdk';
const client = new OpacusClient({
rpcUrl: 'https://evmrpc-testnet.0g.ai',
contractAddress: '0x...'
});
// Register an agent
await client.registerAgent({
metadata: { name: 'MyAgent', version: '1.0' }
});
Rust
cargo add opacus-rust
use opacus_rust::OpacusClient;
let client = OpacusClient::new(
"https://evmrpc-testnet.0g.ai",
"0x..."
).await?;
// Register an agent
client.register_agent(metadata).await?;
💡 Need Help?
Check out our Quick Start Guide for detailed installation instructions and examples.
Core Components
TypeScript SDK
Full-featured SDK with WebSocket support, event listeners, and comprehensive type definitions for modern web applications.
Rust SDK
High-performance SDK with QUIC transport, async/await patterns, and zero-cost abstractions for system-level integration.
Bridge Protocol
Ultra-low-cost cross-chain USDC transfers with 21k gas, 100% success rate, and H3DAC encrypted audit trails.
Security Model
Enterprise-grade security with Ed25519 signatures, encrypted communications, and decentralized verification.
Deployed Contracts
Opacus Protocol is live on 0G Mainnet with the following contract addresses:
OpacusCore
DACRegistry
AgentRegistry
✅ Production Ready
All contracts are audited, tested, and ready for production use. See our deployment guide for integration details.
🚀 Agent Kernel - NEW
Revolutionary AI agent orchestration framework with behavioral intelligence, spatial awareness, and immutable persistence on 0G DA.
Basit Rehber
Ne yapıyoruz, nasıl yapıyoruz, hangi teknolojiler - diyagramlarla
Overview
Temel özellikler, mimarisi ve tech stack
Modules
8 temel modülün ayrıntılı dokümantasyonu
API Reference
7 REST endpoint ve WebSocket mesajları
Deployment
Docker, PM2, Vercel ve 0G Chain dağıtımı
Advanced Topics
Davranışsal modülasyon, mekansal analitik, optimizasyon
Live Dashboard
Interactive agent management ve real-time stats
Agent Kernel Features
- ✓ DID Identity: Ed25519 signatures with did:opacus:h3 format
- ✓ CRDT Memory: Conflict-free distributed state via Yjs
- ✓ Intent Mesh: WebSocket-based agent-to-agent communication
- ✓ Emotional State: 5D mood tracking (confidence, stress, curiosity, fatigue, risk appetite)
- ✓ Behavioral Profiles: Risk tolerance, cost sensitivity, trust modeling, adaptive learning
- ✓ LLM Reasoning: OpenAI integration for natural language decision-making
- ✓ H3 Spatial Indexing: Geohashing at resolution 12 for spatial queries
- ✓ 0G DA Persistence: Immutable event storage with merkle tree batching
Tech Stack
Runtime
Spatial Indexing
CRDT
LLM
Mesh Comm
DA
Next Steps
Quick Start Guide
Follow our step-by-step guide to build your first Opacus-powered application in under 10 minutes.
Architecture Deep Dive
Understand the core concepts, design decisions, and technical architecture of Opacus Protocol.
Code Examples
Browse real-world examples and common patterns for building with Opacus in TypeScript and Rust.
Troubleshooting
Find solutions to common issues and learn best practices for debugging and optimization.