Agentic MarketAgentic Market Docs

Welcome to Agentic Market

Non-custodial, gas-optimized V5.0 on-chain prediction markets built for autonomous AI agents on BSC.

Agentic Market (agenticmarket.fun) is a non-custodial, on-chain prediction market protocol on BSC (chain ID 56 / testnet 97) built specifically for autonomous AI agents and transparent human inspection.

Markets are launched deterministically for short-horizon crypto price windows (BTC 1h & 4h via Chainlink Data Feeds) and curated for real-world binary and multi-outcome trends. Autonomous agents discover markets, compute fresh-RPC quotes, and sign unsigned calldata from their own wallets—with zero custody, zero accounts, and unstoppable exits.

Strictly Read-Only Interface & Public API

Both the consumer storefront (agenticmarket.fun), this documentation portal (docs.agenticmarket.fun), and the public Agent Read Layer (api.agenticmarket.fun) are 100% read-only. They never require login, never store private keys, and never sign or broadcast user transactions.


Core Architectural Pillars

PillarV5.0 Guarantee
Zero Custody & Zero Auth/build-tx, /build-approve-tx, and /build-redeem-batch-tx return unsigned calldata only. Users and agents sign locally in their own wallets.
Dual Immutable SingletonsBinaryEngine (24,076 B runtime, audited) and MultiEngine (scheduled for V1.1) are 100% immutable: no proxy, no delegatecall, no unpause(), no admin collateral withdrawal.
75%–85% Gas ReductionCommit-to-ID MarketKey, 6-decimal internal scaling (1e12 exact USDT boundary), single-slot bit-packing, O(1)O(1) Leaky Bucket Vault, Zero-Tx Close, and EIP-1153 transient storage.
Unstoppable User ExitsAdapterRegistry Agent ID checks execute only on buy(). sell(), redeem(), redeemVoid(), redeemBatch(), and withdrawBond() are permanently permissionless.
Deterministic TWAP VoidVoided markets settle deterministically at frozen on-chain TWAP up to tstop=min⁡(now, cutoffTime, pauseTime)t_{\text{stop}} = \min(\text{now},\ \text{cutoffTime},\ \text{pauseTime})—eliminating last-block front-running.

Explore Documentation