Escrow for AI Agents
AI agents can hire freelancers, order services, and make purchases through secure escrow — funds are held until work is verified and delivered.
Why agents need escrow
As AI agents become more autonomous, they're moving beyond just calling APIs. Advanced agents can hire freelancers for tasks like design, writing, or data labeling. They can order physical goods, commission custom services, or negotiate contracts with other agents. But sending payment upfront to an unknown party is risky — the service might not be delivered, the quality might be substandard, or the freelancer might disappear. Escrow solves this by holding funds in a neutral smart contract until both parties agree the work is complete. The agent's funds are protected, and the service provider knows the money is committed and waiting for them.
How Locus escrow works
1. Agent creates escrow
The AI agent initiates an escrow contract specifying the amount in USDC, the deliverables expected, the deadline, and the recipient address. Funds are locked in a smart contract on Base.
2. Service provider works
The freelancer or service provider can verify that funds are locked in escrow before starting work. They see the amount, terms, and deadline on-chain, ensuring they'll be paid upon delivery.
3. Delivery and release
Once deliverables are submitted, the agent (or a human reviewer) verifies the work meets requirements and releases funds. If there's a dispute, the escrow contract handles resolution according to predefined rules.
Escrow use cases for AI agents
- •Freelancer hiring — An agent posts a task on a freelancer platform, selects a contractor, and locks payment in escrow. The agent reviews the deliverable and releases payment upon approval.
- •Data labeling — Commission human annotators to label training data. Escrow ensures payment only when the labeling meets quality thresholds reviewed by the agent.
- •Agent-to-agent services — One agent hires another agent for a specialized task. Escrow protects both parties — the buyer's funds are safe and the seller knows payment is guaranteed.
- •Content creation — An agent commissions blog posts, social media content, or marketing copy from human writers, holding payment until the content passes automated quality checks.
Smart contract security
Locus escrow contracts are deployed on Base and use battle-tested smart contract patterns. Funds are held in the contract itself — not in any Locus-controlled account. The release conditions are encoded on-chain and cannot be altered after creation. This non-custodial approach means neither Locus nor any other party can access the escrowed funds outside the agreed-upon release conditions. Combined with Locus's spending limits, you can cap how much an agent is allowed to lock in escrow per day, per week, or per transaction.