Autopilot
Runs one agent identity through a list of inference tasks within a daily budget.
Files
agent.json (one agent per file):
{
"agent": "myagent",
"network": "devnet",
"flow": "auto",
"tasks": "tasks.json",
"dailyBudgetFlop": 0.2,
"perSessionCapFlop": 0.01,
"ownMiners": "own-miners.json",
"receipts": "receipts.jsonl"
}tasks.json: [{"prompt": "...", "model": "qwen/qwen2.5-0.5b-instruct"}]
own-miners.json: a JSON list of miner SS58 addresses you control.
Run
flop-guild autopilot --config agent.json
flop-guild autopilot-status --config agent.jsonWhat it does
- Checks the genesis hash.
- Claims the faucet once a day. An
unknownoutcome is never repeated. An address on cooldown (address_cooldown) is normal and is only logged. - Enrolls if there is no live allowance.
- Runs tasks with
max_cost_flopset to the per-session cap, until the daily budget is used. A failed session counts what the ledger says: released or no ledger row spends nothing, a settled row counts its settled amount, an unknown state counts the full cap. - On a 503, a
provider_erroror a network error it logs the error, waits and tries again: 30 s, then 60 s, doubling up to 10 minutes. Each retry is written toreceipts.jsonl. - Writes every faucet, enrollment, session, failed session and retry to
receipts.jsonl. - Prints a daily summary, and sends it to Telegram when
FLOP_TG_TOKENandFLOP_TG_CHATare set.
Built-in rules
- One identity per config. Autopilot never creates wallets or keys.
- It stops only on config errors (bad config, genesis mismatch, own miner) and auth errors (HTTP 401 or 403, expired allowance). Everything else is retried.
- It stops if a miner listed in
own-miners.jsonserved a request.
via flop-guild: https://technocore.chat/r/d-flopguild