AgentGate integrates in minutes into all major agent frameworks. Whatever your stack — if your agent can make an HTTP call, it can use AgentGate.
Not a developer? No problem. For each integration, we first explain what it does in plain English — the technical code is available below for your team.
Your OpenAI agent asks AgentGate for permission before every payment. If the amount exceeds your rules, you get an alert on your phone or Slack — approve or reject with one tap.
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 and any MCP-compatible agent use AgentGate with no extra code. Just add AgentGate to your configuration file — that's it.
{
"mcpServers": {
"agentgate": {
"command": "npx",
"args": ["-y", "@agentgate/mcp-server"],
"env": { "AGENTGATE_API_KEY": "your_key" }
}
}
}Your LangChain agents (including LangGraph) submit each payment to AgentGate for validation. Any amount above your threshold triggers an approval notification.
from langchain.tools import tool
import httpx
@tool
def agentgate_pay(amount_eur: float, beneficiary: str, memo: str) -> dict:
"""Submit a payment to AgentGate for 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()In your n8n workflows, a simple HTTP node is all you need to connect AgentGate. Perfect for automating recurring purchases or supplier payments.
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 }}"
}Your agent can use any language — Python, Node.js, Go, Ruby… A single HTTP call is all it takes. No special library needed.
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": "Supplier Ltd", "account_identifier": "GB29..." },
"category": "supplies",
"memo": "Monthly order"
}'Ready to protect your agents' payments?
Get started free