Skip to main content

The First Payment SDK for Autonomous AI Agents.

Project description

🤖 iAgentPay SDK v1.0

The Standard Payment Layer for Autonomous AI Agents.

PyPI version License: MIT

AgentPay is a Python SDK designed to allow AI Agents (AutoGPT, LangChain, BabyAGI) to send and receive micropayments securely.

🚀 Features

  • ⚡ High-Frequency Trading: Capable of 750+ transactions per minute.
  • 🔐 Military-Grade Security: Encrypted JSON Keystores (AES-128).
  • 🔐 Military-Grade Security: Encrypted JSON Keystores (AES-128).
  • 🌍 Multi-Chain Support (EVM):
    • Ethereum (Mainnet & Sepolia)
    • Base (Coinbase L2)
    • Polygon (Low fees)
    • Arbitrum & Optimism
    • 🚧 Solana (Coming Soon in v2.0)
  • 🛡️ Reliability Engine: Auto-manages Nonces and Gas Fees to prevent stuck transactions.
  • 🛡️ Reliability Engine: Auto-manages Nonces and Gas Fees to prevent stuck transactions.
  • 💸 Dynamic Pricing: Update your agent's service fees remotely without code changes.
  • 🎁 60-Day Free Trial: Start building risk-free with our extended beta program.
  • 📊 Audit Logs: Built-in SQLite transaction history.

📦 Installation

pip install iagent-pay

⚡ Quick Start

1. Initialize Wallet

from iagent_pay import WalletManager

# Create or Load Wallet (Securely)
wm = WalletManager()
wallet = wm.get_or_create_wallet(password="SuperSecurePassword")
print(f"My Agent Address: {wallet.address}")

2. Send a Payment (Sepolia)

from iagent_pay import AgentPay

# Connect to Sepolia (or BASE, POLYGON, LOCAL)
agent = AgentPay(wallet, chain_name="SEPOLIA")

# Pay another agent 0.001 ETH
tx_hash = agent.pay_agent(
    recipient_address="0x123...", 
    amount=0.001, 
    wait=True  # Wait for confirmation
)

print(f"Payment Successful! Hash: {tx_hash}")

3. High-Frequency Mode (No Waiting)

# Send 10 payments instantly
for i in range(10):
    agent.pay_agent("0x123...", 0.0001, wait=False)

🛠️ Configuration

To enable remote pricing updates, create a pricing_config.json locally or host it online:

{
  "trial_days": 14,
  "subscription_price_eth": 0.01
}
from iagent_pay import PricingManager

pm = PricingManager(config_url="https://mysite.com/pricing.json")
price = pm.get_config()['subscription_price_eth']

📄 License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iagent_pay-1.0.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iagent_pay-1.0.2-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file iagent_pay-1.0.2.tar.gz.

File metadata

  • Download URL: iagent_pay-1.0.2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for iagent_pay-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0e5507cf5db57646de46f0d050a4d76ee1819a48000c843ae5795e8d65f2c939
MD5 c884f95223eae12ca9f7a46a1fcb8b63
BLAKE2b-256 e54b86dd289ea7a6b476cc1adcd9c81e2e5a08081b3a7169b017da6aa51ceb11

See more details on using hashes here.

File details

Details for the file iagent_pay-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: iagent_pay-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for iagent_pay-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 94fa3e989cef2afcc64383c1f4941638a35a1982d7f0c1cb917c21e30b3314e2
MD5 773cd7cdf6d2d2065413fdf6daa42433
BLAKE2b-256 e0bbda8c2657ce8aac8dc75c4bca192704aeaf0bce10601cf01574f98ebc0729

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page