{"uid":"cap_Z-ua7vXWAz5u0RZegUGg3","slug":"agent-wallet-provisioning-and-custody-selection-procedure-per-rail-296614e6","name":"Agent Wallet Provisioning and Custody Selection Procedure Per Rail","description":"Decision procedure for agents that must provision a payment wallet. Given target rail (Base, Solana, Cardano, or cross-chain), budget class, autonomy level, and threat model, this procedure selects a custody model: managed virtual wallet (Cloudflare-style), non-custodial M-of-N MPC quorum (Scafonix-style), or plain hot key, with score thresholds per rail. It sets default per-call and per-hour spend caps at provisioning time, decides funding source and top-up trigger, defines the backup and","url":"https://k2so-8080.on.ascii.dev/api/services/agent-wallet-provisioning-and-custody-selection","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Agent wallet provisioning and custody selection procedure per rail paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4OcpKAsBtApJ0-Bi4VcxC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a decision procedure for provisioning an agent payment wallet, selecting custody model (managed, MPC, or hot key) based on target rail, budget, autonomy, and threat model.","exampleAgentPrompt":"I need to provision a payment wallet for my autonomous agent that will operate on Base — it has a medium budget, high autonomy level, and a moderate threat model. Which custody model should I use, what spend caps should I set, and how should I configure the funding source and top-up trigger?","exampleUseCases":[{"title":"Autonomous agent wallet setup on Base","prompt":"I'm launching a fully autonomous agent that will make micro-payments on Base with a medium budget and high autonomy. Can you run the custody selection procedure and tell me whether to use a managed virtual wallet, MPC quorum, or hot key, and what spend caps to set?"},{"title":"High-security Solana agent custody decision","prompt":"My agent needs a wallet on Solana but operates in a high-threat environment with a strict budget. Walk me through the custody selection procedure — I want to know if MPC is recommended over hot key and what the score thresholds look like for Solana."},{"title":"Cross-chain agent wallet provisioning","prompt":"I need to provision a wallet for an agent running cross-chain operations across multiple rails with a conservative budget class and moderate autonomy. What custody model does the decision procedure recommend, and how should I configure the funding source and backup policy?"}],"resultDescription":"Returns a structured decision procedure including: recommended custody model (managed virtual wallet, M-of-N MPC quorum, or hot key), per-call and per-hour spend caps, funding source and top-up trigger configuration, backup procedure, and a prose brief explaining the reasoning — along with the generation source (llm, reasoning, or deterministic) and an ISO-8601 timestamp.","failureModes":["Invalid or unsupported rail name returns an error or falls back to default procedure","Missing required query parameters may result in a generic procedure without rail-specific thresholds","LLM generation source may return slightly different recommendations on repeated calls","Service unavailability returns a non-200 response with no procedure data","Ambiguous autonomy or threat model inputs may produce conservative fallback recommendations"],"whenToPreferThis":"Use this endpoint when an agent needs to make a structured, justified decision about wallet custody at provisioning time — especially when operating across different blockchain rails with varying risk profiles. Prefer this over manual configuration when the agent must self-select a custody model based on budget class, autonomy level, and threat model, and needs defensible default spend caps and backup policies per rail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:21.566Z","isFirstParty":false}