AgentPay workspace

Integrations

Full view of AI-agent costs and activity.

Integration layer

Connect AgentPay where your agents already work.

Start with PHP SDK, Symfony port and operational plugins. Every integration sends normalized telemetry, checks budgets and policies, and keeps secrets, sessions and tasks traceable in AgentPay.

API Platform Messenger MCP SDK Plugins Webhooks

AgentPay Integration Protocol v1

  • Canonical event schema for agents, sessions, tasks, model usage and paid resources.
  • Pre-flight policy and budget checks before a tool, model or paid resource is used.
  • Privacy validation: do not store prompts, source code, model output or sensitive payloads by default.
Local configuration

Copy values for your integration

Use the first address for an integration running on the host. A container must join the shared agentpay-integration Docker network to use the second address without port 8088. Create an API key with the telemetry:write scope in the API keys section.

Open API keys

Integration running on the host

AGENTPAY_BASE_URL=http://api.agentpay.localhost:8088

Integration running in the AgentPay Docker network

AGENTPAY_BASE_URL=http://api.agentpay.localhost
AGENTPAY_ORGANIZATION_ID=

The organization ID identifies the data tenant. The API also verifies the organization from the API key in use, so both contexts must match.

SDK + Symfony port

PHP SDK for AgentPay

A lightweight PHP package for API keys, telemetry batch ingest, spend authorization and idempotent event delivery. The Symfony port adds configuration, Messenger integration and service autowiring.

  • Composer packages planned as agentpay/php-sdk and agentpay/symfony-port.
  • Sends events for sessions, tasks, model usage, tool calls and paid resources.
  • Works with API Platform contracts and asynchronous processing through Messenger.

Developer agent plugin

Plugin for Codex

Plugin for Codex workflows that records task context, agent sessions, tool usage and cost intents without storing source code or prompts in AgentPay.

  • Links Codex tasks with AgentPay sessions and cost events.
  • Shows budget and policy feedback before expensive operations.
  • Uses API keys and the shared integration protocol.

MCP and desktop workflows

Plugin for Claude

Claude integration focused on MCP-compatible workflows, policy checks before paid actions and auditable telemetry for agent runs.

  • Maps Claude conversations and MCP tools to AgentPay sessions and tasks.
  • Supports approvals for actions that exceed budgets or business rules.
  • Keeps telemetry minimal, idempotent and privacy-aware.

IDE workflow

Plugin for PhpStorm

IDE plugin for teams running coding agents from JetBrains tools. It attributes spend to developers, branches, tasks and organization budgets.

  • Connects local development work with organization members and budgets.
  • Warns before expensive agent runs and reports final telemetry after completion.
  • Helps correlate cost, code context and approval history.
Enterprise routing

Send the right signal to the right operational system.

Enterprise customers can route alerts, approvals and audit events to systems already used by engineering, security and operations teams.

Slack

Planned connector for alerts, approvals, incidents or audit events.

PagerDuty

Planned connector for alerts, approvals, incidents or audit events.

Jira

Planned connector for alerts, approvals, incidents or audit events.

SIEM

Planned connector for alerts, approvals, incidents or audit events.

n8n

Planned connector for alerts, approvals, incidents or audit events.

ServiceNow

Planned connector for alerts, approvals, incidents or audit events.

Custom backend

Planned connector for alerts, approvals, incidents or audit events.