Multi-Hop Settlement for Agent-to-Agent Workflows
When Agent A calls Agent B calls Agent C, every hop needs billing. SettleGrid's multi-hop settlement handles the full chain, metering and settling each hop as it completes.
How it works
import { settlegrid } from '@settlegrid/mcp'
const sg = settlegrid.init({
toolSlug: 'research-agent',
pricing: { model: 'per-call', defaultCostCents: 50 },
})
// This agent delegates to sub-agents -- each hop is metered
const billedResearch = sg.wrap(async (args: { topic: string }) => {
// Sub-agent 1: Search (billed separately via its own sg.wrap)
const searchResults = await callAgent('search-agent', { query: args.topic })
// Sub-agent 2: Summarize (billed separately)
const summary = await callAgent('summarize-agent', { text: searchResults })
// Multi-hop settlement: each agent is paid as its hop completes
return { content: [{ type: 'text', text: summary }] }
})Supported providers
SettleGrid works with any provider. Here are the most common ones for agent-to-agent services.
| Provider | Pricing |
|---|---|
| CrewAI | Multi-agent orchestration framework |
| LangGraph | Stateful agent workflows by LangChain |
| AutoGen | Multi-agent conversations by Microsoft |
| Google A2A | Agent-to-Agent protocol by Google |
| Anthropic Tool Use | Sequential tool chains via Claude |
Why per-delegation billing?
Agent-to-agent workflows create billing chains: Agent A pays Agent B, who pays Agent C. SettleGrid meters and settles each hop as it completes, so a hop that fails is simply not charged and never leaves money in limbo. Each agent sets its own price, and the total cost cascades up to the original caller.
Emerging
Total Addressable Market
5
Supported Providers
2 min
Setup Time
Frequently asked questions
What is multi-hop settlement?
What happens if a sub-agent fails mid-chain?
How does pricing work across agent chains?
Does this work with existing agent frameworks?
Can I see the full billing chain for a request?
Start billing agent-to-agent services today
Add per-delegation billing to your agent-to-agent services service in under 2 minutes. No upfront costs, no contracts.