Inspiration

Freelance commerce often breaks down over milestone disputes. Clients worry about paying upfront for incomplete, buggy deliverables, while freelancers fear delivering high-quality work without guaranteed compensation. Traditional escrow platforms rely on manual human mediation, which is slow, expensive, and subjective. We built PayGuard AI to create an autonomous, trustless financial agent that pairs PayPal's developer ecosystem with agentic verification.

What it does

PayGuard AI acts as an autonomous financial escrow agent:

  • Natural Voice & Text Contracting: Clients draft smart escrow terms via voice or chat input (e.g., "Build a React application for 200 dollars"). The agent extracts scope and budget in real time.
  • Automated Escrow Deposit: Funds are securely authorized and placed into escrow via the PayPal Orders/Vaulting API, generating cryptographic verification receipts.
  • Autonomous Milestone Verification: When deliverables are submitted, the agent runs static syntax checks, test suites, and requirements validation against the initial contract scope without human intervention.
  • Automated Payout & Dispute Handling: Meeting milestone requirements triggers an automated PayPal payout to the developer's wallet. Incomplete or failing submissions hold funds securely in dispute resolution.
  • Dynamic Ledger & Live Analytics: Built on AG Grid with real-time dynamic volume tracking and resolution accuracy metrics.

How we built it

  • Frontend: React, Vite, Tailwind CSS, Lucide React, and AG Grid Community.
  • Agentic Engine: Web Speech API for voice intent parsing, coupled with AST syntax evaluation patterns and Chain-of-Thought agent reasoning logs.
  • Payments: PayPal REST APIs (Orders API, Webhooks, Sandbox Vaulting).
  • Backend Architecture: Node.js/Express handling contract generation, cryptographic hashing, and mock transaction lifecycles.

Challenges we ran into

  • Integrating seamless voice-to-contract parsing while handling phonetic ambiguities in speech recognition.
  • Managing real-time bidirectional UI state between conversational agent reasoning steps and tabular financial ledgers.
  • Structuring strict rule-based fallback handling for milestone disputes to avoid false-positive payout triggers.

Accomplishments that we're proud of

  • Delivering a functional autonomous agent pipeline that moves from natural voice prompt to escrow lock, verification, and payout execution.
  • Implementing dynamic, real-time recalculation of volume, contract statuses, and accuracy rates directly off ledger data.
  • Achieving transparent, auditable verification with real-time Chain-of-Thought logs and downloadable cryptographic receipts.

What we learned

  • How to architect agentic workflows where LLM intent analysis triggers deterministic financial APIs safely.
  • Practical experience coordinating PayPal's sandbox checkout and vaulting mechanisms with reactive state in modern React applications.

What's next for PayGuard AI

  • Multimodal Deliverable Auditing: Integrating FFmpeg metadata validation and multimodal Vision AI to verify non-code deliverables like video editing, graphic design, and copywriting.
  • Direct GitHub Webhook Audits: Automatically parsing PR diffs, running CI test suites, and auditing test coverage straight from GitHub repositories.
  • Multi-Party Milestone Splits: Supporting distributed teams with tiered milestone releases across multiple contributor PayPal wallets.

Built With

Share this project:

Updates

Submission history