Inspiration

As autonomous AI agent fleets proliferate, they face a fundamental friction: they need real money to procure real-world infrastructure, but developer tools either offer zero-guardrail financial access (high risk) or destroy autonomy (manual checkout). PayAgent OS solves this.

What it does

PayAgent OS is an enterprise-grade autonomous commerce operating system built directly on the PayPal Developer Platform, protected by a deterministic AI Policy Guardrail & Risk Engine, monitored in real-time via an AG Grid Telemetry Operations Center, and natively callable by any autonomous agent via the Model Context Protocol (MCP).

How we built it

  • PayPal Integration: Dual-mode engine supporting live PayPal Sandbox and hermetic unit testing.
  • AI Guardrails: Tiered financial limits, vendor allowlisting, prompt-injection defense, and HITL authorization workflows.
  • AG Grid Telemetry: High-throughput dashboard for audit logs, transaction sorting, and real-time fleet operations.
  • MCP Standard: Standardized JSON-RPC tools for immediate integration into Claude, Hermes, and Cursor.

Challenges

Balancing absolute autonomy with high-stakes financial risk. We overcame this by implementing deterministic policy guardrails that analyze transaction intent before invoking PayPal APIs.

Accomplishments

  • Successfully implemented 10/10 required system routes.
  • Passed 94/94 rigorous test assertions with 100% success rate.
  • Built a modular, secure, and production-ready financial commerce OS.

What we learned

Building agentic financial systems requires prioritizing deterministic security controls over raw performance. A robust policy guardrail is as important as the settlement engine itself.

What's next

  • Expanding support for multi-party invoice settlements.
  • Integrating more advanced risk-scoring models using AI agent telemetry.

Built With

  • ag-grid-enterprise-telemetry
  • invoicing-v2
  • model-context-protocol-(mcp)
  • next.js-14
  • payouts-v1
  • paypal-orders-v2-api
  • tailwind-css
  • typescript
  • zod
Share this project:

Updates

Submission history