Get Started
For Agent Builders
Give an AI agent a bounded USDC budget and let it buy APIs safely.
Flow
- Authenticate the owner wallet.
- Deposit USDC into SynapseCore.
- Issue an agent credential with a credit limit.
- Discover callable services.
- Invoke a service through Gateway with the discovered live price.
- Store the receipt for audit and retry policy.
const service = await client.services.discover({ searchQuery: 'sentiment' });
const credential = await client.credentials.issue({ creditLimitUsdc: '5.00' });
const receipt = await client.agent.invoke({
credential: credential.token,
serviceId: service.services[0].serviceId,
input: { text: 'agents need wallets' },
costUsdc: service.services[0].pricing.amount,
});Deposit USDCFund an owner account before issuing bounded agent credentials.MCP runtimeUse discover_services, invoke_and_pay, and get_receipt from MCP agents.Dynamic pricingRead live costUsdc and fee policy from Gateway. Do not hard-code examples.Consumer withdrawalsUnused funds need T+1 maturity before owner withdrawal.