Engineering & Product
Deep dives into how we build Agent Billy.
Why We Only Accept Restricted API Keys
Your Stripe secret key is the most powerful credential in your business. We explain why Agent Billy will never accept it, and how restricted keys give us everything we need and nothing we don't.
How Per-Customer Container Isolation Works
Every Billy customer gets their own isolated Azure Container App. Here's the architecture, why we chose it, and what it means for your data security.
Building Role-Based Access Control for Stripe
Stripe's permission model is binary: you either have the key or you don't. We built a four-tier RBAC system on top of the Stripe API. Here's how.
Agent Billy as an MCP Server: Billing in Plain English
We shipped Model Context Protocol support so you can manage Stripe from Claude, Cursor, or any MCP-compatible AI tool. Here's how we built it.
Why We Sync Stripe to a Local Database
Calling Stripe's API on every page load is slow, rate-limited, and expensive. We sync all your Stripe data to a Postgres instance that loads in under 100ms.
The Billing Bottleneck Problem Every Growing SaaS Hits
You've crossed 10 employees. Now every refund, every subscription change, every invoice question lands in one person's inbox. Here's why that happens and how to fix it.