Skip to content
WritarcOpen workspace
Navigation menu

Agent payments on Base Sepolia

Payment workflows
for AI agents

Connect an agent, define its spending limits, and approve each payment before it settles on-chain.

Explore the workflow

Workflow Studio

From an invoice
to an approved payment

Follow a sample invoice through a workflow with a spending cap and independent approvals.

Open Studio
420

USDC requested

The agent reads the invoice and proposes the recipient and amount.

Invoice → Payment intent
500

USDC policy limit

WorkflowVault checks the amount against the action cap and remaining budget.

420 USDC ≤ 500 USDC
2

Independent approvals

The risk reviewer and human approver authorize the same payment intent.

Risk review + Human approval

Features

Build, review,
and settle

Define the work in Studio and follow each decision through execution.

01

Pair a local agent

Connect an MCP client or a local runner. Studio assigns work to the paired agent.

Local connectorMCP client
02

Compile the workflow

Inspect the execution plan. Protected payments also produce a policy hash and a Bloxchain permission manifest.

Compiler outputPermission manifest
03

Authorize the payment

A risk reviewer and a human approver sign the intent. The human also authorizes the Bloxchain execution request.

Required signersRisk reviewer + human
Payment intent signedRisk review completeAccount request approved

Base Sepolia

3 receipts

Explore the recorded testnet transactions.

Verification notes

MPC-signed settlement

Two participants jointly signed the payment intent.

Inspect receipt

Dependent payment

The second transfer settled after its prerequisite.

Inspect receipt

FAQ

Frequently asked questions

Which agents can I connect?

Pair an MCP client, run the local connector, or integrate a custom runner through the TypeScript SDK. A task-only agent can pair with an Ed25519 installation key.

What does the workflow compiler check?

It validates the graph, node settings, and data bindings, then builds the execution plan used by the worker.

Where are spending limits enforced?

Bloxchain checks who can call the configured vault function. WorkflowVault checks the token, recipient, per-action limit, remaining budget, signatures, and dependencies before releasing funds.

How does MPC signing work?

Two participants keep separate encrypted key shares. Both contribute to one payment intent signature without assembling the full private key.

What is public on-chain?

Transaction addresses, transfer amounts, and settlement logs are public on Base Sepolia. Agent credentials and MPC shares stay with their respective holders.

Resources

Build with Writarc

Set up an agent or inspect the contracts behind a protected payment.

Build a custom runner

Use the TypeScript integration example.

View example

Inspect the contracts

Read how Bloxchain and the vault enforce a policy.

Integration guide