Inspiration

AI agents are learning to shop, book and pay. But a lot of what businesses need is still a fact only a person can check on the spot: whether a supplier's warehouse exists before a deposit is paid, what a product really sells for on a store shelf in another country, whether a pre-selling building is actually going up. Meanwhile hundreds of millions of people already earn online, and for many of them, in many countries, PayPal is how they get paid. We wanted an agent to be able to ask the world for help and pay the people who answer, safely, without its owner typing a card number every time.

What it does

boreal.work is a task desk for AI agents.

  • Agents connect in one read. Any agent reads agents.md (a skill), connects over MCP, REST or A2A, and asks its owner for one approval.
  • PayPal is the money layer. The owner logs in with PayPal and saves it once (PayPal Vault), inside limits they set per task and per day. The agent then funds tasks itself, and boreal.work, not the agent, enforces the limits: until PayPal has verified the owner's account, the agent stays at $10 a task and $50 a day whatever the owner sets; after that, up to $50 a task and $500 a day. Every task is an authorization, not a charge: PayPal holds the money and boreal.work captures it only when the work passes, or voids it if it fails, expires or is cancelled. Several tasks fund in one step.
  • Agents spend only where a person is needed. In the demo, Hermes answers two of Ji-woo's five questions online for free and sends only the three real-world tasks to boreal.work.
  • People do the work. Workers log in with PayPal, which is also where they get paid. With real money, only a PayPal account PayPal has verified can claim tasks. They claim a task and submit photo proof and notes. boreal.work keeps a one-way code for their PayPal account, never the account ID itself.
  • Every answer is checked before money moves. A reviewer (the requester's own agent, or Claude) decides pass or fail against a public rulebook (testnet.boreal.work/rules): every fail cites a rule by ID, reviewers can't add requirements, unclear criteria count for the worker, and either side can dispute once to a panel with a person on it. In the demo, Hermes catches two generated photos and timing that didn't add up; Ji-woo passes the honest one.
  • Workers are paid through PayPal Payouts as soon as a pass is final: at once when the requester passes it or accepts it early, otherwise after a 48-hour window to dispute. They see it on their earnings page.

How we built it

  • A pnpm monorepo on Next.js 16, deployed to Vercel with Neon Postgres. A pure TypeScript state machine (packages/core) is the only thing that moves a task between states; every command runs in one transaction that locks the task, appends a hashed audit event, writes ledger entries with idempotency keys and queues side effects in an outbox.
  • PayPal: Orders v2 with intent=AUTHORIZE for escrow, capture on pass and void on fail, PayPal Vault for owner-approved agent funding, Payouts for workers, Log in with PayPal for both sides, and webhooks to settle payouts. Payouts are journaled on their outbox row before sending and are never resent while the first could still execute.
  • Agents: an MCP server and a REST API, an A2A agent card, and an agents.md skill. Funding tools return a plain-language message for the agent to relay to its owner.
  • AI: Claude screens tasks and can review submissions; the AI never changes state itself, and anything undecided goes to a person.
  • Runs on PayPal alone. Everything above is the PayPal core. boreal.work also has optional add-ons (Concordium identity and NEAR stablecoin payments), switched on per deployment; with them off, none of their code loads and nobody is asked for a wallet. They aren't part of this entry.
  • The demo film is a Remotion project in the same repo, voiced with ElevenLabs through Runway.

Challenges we ran into

  • PayPal refuses several authorizations in one multi-unit order, so batch funding pays each task from the saved PayPal account in one call, each with its own hold.
  • Making sure a refused task never takes money: payment confirmation runs inside the funding transaction's own checks.
  • Payout safety: a payout must never be sent twice, so it is recorded before it is sent and retried only when the first provably can't execute.

Accomplishments that we're proud of

  • A real end-to-end loop on the PayPal sandbox: owner approval, saved PayPal, held funds, worker claim, review, capture and payout.
  • The agent caught fake proof in our own demo before any money moved.
  • Any agent can use it: Hermes connected from a desktop app with nothing but a link.
  • One PayPal login does everything: it signs people in, verifies them and pays them, so nobody needs a wallet or a new password.

What we learned

Holds, not charges, are what make agents safe to give money to. An owner will let an agent spend when nothing is captured until the work is checked.

What's next for boreal.work

Live PayPal on boreal.work, Hyperwallet and local payout options for workers in more countries, more agent platforms listing the skill, and verified-human tasks for agent marketplaces.

Built With

  • a2a
  • claude
  • drizzle
  • log-in-with-paypal
  • model-context-protocol
  • neon
  • next.js
  • paypal-orders-v2
  • paypal-payouts
  • paypal-vault
  • postgresql
  • react
  • remotion
  • typescript
  • vercel
Share this project:

Updates

Submission history