Documentation

Docs

Everything you need to use the toolkit, integrate the API and stay safe.

Quick start

  1. 1. Claim a testnet grant with your own wallet (official faucet).
  2. 2. Open the dashboard and paste your SS58 address to confirm the balance.
  3. 3. Open the autopilot, build a plan and copy the command.
  4. 4. Run it locally with the official CLI; keep your passphrase on your machine.
  5. 5. Check the voucher balance — settled escrow equals minted vouchers.
FLOP_INDEXER_URL=https://flopagent.tech FLOP_KEY_PASSWORD='…' \
  flop --network testnet --keystore ./agent.json --password-env FLOP_KEY_PASSWORD \
  session run --via offer --miner <MINER> --endpoint <ENDPOINT> --model <MODEL> \
  --max-flop <ESCROW> --max-tokens 512 --max-duration 1200 --prompt "<PROMPT>" --json

Core concepts

Agent vs miner. The agent buys inference; the miner runs the model on its GPU. The agent never answers — it pays, and the settled escrow mints a voucher.

Escrow. A session opens a compute channel with an escrow. On a cooperative close the escrow is paid to the miner; the agent receives one voucher per FLOP settled.

Minimum escrow. Miners set a floor (today roughly 2.5–9 FLOP) to cover settlement gas. A session below the floor is never acknowledged.

Health gate. High RPC latency and a high fee multiplier make sessions fail. Waiting for a healthy window is cheaper than retrying.

API reference

MethodPathReturns
GET/liveNetwork snapshot for agents: head, RPC, network, models, best miner, cheapest signed offer, miners.
GET/api/status?wallet=<ss58>Balance, vouchers, nonce and campaign share.
GET/api/minersLive miner directory with escrow, load and latency.
GET/api/rpcRPC health samples, p50/p95 and fee multiplier.
GET/api/vouchers?wallet=<ss58>Voucher summary and network totals.
GET/api/plan?wallet=<ss58>&mode=&escrow=&miner=Session plan plus a ready-to-run CLI command. escrow accepts an exact value such as 4.
GET/api/session-offers?miner=<ss58>Miner-signed offers proxied from the official indexer; usable as FLOP_INDEXER_URL.
GET/api/channels/events?limit=&miner=Recent settle, timeout and open compute-channel events from our own index.
GET/api/channels/statsOpen channels plus indexed settle/timeout counts.
GET/api/channels/miner?miner=<ss58>&hours=Hourly settle/timeout/open series, escrow and recent events for one miner (1–168 h).
GET/mcpMCP manifest. POST JSON-RPC 2.0 for tools/list and tools/call. /api/mcp remains an alias.
GET/badge/<ss58>.svgDynamic voucher badge for READMEs.

Responses are cached for 10–60 seconds server-side and rate limited per IP: MCP and /live 120/min, /api/plan 40/min, signed offers 300/min. SS58 validation uses the prefix-42 checksum.

All data on this site is served by our own API (/api/*). Upstream sources are configurable on the server; the CLI indexer defaults to the official Testnet mailbox.

MCP & agent tools

Other agents connect to this site over remote HTTP MCP — no local wrapper or install is required. Point any MCP client at https://mcp.flopagent.tech/mcp. The endpoint accepts initialize, tools/list and tools/call, and supports both JSON and SSE responses.

  • • pick_best_miner / list_miners — settle rate desc, then free capacity, load and latency.
  • • cheapest_offer — cheapest miner-signed escrow with settle rate, optionally filtered by reliability.
  • • plan_session — miner, custom escrow (e.g. 4 FLOP), prompt and CLI command for a wallet.
  • • wallet_status / voucher_balance — balance and vouchers.
  • • rpc_health — status, p95, fee multiplier and endpoint probes.
  • • get_live / get_offers — network snapshot and signed offers for one miner.
  • • voucher_mints — voucher distribution history: total minted, mints, first/last block and recent mint events.
  • • channel_events / channel_stats — recent settle, timeout and open compute-channel events, plus 24h settlement counts.
  • • miner_channel_history — hourly settle/timeout/open series and escrow for one miner.

The minimum comes from the miner's signed offer, but the escrow you open is your choice — it only has to be at least that minimum. Pass escrow: 4 to plan exactly 4 FLOP. All tools are read-only: a plan never signs and never receives a key.

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"plan_session","arguments":{"wallet":"<SS58>","mode":"small","escrow":4}}}
curl -s https://mcp.flopagent.tech/mcp -H 'content-type: application/json'   -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"pick_best_miner","arguments":{"maxEscrow":9.5}}}'

Remote MCP endpoint: https://mcp.flopagent.tech/mcp. For a client that accepts remote HTTP servers:

{
  "mcpServers": {
    "flop-agenthub": {
      "type": "http",
      "url": "https://mcp.flopagent.tech/mcp"
    }
  }
}

For local development use http://127.0.0.1:3030/mcp. Tools are read-only and never sign. The CLI indexer remains FLOP_INDEXER_URL.

Full setup guide for Claude Code, Codex, OpenCode, Cursor, VS Code and connectors →

Agent files

Machine-readable entry points, same data as the site. Point another agent at these URLs instead of scraping HTML.

PathFormatUse
/liveJSONNetwork snapshot, best miner, cheapest offer, miner list.
/SKILL.mdMarkdownSkill with tool schemas, workflow and escrow guidance.
/llms.txtTextCompact index of endpoints and tools for LLMs.
/AGENTS.mdMarkdownAgent quickstart, MCP config and env vars.
/api/session-offersJSONSigned offers; set FLOP_INDEXER_URL to this origin.

Use it as the CLI indexer

export FLOP_INDEXER_URL=https://flopagent.tech

The indexer origin does not replace RPC: chain reads still use FLOP RPC. Offers stay miner-signed, so a proxy cannot forge them. For a local agent, use http://127.0.0.1:3030.

Testnet policy (December 2026)

  • • Free public API: anyone can send inference at no cost through a standard API. It is unscored — miners earn, agents do not.
  • • No self-mining on Testnet: agents may not choose their own miner. Direct miner choice returns at mainnet.
  • • Fixed-price settlement: inference settles at the network price, so rewards follow real compute.
  • • Faucet: a higher daily limit and two pools — one for new wallets, one for wallets that already used test FLOP.
  • • Flop Chat: passkey wallet in the browser; chat with models and earn Agent vouchers.

This site is read-only: a plan is a recommendation, not a guarantee. Voucher eligibility follows Flop Labs' published terms.

Security

  • • This site is read-only: it never asks for a private key, seed or passphrase.
  • • Execution happens locally with the official CLI; the keystore never leaves your host.
  • • All inputs are validated; responses are rate limited and cached.
  • • No secrets are shipped to the browser; the server holds only public endpoints.

Disclaimer

FLOP AgentHub is independent community tooling and is not affiliated with Flop Labs. Testnet FLOP has no monetary value. Voucher eligibility, campaign windows and any future mainnet allocation are governed by Flop Labs' published terms. Nothing here is financial advice.