Kaasu is an AI billing and collections agent for Chennai freelancers who bill US clients. A freelancer speaks or types in Tamil or English — "Ravi, website work, $500, due Friday" — and Kaasu parses it into a structured invoice, shows a confirm card, then creates and sends a real PayPal invoice (sandbox) with a QR code for the pay link. When the buyer pays, a PayPal webhook flips the invoice to Paid live. When they don't, the collections agent drafts reminders on a tone ladder — friendly, then polite-firm, then firm, then final notice — and queues them for the freelancer to approve. Every agent action is written to an audit log with its reasoning.

The problem is real and felt today: invoices live in scattered chats, follow-ups are awkward, and nobody chases. Freelancers lose money to late payments, not to missing work.

How it works / Built with

  • Next.js 16 + TypeScript, Tailwind CSS 4, AG Grid receivables dashboard
  • PayPal Invoicing API (sandbox) + @paypal/agent-toolkit; webhook INVOICING.INVOICE.PAID (signature-verified) with a polling fallback
  • AI: OpenRouter free tier, nvidia/nemotron-3-ultra-550b-a55b:free, via the Vercel AI SDK + @openrouter/ai-sdk-provider. A deterministic rules parser is the fallback, and the UI says which one ran. In-app budget guard: 40 AI calls/day (account cap 50). No paid keys anywhere.
  • Guardrails: prompt-injection scanning blocks malicious client names/notes; refunds and cancellations always need human confirmation; 3 reminders max per invoice, 24h apart; autopilot (off by default) auto-sends tone-1 only.

Built With

  • ag-grid
  • next.js
  • openrouter
  • paypal-agent-toolkit
  • paypal-invoicing-api
  • typescript
  • vercel
  • vercel-ai-sdk
Share this project:

Updates

Submission history