Skip to main content
iAgentPay Version Coverage License

🤖💸 iAgentPay

La infraestructura bancaria estándar para Agentes de IA Autónomos.

iAgentPay permite a cualquier sistema de Inteligencia Artificial (CrewAI, LangChain, Claude, Cursor) poseer su propia billetera, manejar presupuestos, y realizar pagos tanto en Criptomonedas (USDC en Solana/Base) como en Dinero Fiat (Stripe/ACH), todo protegido por un Kernel de Seguridad atómico.


🌟 ¿Por qué iAgentPay? (vs La Competencia)

A diferencia de otras soluciones diseñadas para humanos y adaptadas a la fuerza para IA, iAgentPay nació nativamente para agentes autónomos.

Característica iAgentPay v5.0 Coinbase AgentKit Stripe Agent Toolkit OmniAgentPay
Multi-Cadena Real ✅ (Base, Solana, XRPL) ❌ (Solo EVM) ❌ (No Crypto) ✅
Fiat Bridge (Stripe/ACH) ✅ (Smart Routing) ❌ ✅ ❌
Safety Kernel (Límites) ✅ (Atómico / Hilos) ⚠️ (Básico) ❌ ✅
Sub-Agentes (Flotas) ✅ (Límites aislados) ❌ ❌ ❌
Know Your Agent (KYA) ✅ (DID + Reputación) ❌ ❌ ❌
HTTP 402 Autopay ✅ (x402 Protocol) ❌ ❌ ❌

⚡ Instalación Rápida

Instala el SDK completo o módulos específicos según tus necesidades:

pip install "iagent-pay"            # Core SDK
pip install "iagent-pay[fastapi]"   # Para montar servidores x402
pip install "iagent-pay[crewai]"    # Para agentes de CrewAI
pip install "iagent-pay[fiat]"      # Para usar Stripe/ACH
pip install "iagent-pay[all]"       # Instalar todo

Inicia tu proyecto en segundos con nuestro CLI:

iagent-pay init mi-proyecto-ia

🚀 Quickstart (En 1 minuto)

1. El Safety Kernel (Límites de Gasto)

Nunca dejes a tu IA con una billetera sin límites. El Kernel bloquea gastos anómalos.

from iagent_pay.safety_kernel import SafetyKernel, SafetyConfig

kernel = SafetyKernel(SafetyConfig(
    daily_limit_usd=50.0,       # Máximo $50 al día
    max_tx_usd=10.0,            # Máximo $10 por transacción
    enable_whitelist=True,
    allowed_recipients=["0xTrustedVendor..."]
))

# El agente intenta gastar $5.0 (Aprobado ✅)
kernel.check(amount=5.0, recipient="0xTrustedVendor...")

# El agente es hackeado e intenta gastar $100 (Bloqueado ❌)
# Lanza: TransactionCapExceeded
kernel.check(amount=100.0, recipient="0xHacker...") 

2. Smart Routing (Crypto vs Fiat)

Delega al SDK la decisión de qué riel de pago usar dependiendo del destinatario.

from iagent_pay.fiat_bridge import FiatBridge

bridge = FiatBridge(stripe_key="sk_live_...")

# Automáticamente usa USDC en Base/Solana (Es una wallet cripto)
bridge.smart_send(10.0, recipient="0xAliceWallet...") 

# Automáticamente crea un Stripe Invoice (Es un email)
bridge.smart_send(10.0, recipient="freelancer@gmail.com", description="Pago de diseño")

3. Integración con CrewAI

Dale a tu agente el poder de pagar autónomamente.

from crewai import Agent
from iagent_pay.integrations.crewai import iAgentPayTool

agent = Agent(
    role='Comprador de Datos',
    goal='Comprar los mejores datasets de internet',
    tools=[iAgentPayTool(daily_limit_usd=15.0)],
    verbose=True
)

🛡️ Arquitectura Empresarial (v5.0)

iAgentPay está dividido en submódulos modulares listos para producción:

  1. usdc_driver: Motor de transacciones nativas en Solana, Base y XRPL.
  2. x402_client / server: Implementación del estándar HTTP 402 para micro-pagos M2M (Machine to Machine).
  3. safety_kernel: Bloqueos atómicos con threading.Lock para evitar race-conditions en flotas de agentes.
  4. webhooks: Sistema de notificaciones HMAC-SHA256 con retries de backoff exponencial.
  5. kya: (Know Your Agent) Reputación descentralizada mediante DIDs y puntuación ART.
  6. observability: Dashboards en consola, logs en JSON y exportación a Prometheus/OpenTelemetry.

🌍 Open Source & Comunidad

iAgentPay es 100% Open Source (MIT). Construido para la próxima generación de la economía autónoma.

¿Quieres contribuir?

  1. Haz un Fork del proyecto.
  2. Crea tu rama (git checkout -b feature/AmazingFeature).
  3. Haz Commit (git commit -m 'Add some AmazingFeature').
  4. Haz Push (git push origin feature/AmazingFeature).
  5. Abre un Pull Request.

Metadata

Release files for iagent-pay 6.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iagent-pay 6.0.0
File Size Uploaded
iagent_pay-6.0.0.tar.gz 69.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iagent-pay 6.0.0
File Interpreter ABI Platform
iagent_pay-6.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 139.7 kB

Release files / iagent_pay-6.0.0.tar.gz

Download URL iagent_pay-6.0.0.tar.gz
Size 69.8 kB
Tags Source
SHA-256 checksum
How to use checksums
dbe7c91bd81fd2ff30a1bf907f13634147f2824c0b92e6944b0b95ca109f5fb1
BLAKE2b-256 checksum
How to use checksums
c726bfb0b091848dfc8d74d48c6c327f7b154a7ee6624b18122570fb6175612d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / iagent_pay-6.0.0-py3-none-any.whl

Download URL iagent_pay-6.0.0-py3-none-any.whl
Size 69.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8c8e2495598c90ba9d05396bd40c4515904471186644ed7c0a7bf5b9b8b508b4
BLAKE2b-256 checksum
How to use checksums
153c1891ea2471801be4fbb95f18e4090fa4c5eb3b64718362f9a7739cbf9566
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release history Release notifications | RSS feed

This release

6.0.0 This release

2 release files

5.0.0

2 release files

4.3.0

2 release files

3.6.0

2 release files

2.1.2

2 release files

2.1.1

2 release files

2.1.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page