Autonomous Defense
Infrastructure

Deterministic semantic security powered by Somnia's Native AI Trinity, IBEA Relayer orchestration, and LI.FI invariant execution.

~500ms
Threat Detection
Continuous M-of-N consensus across DefiLlama, Forta, and Hypernative.
~2.5s
Semantic Reasoning
Somnia Agent Trinity parses real-time API state and governance context.
~3.0s
Time to Evacuation
End-to-end execution of cross-chain bridging payload via LI.FI Relayer.
01

The Somnia Agent Trinity

IBEA reverses the standard model to save costs and maximize precision. Instead of running expensive AI agents 24/7, IBEA uses them as the ultimate verification layer:

  • Tier 1 (JSON API Agent): Woken up by the Escalation Gate consensus. It fetches real-time protocol metadata, validator status, bridge/relayer health, and liquidity topology.
  • Tier 2 (Website Parse Agent): Gathers contextual semantic enrichment from governance forums and GitHub to understand the full context of the threat.
  • Tier 3 (LLM Inference Agent): Performs deterministic semantic reasoning to classify the exploit and dynamically chooses the defense path (Fast Path / Slow Path).
T1
JSON API Agent
Triggered by Consensus • Fetches Real TVL, Bridge & Relayer Health
T2
Website Parse Agent
Governance & GitHub Scraper • Contextual Verification
T3
LLM Inference Agent
Deterministic Reasoning • Classifies Path (Fast/Slow)
02

Continuous Telemetry Consensus

Before waking up the expensive Somnia AI Agents, IBEA relies on continuous off-chain telemetry providers (DefiLlama, Forta, Hypernative). When a threat is detected, they must reach an M-of-N consensus at the Escalation Gate. Once confirmed, the JSON API Agent is triggered to fetch live on-chain reality, bypassing false positives before liquidity is touched.

DefiLlama
Forta
Hypernative
M/N

Consensus

03

IBEA Relayer Powered by LI.FI

Upon a confirmed invariant breach, the Semantic Burst Engine triggers the IBEA Relayer. Assets are autonomously bridged across chains via LI.FI's advanced interoperability protocol. LI.FI guarantees optimal routing speed and liquidity aggregation, ensuring rapid capital isolation to predetermined Safe Harbors like Ethereum Mainnet.

Source
Somnia
Safe Harbor
Ethereum
IBEA Relayer Runtime
await lifi.executeRoute({
  fromChainId: 50312, /* Somnia */
  toChainId: 1, /* Ethereum */
  strategy: "HEDGE_AND_THROTTLE",
  bridge: "LI.FI"
});
// Capital successfully isolated.