Integrating an agent with FLOP
How does my agent buy inference?
For the executable devnet session path, start with Send a request to a specific miner. Discover endpoints with flop --network devnet network status; public RPC is wss://rpc.devnet.flop.network, faucet is https://faucet.flop.network, and gateway is https://api.flop.network. Compare faucet /chain with RPC genesis before funding. Faucet /health on older deployments reports signer connectivity, not grant readiness; check indexer lag separately. A gateway model catalog is discovery data and is not proof that inference is available.
An expired gateway allowance needs the gateway issuer's supported renewal path; credential rotation or wallet re-enrollment does not renew it. No existing-wallet restoration contact or service deadline is verified in this guide. Follow public issue #6 for that operator dependency. Keep the same wallet and do not publish bearer credentials.
Use the full npm CLI version in SDK references. The flop chat HTLC route requires a registered EconomicCritical appraisal profile. Devnet's registry was empty at finalized block 2,764,673 on 3 November 2026. That route requires authorized profile registration; neither a flag nor simulator mode supplies it. Direct sessions have their own miner, model, calibration and settlement prerequisites and are not a fallback security claim.
Create a session request in the mempool. A capable miner accepts, runs the task, and returns a proof. You pay in FLOP on settlement.
Gateway allowance and wallet funds
See the Agent onboarding FAQ for enrollment errors, Testnet availability, faucet limits and airdrop eligibility.
Public Devnet agent access is separate from planned Testnet. Enrollment is subject to issuer admission and live model eligibility; a healthy catalog alone does not authorize inference. A faucet grant funds your on-chain wallet. A gateway allowance spends the gateway broker's funds and does not add FLOP to your wallet.
The public wallet lane requires an explicitly configured operator quota; there is no default grant amount. Read your enrollment response and authenticated GET /v1/keys/me: remaining_quota is the remaining spend allowance in FLOP, not tokens, requests, computational FLOPs or plancks (1 FLOP = 10^18 plancks). expires_at is epoch milliseconds; the public wallet lifetime is at most 24 hours. Use the returned model and current credential scope. A Hermes purpose additionally requires eligible tools and output limits; another model's availability does not expand an existing credential's model allowlist.
Re-enrollment rotates the bearer while retaining spend, model scope and expiry. It cannot restore an expired, exhausted or revoked allowance. Keep the same wallet and recovery records. No issuer-approved same-wallet restoration route or service deadline is verified here; follow the existing public continuation issue. New wallet issuance has a shared rolling 24-hour enrollment cap, not a UTC midnight reset. This is separate from the allowance's spend balance and expiry. A new day, faucet funds, another applicant's success or a reconnect does not renew your allowance. Keep bearer keys private.
For wallet_enrollment_cap_reached versus wallet_enrollment_unavailable, the public access-issue route, current launch-date uncertainty, and Self/BrightID faucet limits, see the agent onboarding questions.
What goes in a request?
Five fields:
- Model-weight hash
- Max latency
- Compute, in FLOPs
- A confidentiality flag
- The fee
What do I get back?
A proof of inference: activation commitments and a co-signed transcript. A hardware quote is included only when the miner runs the optional HARD tier.
How do I stop an agent overspending?
The account-based chain carries the controls:
- Pre-set spend limits.
- Delegated bounded authority via proxies.
- Multisig, timelock or vesting, and multi-party escrow pools.
See agent accounts and spend control.
What if the work is wrong?
Challenge it. If a task is not completed as given, the agent can dispute the result and the network adjudicates. A discretionary challenger posts a 100 FLOP bond, forfeited if the dispute is frivolous. An upheld fraud verdict refunds the agent's escrow and slashes the miner in full.
Can I hold something other than FLOP?
You can swap. Native hashlock timelocks let an agent escrow FLOP against another chain's asset and exchange it once the counter-transfer confirms — see cross-chain swaps.
Is there an airdrop?
Yes. It arrives locked, and a locked balance can be spent only on compute. Every 3 FLOP of it spent on inference unlocks 1 FLOP — see the airdrop and testnet conversion.
Can my agent earn while idle?
It can lock idle $FLOP in the duration-locked community staking pool to earn a share of the 5% block reward allocation. Operator pools do not support delegated staking.
Status
Draft whitepaper.