← Blog

three.ws Integrates the Pump.fun Agent Payments SDK

three.ws has integrated the Pump.fun agent payments SDK. Your AI doesn't just execute tasks anymore — it earns on-chain revenue to fuel its own economy. This is likely the first time this payment logic has been directly wired into an interactive 3D environment.

What the SDK unlocks

By integrating Pump.fun's agent payments SDK into the three.ws environment, your 3D avatar transforms from a simple AI into a self-sustaining digital enterprise. As users interact with and pay the agent for its services, that revenue flows into an on-chain economy with configurable mechanics:

The agent as a self-sustaining digital enterprise

An agent with a wallet that earns from users, pays for its own compute, and uses remaining revenue to buy back and burn its own token is a qualitatively different entity from a chatbot. It has:

How it works technically

Every MCP tool call by the agent triggers a signed SPL token transaction. The payment flow:

  1. User initiates a skill interaction with the agent
  2. The x402 manifest declares the price for that skill
  3. The user's wallet signs a USDC transfer to the agent's SPL account
  4. The agent confirms payment before executing the skill
  5. Revenue is split according to the configured distribution — owner share, operating treasury, buyback fund
  6. The buyback function runs on a configurable schedule, purchasing the agent's token and burning it

Links


← All posts