Your AI agent can browse the web and draft emails, but the moment it needs to touch money, it hits a wall. WAIaaS is an open-source, self-hosted Wallet-as-a-Service that hands your agent a real crypto wallet, bridging the gap between reasoning frameworks like LangChain and on-chain execution. The project ships with TypeScript and Python SDKs that both carry zero external dependencies, eliminating the transitive supply-chain risks that usually plague agent infrastructure.

The Plumbing Problem

Most AI agent frameworks are great at reasoning but terrible at holding keys. Developers currently end up writing custom signing code, managing RPC connections by hand, and handling retry logic for on-chain confirmations. That’s not the interesting part of building an agent; it’s infrastructure plumbing. WAIaaS abstracts this away, allowing you to self-host a single Docker container and point your SDK at it. The daemon handles the pipeline, policy engine, and signing, letting you focus on the agent's logic rather than its wallet.

Dual-Language Support With Zero Bloat

The project offers two official SDKs: @waiaas/sdk for TypeScript/Node.js environments and waiaas for Python. Both are async-native and dependency-free. The Python SDK drops cleanly into asyncio-based frameworks like CrewAI or AutoGPT, using a context manager to handle session lifecycle. The TypeScript SDK is equally streamlined, requiring no provider setup or ABI loading. You simply instantiate a client, check balances, and send tokens. The underlying daemon exposes 39 REST API route modules, supporting seven transaction types including ContractCall and NFTTransfer, ensuring you aren't losing functionality by using the SDK layer.

Policy Engines and Safety Tiers

Safety is baked into the infrastructure, not just the prompt. WAIaaS includes a policy engine with 21 policy types and four security tiers: INSTANT, NOTIFY, DELAY, and APPROVAL. You can configure spending limits via a master password, setting thresholds like $100 for instant execution and $2,000 for manual approval. The system is default-deny; if you haven't whitelisted a token or contract, your agent can't accidentally drain the wallet. Errors returned to the agent are machine-readable, with codes like POLICY_DENIED allowing the agent to reason about failures and decide whether to escalate to a human or try a smaller amount.

DeFi Integration and x402 Payments

Beyond simple transfers, the daemon integrates 15 DeFi protocol providers, including Aave v3, Jupiter Swap, and Hyperliquid. This allows agents to perform complex actions like liquid staking or cross-chain bridging directly from their session token. A standout feature is x402Fetch(), which supports the x402 HTTP payment protocol. This enables agents to make HTTP requests that automatically pay for themselves when the server returns a 402 status code, allowing an agent to fund its own tool calls without human intervention. For development, a dry-run mode simulates transactions through the full validation pipeline without touching the chain.

Key Takeaways

  • WAIaaS provides a self-hosted, Docker-based wallet solution for AI agents, removing the need for custom signing infrastructure.
  • Both TypeScript and Python SDKs are zero-dependency, reducing supply-chain attack surfaces for agent developers.
  • The platform includes a robust policy engine with four security tiers and default-deny configurations to prevent accidental wallet drainage.
  • Native support for the x402 protocol allows agents to autonomously pay for API access via HTTP 402 responses.
  • Integration with 15 DeFi protocols enables complex on-chain actions like swaps and staking directly from agent code.

The Bottom Line

WAIaaS is the missing infrastructure layer for autonomous agents, successfully decoupling financial execution from reasoning logic while prioritizing security through a robust, self-hosted policy engine.