AgentGate s'intègre en quelques minutes dans tous les frameworks d'agents majeurs. Peu importe votre stack — si votre agent peut faire un appel HTTP, il peut utiliser AgentGate.
Vous n'êtes pas développeur ? Pas de souci. Pour chaque intégration, on vous explique d'abord ce que ça fait concrètement — le code technique est disponible en dessous pour votre équipe.
Votre agent OpenAI demande l'autorisation à AgentGate avant chaque paiement. Si le montant dépasse vos règles, vous recevez une alerte sur votre téléphone ou Slack — et vous approuvez ou refusez en un clic.
from agents import Agent, tool
import httpx
@tool
def pay_with_agentgate(amount: float, beneficiary: str, iban: str, reason: str) -> str:
res = httpx.post(
"https://agentgate.eu/api/v1/payment-intents",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"amount": int(amount*100), "currency": "EUR",
"beneficiary": {"name": beneficiary, "account_identifier": iban},
"category": "payment", "memo": reason}
)
return res.json().get("status")Claude et tout agent compatible MCP utilisent AgentGate sans aucun code supplémentaire. Ajoutez simplement AgentGate à votre fichier de configuration — c'est tout.
{
"mcpServers": {
"agentgate": {
"command": "npx",
"args": ["-y", "@agentgate/mcp-server"],
"env": { "AGENTGATE_API_KEY": "votre_clé" }
}
}
}Vos agents LangChain (y compris LangGraph) soumettent chaque paiement à AgentGate pour validation. Tout montant au-dessus de votre seuil vous envoie une notification d'approbation.
from langchain.tools import tool
import httpx
@tool
def agentgate_pay(amount_eur: float, beneficiary: str, memo: str) -> dict:
"""Soumet un paiement à AgentGate pour validation."""
return httpx.post(
"https://agentgate.eu/api/v1/payment-intents",
headers={"Authorization": f"Bearer {API_KEY}"},
json={"amount": int(amount_eur * 100), "currency": "EUR",
"beneficiary": {"name": beneficiary}, "memo": memo}
).json()Dans vos workflows n8n, un simple nœud HTTP suffit pour brancher AgentGate. Idéal si vous automatisez des achats récurrents ou des paiements fournisseurs.
POST https://agentgate.eu/api/v1/payment-intents
Authorization: Bearer {{ $env.AGENTGATE_API_KEY }}
Content-Type: application/json
{
"amount": {{ $json.amount }},
"currency": "EUR",
"beneficiary": { "name": "{{ $json.vendor }}" },
"memo": "{{ $json.description }}"
}Votre agent peut utiliser n'importe quel langage — Python, Node.js, Go, Ruby… Un seul appel HTTP suffit. Pas de bibliothèque spéciale requise.
curl -X POST https://agentgate.eu/api/v1/payment-intents \
-H "Authorization: Bearer $AGENTGATE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 15000,
"currency": "EUR",
"beneficiary": { "name": "Fournisseur SARL", "account_identifier": "FR76..." },
"category": "fournitures",
"memo": "Commande mensuelle"
}'Prêt à protéger les paiements de vos agents ?
Commencer gratuitement