About IBEA
IBEA (Invariant-Bounded Escalation Architecture) is a deterministically secure, autonomous defense protocol engineered exclusively for the Somnia Network.
01 // Core Thesis
The Proactive Defense Paradigm
Historically, smart contract security has been strictly reactive. Audits identify past vulnerabilities, while circuit breakers trigger only after capital has begun draining. IBEA was built to fundamentally invert this paradigm.
By leveraging Somnia's extreme throughput and zero-latency block finality, IBEA creates a predictive defense layer. We utilize a pipeline of high-frequency off-chain agents to identify semantic anomalies (e.g., governance attacks, compromised frontends, or zero-day logic exploits) and execute cross-chain capital evacuations before malicious transactions are finalized.
02 // Native AI Primitives
The Agentic Intelligence Pipeline
IBEA harnesses three distinct, native Somnia agents to construct a deeply contextual threat matrix. Each agent is strictly bounded in its capabilities to prevent unbounded AI execution risks.
JSON API Agent
Operates at sub-millisecond latency. Sweeps mempools and on-chain telemetry feeds to flag structural anomalies.
Web Parse Agent
Triggered only during active escalations. Scrapes governance forums, Discord channels, and bridge status pages for semantic context.
LLM Inference Agent
The semantic engine. Synthesizes data from Tier 1 & 2 to output a strict deterministic threat score and strategy enum.
03 // Cross-Chain Orchestration
KeeperHub & LI.FI Integration
Once a critical threat is confirmed, the KeeperHub orchestration middleware takes control. Acting as a deterministic bridge, it evaluates user-defined risk preferences and dynamically fetches optimal cross-chain evacuation routes.
To execute these rescue payloads, IBEA integrates natively with the LI.FI Protocol. LI.FI provides unrivaled liquidity aggregation and bridge routing, ensuring that threatened capital is teleported away from the compromised environment and safely deposited into predefined "Safe Harbor" chains (like Ethereum Mainnet) with strict slippage protection.
04 // Cryptoeconomic Security
On-chain Deterministic Invariant Guards
The greatest risk of autonomous AI agents is "hallucination-induced execution"—where an AI erroneously authorizes a massive capital transfer. IBEA mitigates this completely through the Escalation Gate and ODIG (On-chain Deterministic Invariant Guards).
Before the KeeperHub can dispatch a LI.FI rescue transaction, an M-of-N threshold must be met between the internal LLM and external telemetry (DefiLlama, Forta). Even then, the final transaction must pass through ODIG. ODIG enforces hardcoded, inviolable smart contract checks (TWAP boundaries, bridge liveness, destination chain validity). If any invariant is broken, ODIG overrides the AI and forces a localized emergency freeze, guaranteeing mathematically bounded safety.