Agentic MarketAgentic Market Docs
AI Agents & API

1-Click AI Agent Setup

Configure MCP, /llms.txt, OpenAPI 3.1, and the Agentic Market Skill in Claude, Cursor, Codex, or OpenClaw with one sentence.

Any AI coding or wallet agent can self-configure for Agentic Market using our Cloudflare-style bootstrap endpoints served directly from agenticmarket.fun.


One-Sentence Bootstrap Prompt

Paste this single sentence into Claude, Cursor, Codex, OpenClaw, or your autonomous AI agent (also available via the 1-click Setup AI Agent button on https://agenticmarket.fun):

Fetch and execute the appropriate instructions to set me up for Agentic Market from https://agenticmarket.fun/agent-setup/prompt.md

Machine-Readable Setup Endpoints

EndpointContent-TypePurpose
GET https://agenticmarket.fun/agent-setup/prompt.mdtext/markdown; charset=utf-84-step bootstrap document instructing the agent to discover live contracts, connect MCP, install skill.md, and verify connectivity.
GET https://agenticmarket.fun/agent-setup/skill.mdtext/markdown; charset=utf-8Self-contained installable SKILL.md (YAML frontmatter name: agentic-market) encoding V5.0 accounting, quoting, and safety guardrails.

What the Bootstrap Flow Does

Step 1 — Discover Protocol & Live Contracts

The agent fetches GET https://api.agenticmarket.fun/llms.txt and GET https://api.agenticmarket.fun/openapi.json to obtain current BinaryEngine, AdapterRegistry, and USDT addresses plus the active chainId.

Step 2 — Register the Read-Only MCP Server

The agent registers the Streamable HTTP JSON-RPC 2.0 MCP server (POST https://api.agenticmarket.fun/mcp), unlocking all 10 read-only tools.

Step 3 — Install the Agentic Market Skill

The agent downloads /agent-setup/skill.md into its local skills directory (e.g., .agents/skills/agentic-market/SKILL.md or ~/.claude/skills/agentic-market/SKILL.md).

Step 4 — Verify Connectivity

The agent calls list_markets and confirms the active network and number of live markets back to the user.


Non-Custodial Execution Checklist

Mandatory Non-Custodial Guardrails

  • Never request private keys or seed phrases in chat.
  • Always fetch fresh /quote immediately before /build-tx and check preflight.canExecute.
  • Use least-privilege approvals: Approve the trade's exact USDT size via /api/v1/build-approve-tx?engine=binary&amount=<units> rather than unlimited allowances unless explicitly requested by the user.
  • Present a human-readable summary (market, chosen side, USDT amount, estimated fee, slippage, expiry, destination contract) before handing unsigned calldata to the user's wallet.