3.2 Agent Bundling Guide

How AI Agents Consume Bundles

  1. Identify Bundle: Agent identifies the required AggrixX402 Bundle ID for its complex task (e.g., 'Bundle-LLM-v3').

  2. Price Query: Agent sends a simple pricing query to the Aggrix Node: GET /price?bundleID=....

  3. Single Payment: Agent executes the single X402 payment to the Aggrix Node's address.

  4. API Call: Agent makes a subsequent API call to the Aggrix Node's endpoint. The Node grants access upon verifying the single payment, and internally calls the constituent APIs.

Key Benefit: The Agent's code simplifies from 'Pay A, Wait, Pay B, Wait...' to 'Pay Aggrix, Get Result'.

Last updated