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

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

<p>Autonomous trading agents check whether a token is safe to <strong>buy</strong> — never whether they can <strong>sell it back</strong>. 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, <strong>the agent becomes the exit liquidity.</strong></p><p>ExitGuard is a pre-trade exit-liquidity oracle exposed as an <strong>A2MCP service on </strong><a href="http://OKX.AI"><strong>OKX.AI</strong></a>. Before an agent sizes a position it calls one tool — <code data-inline="true" spellcheck="false">exit_liquidity_check(token_address, chain, size_usd)</code> — and gets back a <strong>BLOCK / WARN / OK</strong> verdict plus the realizable exit value, slippage-to-exit, % of the available sell-side book, a recommended clean-exit max size, and an <strong>auditable on-chain depth curve</strong>. 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.</p><p>Priced per call at <strong>$0.02 in USDT0 on X Layer, settled via x402</strong> — 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.</p>

Tech Stack

Next
Node
Web3

Fundraising Status

<p><span style="color: rgb(17, 17, 17)">Not fundraising — bootstrapped hackathon project. Built-in revenue model: </span><strong>pay-per-call at $0.02 USDT0 via x402</strong><span style="color: rgb(17, 17, 17)"> on X Layer, with real on-chain settlements demonstrated on mainnet.</span></p>

Team LeaderJJumardi N/A
Sector
DeFiAIInfra

Builders Also Viewed