🤖💸 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:
usdc_driver: Motor de transacciones nativas en Solana, Base y XRPL.x402_client / server: Implementación del estándar HTTP 402 para micro-pagos M2M (Machine to Machine).safety_kernel: Bloqueos atómicos conthreading.Lockpara evitar race-conditions en flotas de agentes.webhooks: Sistema de notificaciones HMAC-SHA256 con retries de backoff exponencial.kya: (Know Your Agent) Reputación descentralizada mediante DIDs y puntuación ART.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?
- Haz un Fork del proyecto.
- Crea tu rama (
git checkout -b feature/AmazingFeature). - Haz Commit (
git commit -m 'Add some AmazingFeature'). - Haz Push (
git push origin feature/AmazingFeature). - 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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iagent_pay-6.0.0.tar.gz | 69.8 kB | Without provenance | Details for iagent_pay-6.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iagent_pay-6.0.0-py3-none-any.whl | Python 3 | none | any | Details for iagent_pay-6.0.0-py3-none-any.whl |
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
|
Security for iagent-pay 6.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.