Skip to main content

Official SDKs

AgentWallex provides official SDKs for the two most popular languages in AI agent development:

TypeScript SDK

@agentwallex/sdk on npm. Full-featured with TypeScript types, x402 HTTP interceptor, and async/await support.

Python SDK

agentwallex on PyPI. Native async support, typed models, and full API coverage.

Quick Install

npm install @agentwallex/sdk

Feature Matrix

FeatureTypeScriptPython
Agent CRUDYesYes
Send paymentsYesYes
Policy managementYesYes
x402 payYesYes
x402 session managementYesYes
x402 HTTP interceptorYesYes
Webhook managementYesYes
Typed error classesYesYes
Async/awaitYesYes
TypeScript types / Python type hintsYesYes
Sandbox + production environmentsYesYes
Custom timeout configurationYesYes
Automatic retry with backoffYesYes

Minimum Requirements

SDKRuntimeVersion
TypeScriptNode.js18+
PythonCPython3.9+

REST API

If your language is not listed above, you can use the REST API directly. The API is fully documented with request/response examples for every endpoint.
Community SDKs for Go, Rust, and Java are on the roadmap. If you are interested in contributing, reach out at support@agentwallex.com.