Treasury and Operations for AI agents
Run public USDC calculations, compose a sequence and resume private Safe invoice runs through REST or MCP.
Start with a public calculation
Send JSON to the REST endpoint or pass the same fields to the MCP tool. Amounts in these examples are decimal USDC strings.
Use this through REST or MCP
POST /api/v1/agent/treasury/programs/funding-gap or call bitpont_treasuryFundingGap with these inputs.
{
"balance": "100",
"spend": "90",
"reserve": "25"
}Connect calculations
Use named steps to pass a prior result into another calculation. All steps are read-only.
Build a calculation sequenceLink up to ten calculations. Supply a previous result as the input to the next step and inspect each output.Prepare and track payments
Call bitpont_openWorkspace and keep the workspace secret private. Send it in the X-Bitpont-Workspace header on each private request. Create an invoice run with a stable request ID. Obtain the current proposal with Next, review and sign with a Safe owner, then send the execution transaction hash to Receipt. An approval alone cannot settle an invoice.
Ordinary access is keyless. For higher limits, email [email protected].