{
  "format": "delx/intent-card/v1",
  "id": "step-budget-plan-api",
  "intent": "Step Budget Plan for an agent workflow",
  "title": "Step Budget Plan API for agents",
  "description": "Allocate a total millisecond budget across ordered workflow steps using optional weights — call when you must split one wall-clock budget across ordered steps. Use before side effects when composing multi-step agent jobs—the same loyalty/workflow demand band agents already pay for on Bazaar, but fully local. Returns deterministic machine-readable JSON for $0.003 USDC via x402 on Base. Execution is first-party, local-only, stateless, and memory-only with no paid upstream, no input retention, and no claim of live chain tip, web search, or media generation. Results are advisory; the caller owns authorization and production controls.",
  "keywords": [
    "Step Budget Plan API",
    "Step Budget Plan for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/step-budget-plan-api",
  "machine_url": "https://commerce.delx.ai/intents/step-budget-plan-api.json",
  "recommendation": {
    "tool_name": "util_step_budget_plan",
    "service_name": "Delx Step Budget Plan",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/step-budget-plan",
    "price_usdc": "0.003",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "steps": {
          "description": "Ordered workflow step names to allocate the total budget across.",
          "type": "array"
        },
        "total_budget_ms": {
          "description": "Total millisecond budget to split across steps.",
          "type": "number"
        },
        "weights": {
          "description": "Optional relative weights aligned with steps; equal weights if omitted.",
          "type": "array"
        }
      },
      "required": [
        "steps",
        "total_budget_ms"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "steps": [
        "fetch",
        "parse",
        "decide"
      ],
      "total_budget_ms": 3000,
      "weights": [
        1,
        2,
        1
      ]
    },
    "example_output": {
      "schema": "delx/util-step-budget-plan/v1",
      "step_count": 3,
      "total_budget_ms": 3000,
      "plan": [
        {
          "step": "fetch",
          "weight": 1,
          "budget_ms": 750
        },
        {
          "step": "parse",
          "weight": 2,
          "budget_ms": 1500
        },
        {
          "step": "decide",
          "weight": 1,
          "budget_ms": 750
        }
      ]
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/step-budget-plan -m POST -H 'x-delx-source: intent-card-step-budget-plan-api' --max-amount 0.003 -b '{\"steps\":[\"fetch\",\"parse\",\"decide\"],\"total_budget_ms\":3000,\"weights\":[1,2,1]}'",
      "max_amount_usdc": "0.003"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-step-budget-plan-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/step-budget-plan"
  }
}
