What is an agent?
An agent is any autonomous program that spends funds on your behalf — an LLM-driven development assistant (Cursor, Claude, Windsurf), a data-gathering pipeline, or an automated workflow bot. In SohoPay, each agent receives:- A dedicated Base wallet identity.
- A revolving credit line backed by your credit facility or vault collateral.
- Granular spending limits (
credit_limitanddaily_limit). - Payment rail access over x402 with ~1s USDC settlement.
Credit line vs. prefunded wallets
SohoPay agents run on revolving credit lines rather than prefunded balances:Operator liability
As the agent operator, you remain legally and financially liable for every transaction your agents execute. Merchants receive 100% of their order settlement instantly; there is no chargeback mechanism. Because of this, programmatic agent creation requires an explicit acknowledgment:Choose your setup method
- Option A: Fast AI Agent Setup via MCP (Recommended)
- Option B: Programmatic REST API Provisioning
If you use Cursor IDE, Claude Desktop, Windsurf, or custom agent tools, configure SohoPay in under 2 minutes using the Model Context Protocol (MCP).Follow the browser prompt to log in with GitHub, LinkedIn, or X and verify your test wallet.
1. Pair your terminal
Run the login command in your terminal:2. Inspect your agent
Once logged in, your agent appears immediately in the Borrower Portal, where you can rename it, monitor spending, or toggle pause controls.Spend limits & velocity controls
Every agent is protected by two distinct limit boundaries:credit_limit— The maximum outstanding balance the agent can carry at any time. Consumes total facility or vault capacity.daily_limit— The maximum cumulative amount the agent can spend in a rolling 24-hour window, regardless of available credit.
Agent safeguards & controls
SohoPay provides real-time lifecycle controls. Actions take effect at the gateway immediately:1. Pause an agent (Freeze spending)
If an agent misbehaves or requires maintenance, pause it. Any subsequent payment authorization requests will be rejected by the gateway in< 5s:
2. Resume an agent
When ready, re-enable the agent. The gateway revalidates facility standing and restores authorization capabilities:3. Update agent nickname
Assign friendly labels to distinguish multiple agents in your fleet:All of these controls can also be operated directly with a single click in the Borrower Portal.
Common error codes
Next steps
Key Management
Understand how MPC key shares and EIP-712 signing operate.
Vault & Funding
Manage USDC collateral deposits and borrowing capacity.
Payment Flow
Follow the complete order-to-settlement lifecycle over x402.

