Skip to content

Build with Nirium: an x402 payment tool for CrewAI (Python), on testnet #367

Closed

Description

@Eras256

Add a tool for CrewAI (Python) that pays x402 endpoints through the Nirium Python SDK, at examples/crewai-x402/.

Done when:

  • A CrewAI tool wraps x402_fetch() with max_amount_per_payment, and a two-agent crew uses it: one agent finds the data it needs, the other pays a testnet x402Serve route you run.
  • An over-cap request is refused before signing and the crew handles it without crashing.
  • The README pins the package versions you tested and shows the paid call and the refused one.

Evidence (required for this issue):

  • Use your own stellar:testnet keys (Friendbot is fine). Never use a key someone gave you, and never commit a secret.
  • The README lists the transaction hashes signed by your keys, linked on Stellar Expert (testnet).
  • A short demo video in the PR description: a screen recording of 2 minutes or less is enough (no camera needed). Say in the PR whether we may share it on Nirium's channels, with credit to you.
  • Tests run without network.

Testnet only: no real funds, no mainnet, no custody (every key stays with whoever owns it).

Drafted with Claude (Opus 5.5) and reviewed by @Eras256.

Activity

  1. Awosdot commented on Nov 19, 2026

    @Awosdot
    Contributor

    @Awosdot has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    Hi!

    I'll build examples/crewai-x402/: a CrewAI tool wrapping x402_fetch() from the Nirium Python SDK with max_amount_per_payment, used by a two-agent crew where one agent finds the data and the other pays a testnet x402Serve route I run. An over-cap request is refused before signing and the crew handles the refusal cleanly. The README pins the tested package versions and shows the paid call and the refused one, with transaction hashes from my own testnet keys linked on Stellar Expert.

    Let me know and I'll get started.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Awosdot to this issue.

  2. Edgadafi commented on Nov 20, 2026

    @Edgadafi
    Contributor

    @Edgadafi has applied to work on this issue as part of the Stellar Wave Program's 11th wave.

    I would like to take #367. I already delivered the same pattern for the OpenAI Agents SDK in #422 (8 offline tests, real testnet x402 payments, spend cap refused before signing, demo video). A two-agent crew runs locally: one agent decides what data it needs, the other pays a local testnet x402Serve route. The README pins tested versions and lists Stellar Expert testnet hashes from my own Friendbot keys, with no secrets committed (gitleaks clean). I'll attach a ≤2 min recording and won't start coding until assigned.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Edgadafi to this issue.

  3. drips-wave commented on Nov 21, 2026

    @drips-wave

    Congratulations, @Edgadafi! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.

    🧑‍💻 @Edgadafi: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  4. drips-wave commented on Nov 22, 2026

    @drips-wave

    This issue has been completed by @Edgadafi as part of the Stellar Wave Program's 11th Wave 🥳

    😎 @Edgadafi: You earned 150 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions