hackquest logo

ExitGuard

The pre-trade seatbelt for AI trading agents: one MCP call proves whether an agent can actually EXIT at size (BLOCK/WARN/OK + an auditable on-chain depth curve).

Videos

Tech Stack

Next
Node
Web3

Description

Autonomous trading agents check whether a token is safe to buy — never whether they can sell it back. Entry quotes always fill; the exit is where thin, one-sided liquidity turns a nominal win into a trapped bag. When an agent’s own unwind is a large share of the sell-side book, the agent becomes the exit liquidity.

ExitGuard is a pre-trade exit-liquidity oracle exposed as an A2MCP service on OKX.AI. Before an agent sizes a position it calls one tool — exit_liquidity_check(token_address, chain, size_usd) — and gets back a BLOCK / WARN / OK verdict plus the realizable exit value, slippage-to-exit, % of the available sell-side book, a recommended clean-exit max size, and an auditable on-chain depth curve. It probes the OKX DEX aggregator’s sell-side quote ladder (not a repriced buy quote) and reads pool reserves, so the verdict reflects the real book the agent would hit on the way out.

Priced per call at $0.02 in USDT0 on X Layer, settled via x402 — gasless for the caller (EIP-3009 + the OKX facilitator). Any MCP-native agent — memecoin-rotation bots, DeFAI copilots, treasury/allocator agents — can gate every trade on a real exit check.

Progress During Hackathon

Autonomous trading agents check whether a token is safe to buy — never whether they can sell it back. Entry quotes always fill; the exit is where thin, one-sided liquidity turns a nominal win into a trapped bag. When an agent’s own unwind is a large share of the sell-side book, the agent becomes the exit liquidity.

ExitGuard is a pre-trade exit-liquidity oracle exposed as an A2MCP service on OKX.AI. Before an agent sizes a position it calls one tool — exit_liquidity_check(token_address, chain, size_usd) — and gets back a BLOCK / WARN / OK verdict plus the realizable exit value, slippage-to-exit, % of the available sell-side book, a recommended clean-exit max size, and an auditable on-chain depth curve. It probes the OKX DEX aggregator’s sell-side quote ladder (not a repriced buy quote) and reads pool reserves, so the verdict reflects the real book the agent would hit on the way out.

Priced per call at $0.02 in USDT0 on X Layer, settled via x402 — gasless for the caller (EIP-3009 + the OKX facilitator). Any MCP-native agent — memecoin-rotation bots, DeFAI copilots, treasury/allocator agents — can gate every trade on a real exit check.

Fundraising Status

Not fundraising — bootstrapped hackathon project. Built-in revenue model: pay-per-call at $0.02 USDT0 via x402 on X Layer, with real on-chain settlements demonstrated on mainnet.

Team Leader
JJumardi N/A
Project Link
Deploy Ecosystem
X LayerX Layer
Sector
DeFiAIInfra