Inspiration
A small studio can agree a price with a client and a different share with the person who did the work, then lose both numbers in chat. Remote's 2025 survey of 3,300 freelancers found that 85% are paid late at least some of the time (https://remote.com/blog/contractor-management/reversing-late-payment-culture). Hire is one job page for that studio. The client pays $1,200. Maya receives $800. The studio keeps $400.
The model drafts the agreement from the notes. It cannot move money it cannot cite. Each amount must quote a message on the job. The server checks the quote and checks that the client amount equals Maya's share plus the studio remainder. PayPal opens only after Maya and the client agree, and the order uses the amounts stored on the job, not a fresh number from the model.
What it does
- Notes are saved on one job.
- Draft calls Claude. The reply is a work summary, three amounts, and a quote for each figure, or a clarification question.
- A quote that is not in the notes is rejected. The page stays unresolved and does not treat anyone as paid.
- Maya and the client agree.
- PayPal Agent Toolkit
create_orderuses the stored client amount. The buyer approves in the PayPal sandbox. - Agent Toolkit
pay_ordercaptures. A verifiedPAYMENT.CAPTURE.COMPLETEDwebhook is stored. - Only then does Payouts v1 send Maya's stored share.
PAYMENT.PAYOUTS-ITEM.SUCCEEDEDcloses her line. The studio remainder stays on the job.
If the model API is unavailable, a parser reads the notes and the page says it was parsed from notes, not a model. A new note that changes an amount after agreement locks payment until both people agree again.
Live proof
Same Render SHA as GET /api/health: d2e5f9b1818050807bd7483d0b94415991e7f3d2.
The full path is one job: hire-b6678486-44d2-4b3b-a84f-c46fbad12be1. Claude (claude-sonnet-5-5) drafted $1,200 / $800 / $400 with quotes from the notes (validation pass). After Maya and the client agreed, the sandbox order was 3AR43283AW825772L. Capture 7CN781661U7159137. Maya's payout item D37YDXNDFJAPA.
A new job does not store those amounts until a cited draft is ready. Ambiguous notes stay unresolved: hire-1ba7264c-… ($1,200 vs $1,000, needs_clarification). A later note that changes an amount after agreement is drift: hire-e2288b05-….
Built during the hackathon
The page, the cited draft, the sandbox order, capture, webhook, and Maya's payout were built for this hackathon. The demo URL is https://hire-brjt.onrender.com. The repo is https://github.com/adindamochamad/hire.
Demo video: https://youtu.be/cRNUUstOpYk
Music & voice in the video: ElevenLabs (Eleven Music).
Built With
- anthropic
- claude
- elevenlabs
- node.js
- paypal-agent-toolkit
- paypal-orders
- paypal-payouts
- paypal-webhooks
- postgresql
- remotion
- render
