Inspiration

As autonomous AI agents evolve from conversational assistants into independent workforce operators (procuring compute, paying freelancers, managing software tools), they face a critical barrier: they lack safe, auditable financial agency. Giving raw credit cards to agents risks budget blowouts, while requiring manual approval for every $5 API top-up destroys autonomy.

We built AgentVault AI to bridge this gap: an enterprise-grade financial operating system where autonomous agents operate within strict programmatic guardrails, settling transactions via PayPal’s trusted global infrastructure.

  1. What It Does

AgentVault AI empowers companies to safely delegate money movement to AI agents across 4 core workflows:

Autonomous API & Compute Procurement (PayPal Orders v2 API): Agents dynamically detect when token quotas or cloud GPUs run low, formulate procurement requests, reason through budget policies via Gemini, and settle orders instantly through the PayPal Orders API. AI-Verified Milestone Escrow (PayPal Payouts v1 API): Freelancers and contractors submit pull requests or deliverables. AgentVault’s automated AI reviewer scores the work (code quality, spec compliance). If criteria pass, the system automatically releases escrow payouts directly to the contractor’s PayPal wallet. SubSense SaaS Waste Arbiter (PayPal Subscriptions API): Continuously audits organizational billing agreements, correlates seat usage with activity logs, and auto-cancels or pauses dormant subscriptions to eliminate waste. Machine-to-Machine (M2M) Micro-Settlements & Swarm Burst: Bilateral agent negotiations for dataset exchanges and compute handoffs settle autonomously within sub-dollar thresholds. Real-Time Financial Telemetry & Cryptographic Audit: Every transaction is tracked in an AG Grid ledger with full Chain-of-Thought reasoning, real-time PayPal webhook streams, and downloadable SHA-256 ISO-compliant audit certificates.

  1. How We Built It Frontend & UX: Next.js 14 App Router, TypeScript, Tailwind CSS, Framer Motion for cinematic UI animations, and Lucide icons. Ledger & Analytics: AG Grid Quartz theme for high-frequency institutional ledger rendering with instant CSV export and status filtering. PayPal REST Integration: v2/checkout/orders for procurement and settlement. v1/payments/payouts for milestone escrow release. v1/billing/subscriptions for agreement cancellation and auditing. Webhook stream inspector with HMAC SHA256withRSA signature verification. AI Orchestration: Google Gemini (gemini-flash-latest) performing zero-shot financial intent extraction, risk classification, and deterministic JSON action formulation. Audio Engineering: Custom Web Audio API synthesizer for fintech sound effects on transactions and approvals.
  2. PayPal APIs Used (For Judges' Evaluation) PayPal Orders v2 API (/api/paypal/create-order): Creates and captures dynamic agent-initiated purchases. PayPal Payouts v1 API (/api/paypal/payout): Batch escrow disbursement upon milestone deliverable verification. PayPal Subscriptions API (/api/paypal/subscription): Direct suspension and cancellation of recurring billing agreements. PayPal Webhooks API (/api/paypal/webhook): Real-time event streaming and simulated webhook payload ingestion with HMAC verification.
  3. Challenges We Ran Into Enforcing Deterministic Agent Guardrails: Autonomous agents can generate erratic outputs. We engineered strict prompt schemas and schema-constrained JSON outputs to ensure spending never breaches wallet envelope limits. Real-Time Sandbox Integration: Harmonizing asynchronous PayPal OAuth 2.0 token lifecycles with low-latency client UI state required a resilient serverless caching and execution architecture. HMAC Cryptographic Validation: Building an interactive inspector that demonstrates how PayPal webhook signatures are verified using public certificate downloads and SHA256 digest validation.
  4. Accomplishments That We're Proud Of 100% Real Live PayPal Sandbox Execution: Transactions create authentic PayPal order records in sandbox without mock placeholders. Zero-Setup Judge Experience: Pre-configured with active sandbox credentials, allowing judges to test live orders and escrow releases with a single click. Comprehensive AI Financial Suite: Combining procurement, milestone escrow, recurring subscription audits, and AG Grid enterprise reporting into a cohesive product.
  5. What We Learned The strength of pairing PayPal's sandbox APIs with modern generative models to give AI autonomous yet controlled financial capabilities. Best practices for designing human-in-the-loop workflows where low-risk actions proceed autonomously while high-risk transactions escalate for manual sign-off.
  6. What's Next for AgentVault AI Production deployment with biometric approvals (WebAuthn / Passkeys). Real-time cross-currency FX routing supporting over 25 currencies natively on PayPal. Support for autonomous multi-agent payroll swarms and budget forecasting.
  7. Instructions for Judges to Test text
  8. Visit the live deployment URL.
  9. Click on the "Judge Rubric & Architecture" button in the top navigation to review criteria and architecture.
  10. In the AI Copilot tab, click any prompt chip (e.g., "Procure $120 OpenAI API tokens") or click "Execute Live".
  11. Observe the Gemini reasoning stream, real-time PayPal sandbox order creation, balance update, and entry in the AG Grid ledger.
  12. Navigate to the "Milestone Escrow" tab and click "Verify & Release Escrow" to test the PayPal Payouts workflow.
  13. Open the Webhook Streamer at the bottom-right to inspect live PayPal webhook payloads and HMAC signature verification.

Built With

  • ag-grid
  • framer-motion
  • google-gemini-ai
  • nextjs-14
  • orders-v2
  • payouts-v1
  • paypal
  • subscriptions-api
  • tailwindcss
  • typescript
  • webhooks
Share this project:

Updates

Submission history