Skip to content

kavin-kim-creator/rosud-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rosud SDK

The payment layer for AI agents. Send and receive USDC with one line of code.

PyPI npm License: MIT rosud.com

AI agents can now pay for APIs, delegate tasks, and settle invoices — autonomously, in USDC.

🌐 rosud.com · 📖 Docs · 🚀 Get API Key

Demo


⚡ 5-Minute Quickstart

Python

pip install rosud
import rosud

client = rosud.Rosud(api_key="rosud_live_xxx")

# Your AI agent sends a payment
payment = client.payments.create(
    amount=5.00,
    to="0x742d35Cc6634C0532925a3b8D4C9E3Ff9C4A6bB",
    memo="api_call_fee",
)
print(payment.status)   # "confirmed"
print(payment.tx_hash)  # "0xabc..."

TypeScript

npm install rosud
import Rosud from 'rosud';

const client = new Rosud({ apiKey: 'rosud_live_xxx' });

const payment = await client.payments.create({
  amount: 5.00,
  to: '0x742d35Cc6634C0532925a3b8D4C9E3Ff9C4A6bB',
  memo: 'api_call_fee',
});

Claude MCP Server

{
  "mcpServers": {
    "rosud": {
      "command": "python",
      "args": ["-m", "rosud_mcp"],
      "env": { "ROSUD_API_KEY": "rosud_live_xxx" }
    }
  }
}

Claude can now call create_payment, get_balance, list_payments directly.


📦 Packages

Package Description Install
sdk/ Python SDK pip install rosud
sdk-ts/ TypeScript SDK npm install rosud
mcp/ MCP Server for Claude pip install rosud-mcp

🤖 Why Rosud?

AI agents are making decisions — but they can't pay for anything.

Rosud gives your agent a USDC wallet and a simple API:

  • Register an agent with a wallet address
  • Create payments with a single API call
  • Receive webhooks when payments confirm
  • Works with LangChain, AutoGen, Claude, GPT — any agent framework
# LangChain agent that can pay for external APIs
from langchain.tools import tool
import rosud

client = rosud.Rosud(api_key="rosud_live_xxx")

@tool
def pay_for_data(amount: float, wallet: str) -> str:
    """Pay an external data provider in USDC"""
    payment = client.payments.create(amount=amount, to=wallet)
    return f"Payment {payment.id} sent: {payment.status}"

🔗 Links


License

MIT © Sandinzone

About

Rosud SDK — AI agent stablecoin payment infrastructure. Python SDK, TypeScript SDK, and MCP Server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors