How to avoid disaster when vibe-coding a billing engine
Andrew Garvin
- When
- Wednesday, July 111:10 AM – 11:30 AM · 20 min
- Where
- Leadership 1San Francisco, CA · imported from ai.engineer's public schedule feed
About this session
This talk covers what that infrastructure looks like in practice: which primitives matter, where the human checkpoints belong, and what changes when your billing system needs to be legible to machines instead of configured by humans clicking through a UI. When building AI products, billing and pricing should be directly tied to the products themselves. They're in the hot path. Every token, every agent action, every inference is a billable moment, and if your entitlement checks aren't keeping up, a single runaway agent can rack up thousands of dollars in seconds with no one to send the bill to. Get metering wrong and you're either eating costs or overcharging customers. Get ledger consistency wrong and your invoices don't add up. Get tax wrong across 47 jurisdictions and you find out from a regulator, not a user. Here's the thing, though — agents are legitimately good at billing strategy. They can pick pricing models, configure plans, run simulations, and iterate on packaging way faster than a human team could. You want them doing that work. But proration, multi-currency, revenue recognition, tax — this stuff took the industry years to get right, and it's unforgiving when you get it wrong. The question then becomes not whether agents should be making billing changes, it's what they should be operating on when they do. Agents need tight, composable building blocks where the correctness is already baked in, human-in-the-loop checkpoints before anything irreversible goes out the door, and sandbox environments where they can experiment freely without torching production. That's the architecture that lets you move fast on pricing without waking up to broken invoices. Target audience: Engineers and technical founders building AI products that charge for usage — whether that's per-token, per-action, or per-seat with consumption overages. If you've ever hard-coded a pricing tier, duct-taped metering onto an existing system, or wondered how your billing setup is going to survive your next pricing change, this talk is for you. Audience takeaways: - A clear understanding of why billing for AI products sits in the hot path — and what specifically goes wrong when metering, entitlements, or ledger consistency can't keep up. - A practical architecture for making billing agent-operable: composable primitives with correctness baked in, human-in-the-loop checkpoints on irreversible actions, and sandbox environments for safe experimentation. - A framework for deciding where agents should be empowered to move fast on billing strategy and where guardrails need to be non-negotiable.
Speaker
Cofounder of Metronome, Stripe
Andrew Garvin is co-founder of Metronome, now part of Stripe. Andrew began his career at Peter Thiel’s hedge fund, working with Palantir in the early days, and then built his career as a startup and venture CFO in the Founders Fund network.
More in AI-Native Enterprises
- Building the engine while flying the plane — launching the Figma MCP serverTuesday, June 30 · 11:10 AM – 11:30 AM · Leadership 1
- Agentic SDLC at Uber: Building Blocks for Uber's Software FactoryTuesday, June 30 · 11:40 AM – 12:00 PM · Leadership 1
- Scaling Code Quality: Building uReview, Uber’s Multi-Agent Code Review EngineTuesday, June 30 · 12:05 PM – 12:25 PM · Leadership 1
- AI Evals Platform for Cross-Functional Teams at ScaleTuesday, June 30 · 1:55 PM – 2:15 PM · Leadership 1
- Productionizing LLM Gateways: Architecture, Tradeoffs, and Hard Lessons from the TrenchesTuesday, June 30 · 2:25 PM – 2:45 PM · Leadership 1
For developers: this programme is open data — JSON, iCal, schedule XML and an MCP endpoint.Show endpointsHide
- JSONEvery published session and speaker, in one request./aie-worldsfair-2026-import/feed.json
- iCalSubscribe in Google, Apple or Outlook Calendar./aie-worldsfair-2026-import/feed.ics
- Schedule XMLfrab / pentabarf — the format conference apps import./aie-worldsfair-2026-import/feed.xml
- MCP + RESTPoint Claude at the programme. OpenAPI 3.1 included./agents
No key, no signup, CORS open. Everything here is generated from the same data the organisers edit.