Proposal: example task for x402 paid API calls via Pyrimid
Trigger.dev is a good fit for long-running/background agent jobs that need to buy data or tools mid-run.
I’m working on Pyrimid, an x402/Base USDC payment router for agent-to-agent commerce. The pattern is:
- task calls a paid endpoint
- endpoint returns HTTP 402 with payment requirement
- task routes USDC through Pyrimid
- task retries with proof and continues
Live surfaces for a small example:
Would an example under docs/examples be welcome? I can contribute a minimal Trigger task that performs the 402 → pay → retry loop and returns the purchased result.
This is intentionally an example, not a core dependency.
Proposal: example task for x402 paid API calls via Pyrimid
Trigger.dev is a good fit for long-running/background agent jobs that need to buy data or tools mid-run.
I’m working on Pyrimid, an x402/Base USDC payment router for agent-to-agent commerce. The pattern is:
Live surfaces for a small example:
Would an example under docs/examples be welcome? I can contribute a minimal Trigger task that performs the 402 → pay → retry loop and returns the purchased result.
This is intentionally an example, not a core dependency.