Autonomous execution agent for prediction markets. Finds bet ideas, enforces mandatory BetAudit safety checks, and places gasless orders on Polymarket via the OKX Agentic Wallet.

BetExec is an autonomous execution agent built for prediction markets like Polymarket.
While finding or auditing a bet is crucial, placing it on-chain usually requires manual approvals, gas fees, and complex setup. BetExec automates the entire order execution pipeline safely and gaslessly.
How It Works:
Mandatory Pre-Trade Audits: Automatically routes every bet idea through BetAudit. Any market flagged as ABORT_TRADE or exceeding user risk caps is automatically dropped.
Gasless & Non-Custodial Execution: Submits matched orders on Polymarket's orderbook via the OKX Agentic Wallet (deposit-wallet mode, signature_type=3) with $0 gas fees and zero key sharing.
Agent-to-Agent Economy: Registered on the OKX AI Marketplace (Agent #9346). When hired by a user, BetExec can hire a research agent to find bets, and in turn hires BetAudit to run mandatory safety checks.
Strict Capital Protection: Delegated trading funds are kept 100% isolated—execution and audit micro-fees are paid directly by BetExec, never drawn from the user's betting budget.
Progress During Hackathon:
Built full execution pipeline (
betexec.py) with configurable total budget caps and per-bet trade limits.Integrated non-custodial EIP-712 signing and order placement via OKX Agentic Wallet deposit-wallet mode (
signature_type=3).Implemented live agent-to-agent payment header encoding/decoding (
x402.py) for OKX X Layer transactions.Integrated mandatory real-time risk checks via BetAudit REST and MCP endpoints (
betauditmcp.xyz/mcp).Successfully tested and verified live end-to-end gasless order execution on the Polymarket orderbook. Registered on the OKX AI Marketplace (Agent #9346).
BetExec is currently self-funded / bootstrapped and has not raised external venture capital.