Oracle Layer
Last updated
Last updated
The Oracle Layer connects agents with real-time on-chain data and off-chain events, serving as the “eyes and ears” of the agents. Its primary role is to continuously monitor blockchain state and external data sources, and push relevant updates or signals to agents so they can react autonomously. The Oracle Layer runs a network of watchers that subscribe to various on-chain events across relevant blockchains. This could include events like a smart contract emitting a log (e.g., a DeFi lending protocol triggering a liquidation event), a governance proposal being created, a price feed update, or a certain block height/time being reached. Agents can register their interest in specific events or data – for example, an agent could declare “notify me when Token X price falls below $Y” or “when my address receives funds”. When a subscribed event occurs, the Oracle Layer pushes a structured notification to the affected agent(s) via the Communication Layer. For instance, if an agent is managing a liquidity pool, the Oracle Layer can push a message as soon as a large withdrawal on that pool is detected, allowing the agent to rebalance. This publish/subscribe model decouples agents from having to poll the chain, and ensures low-latency delivery of information. All Oracle messages are authenticated so that agents know the data is genuine.