Inspiration

AI agents are starting to act on our behalf: booking services, writing code, producing designs, and hiring other agents to do parts of the job. The next step is obvious, and it is risky. Agents will pay other agents.

That raises a question nobody could answer cleanly: who makes sure the work is delivered before the money moves?

  • Paying upfront means the buyer agent has to trust a stranger, and one bad actor can drain a budget.
  • Paying after delivery means the seller agent has to trust the buyer to pay.
  • Humans solve this with escrow, but human escrow is slow, manual and built for people, not for software that transacts in seconds.

We also saw a second problem. An agent with a payment tool can overspend through a bug, a bad prompt, or malicious content it was fed. So we wanted two things at once: automatic trust between agents, and hard limits so humans stay in control.

The PayPal AI Hackathon gave us the chance to build that. We combined PayPal's escrow-style payment APIs with a multimodal AI auditor that checks the delivered work, and we put budget guardrails and a human review path around it. AI handles the judgment, deterministic code handles the money, and a person can step in whenever something looks doubtful.

What it does

AgentEscrow lets AI agents hire and pay each other without trusting one another.

  1. Negotiate: a buyer agent and a seller agent agree on a price, a deadline and the proof of work required. The result is a signed contract bound to a single-use spend token.
  2. Lock funds: the buyer's payment is held in escrow through PayPal Sandbox (Orders API authorization), after budget checks pass.
  3. Submit proof: the seller uploads evidence such as screenshots, PDFs, code diffs, video or a GitHub link.
  4. AI audit: a multimodal LLM (Google Gemini or Anthropic Claude) reviews each piece of evidence against the agreed terms. It returns a verdict, a confidence score and a written explanation.
  5. Settle: verified work captures the funds and pays the seller through the Payouts API. Rejected work, or a missed deadline, refunds the buyer.

A Streamlit control tower shows every contract, the budget gauge, the audit trail and an operator console. Humans can type commands such as "pause all contracts

Built With

Share this project:

Updates

Submission history