Skip to content

New Toolkit Request: agentwallet-sdk — non-custodial payments for AI agents (x402, on-chain spend limits) #3068

@up2itnow0822

Description

@up2itnow0822

Toolkit request: agentwallet-sdk

Composio has 500+ toolkits covering everything from CRMs to calendars to code execution — but there's nothing for payments. If an agent needs to pay for an API, handle usage-based billing, or move funds programmatically, devs have to wire up Stripe or crypto manually outside Composio.

What agentwallet-sdk does

agentwallet-sdk is an MIT-licensed, non-custodial wallet SDK built for AI agents. It uses the x402 protocol (HTTP 402 Payment Required) to handle agent-to-service payments, with spending limits enforced on-chain by smart contract.

  • On-chain spend caps: limits set in a smart contract, not just config a dev can forget to update
  • Non-custodial: agent holds its own keys — no intermediary custody
  • ERC-6551 compatible: wallet tied to agent identity token
  • Patent pending (v6.0.0)

The payment layer for this SDK also has an MCP server wrapper (agentpay-mcp) that was recently merged into NVIDIA's NeMo-Agent-Toolkit-Examples: NVIDIA/NeMo-Agent-Toolkit-Examples#17

What a Composio integration could look like

from composio_openai import ComposioToolSet, App

toolset = ComposioToolSet()
tools = toolset.get_tools(apps=[App.AGENTWALLET])

# Agent now has access to:
# - AGENTWALLET_PAY — make a payment to a service endpoint
# - AGENTWALLET_GET_BALANCE — check current wallet balance
# - AGENTWALLET_LIST_TRANSACTIONS — audit recent payments
# - AGENTWALLET_SET_SPEND_LIMIT — update on-chain spending cap

Why this fills a real gap

There are already Composio toolkit requests for financial data (TradeKix #2631) and document signing (Signbee #2932) — payments is the obvious missing piece. As agents start calling paid APIs and services, payment capability needs to be a first-class tool, not a manual integration.

References

Happy to assist with the toolkit implementation if the Composio team wants to move on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions