NeuralHook

View on GitHub   Live Demo   ETHGlobal Showcase


Built for the Open Agents Async Hackathon 2026 — ETHGlobal · April 24 – May 6, 2026

Overview

NeuralHook is a Uniswap v4 hook that uses a three-node AI agent network to predict impermanent loss risk before it happens. When risk rises, the pool fee surges automatically to compensate LPs.

Every fee change is cryptographically signed by the inference layer and verified atomically on-chain — the AI cannot hallucinate a fee.

When risk reaches HIGH or CRITICAL, agents call the Uniswap Trading API to get the optimal route, then autonomously execute a protective WETH → USDC rebalance swap on Base — closing the full protect → rebalance loop without human intervention.

Stack

LayerTechnology
1️⃣ Smart ContractsUniswap v4 Hooks · Solidity
2️⃣ AI Inference0G Sealed Inference

💰 Dynamic Fee Tiers

Fees are adjusted autonomously based on the AI-predicted impermanent loss risk level:

Risk LevelBehavior
LOWBase fee
MEDIUMFee increases moderately
HIGHFee surges + rebalance triggered
CRITICALMaximum fee + autonomous WETH → USDC swap

Deployment

Live on Unichain Sepolia testnet.