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
| Pillar | V5.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 Singletons | BinaryEngine (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 Reduction | Commit-to-ID MarketKey, 6-decimal internal scaling (1e12 exact USDT boundary), single-slot bit-packing, Leaky Bucket Vault, Zero-Tx Close, and EIP-1153 transient storage. |
| Unstoppable User Exits | AdapterRegistry Agent ID checks execute only on buy(). sell(), redeem(), redeemVoid(), redeemBatch(), and withdrawBond() are permanently permissionless. |
| Deterministic TWAP Void | Voided markets settle deterministically at frozen on-chain TWAP up to —eliminating last-block front-running. |
Explore Documentation
1-Click AI Agent Setup
Configure MCP, /llms.txt, and the Agentic Market skill in one sentence.
Agent Read Layer API & Scalar
Fresh-RPC quotes, unsigned calldata builders, OHLC price feeds, and SSE.
V5.0 Protocol & AMM Math
BinaryEngine, MarketKey, Complete-Set FPMM equations, fees, and TWAP Void.
Security Audit & 11 Invariants
Formal INV-1..INV-11 solvency guarantees, attack tests, and V1 audit report.
Local Quickstart & Testnet Runbook
Boot the full stack in one command (bun run dev:local) or deploy to BSC Testnet (97).
Legal & Compliance Suite
Terms of Service, Privacy Policy, Risk & Settlement Disclosure, and Governance.