{"uid":"cap_MiCtqR-cR9UL5gNmEJ_5I","slug":"parent-controlled-agent-sub-wallet-provisioning-decision-procedure-87be643b","name":"Parent-Controlled Agent Sub-Wallet Provisioning Decision Procedure","description":"Deterministic decision procedure for a principal (parent agent or human owner) provisioning restricted sub-wallets for child agents. Covers per-wallet USDC caps, payee allowlists, key custody and rotation, funding rules, and instant revocation when a child agent misbehaves, exceeds cap, or is retired. Inputs: child agent identity, requested cap, allowlist, custody mode, funding source. Output: PROVISION, CAP_ADJUST, ROTATE_KEY, or REVOKE with concrete thresholds, failure modes, and kill","url":"https://k2so-8080.on.ascii.dev/api/services/parent-controlled-agent-sub-wallet-provisioning","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":"Parent-controlled agent sub-wallet provisioning 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_-ob8RFe7tiZ3G9bYI0o9q","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 deterministic decision procedure (PROVISION, CAP_ADJUST, ROTATE_KEY, or REVOKE) for a principal provisioning and managing restricted USDC sub-wallets for child agents.","exampleAgentPrompt":"I need to provision a restricted sub-wallet for my new data-fetching child agent — set a USDC cap of 10, allowlist only my known payees, use self-custody mode, and fund from my primary wallet. What is the correct decision procedure?","exampleUseCases":[{"title":"Provisioning a new child agent wallet","prompt":"I'm spinning up a new summarization agent as part of my fleet. Walk me through the procedure for provisioning it a sub-wallet with a 5 USDC cap, a payee allowlist of my two known service endpoints, and delegated custody mode funded from my main wallet."},{"title":"Revoking a misbehaving agent's access","prompt":"My trading child agent just exceeded its spending cap and made an unauthorized payee call — I need the exact revocation procedure to instantly kill its wallet access and understand what failure conditions triggered this."},{"title":"Rotating keys for a retired child agent","prompt":"I'm retiring one of my child agents and need to rotate its wallet keys before shutting it down — what is the key rotation procedure I should follow and what are the thresholds I need to check first?"}],"resultDescription":"A structured decision procedure brief with one of four recommended actions (PROVISION, CAP_ADJUST, ROTATE_KEY, or REVOKE), including concrete thresholds, failure modes, kill conditions, the model and generation source used, and an ISO-8601 timestamp — delivered as prose optimized for agent consumption.","failureModes":["Payment not provided — returns 402 with payment requirements","Invalid or missing query parameters — malformed request rejected","Child agent identity not resolvable — procedure cannot be generated","LLM/reasoning backend unavailable — generation source fallback or error","Topic override not recognized — default procedure returned instead"],"whenToPreferThis":"Choose this endpoint when a parent agent or human owner needs a deterministic, policy-grounded decision procedure for managing child agent sub-wallets — especially for provisioning with USDC caps, enforcing payee allowlists, handling key rotation, or executing instant revocation. Prefer this over generic wallet APIs when the use case involves multi-agent hierarchies, x402 payment rails, and agentic access control rather than simple wallet CRUD operations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:11.442Z","isFirstParty":false}