How Ramp builds with AI Ramp CTO Rahul Sengottuvelu merges 100 to 300 pull requests per month, a large share of them generated by Ramp's in-house AI coding agent Inspect, he said on the Pragmatic Engineer Podcast alongside Veeral Patel, Ramp's founding engineer and Head of Applied AI. Ramp buys tokens from all the major labs and several open-source providers while running its own inference for embedding models, re-rankers and smaller LLMs on SGLang, and it built the Ramp Router to keep features running when model providers went down. The episode details how Ramp decides when to upgrade models, what it runs on spare GPU capacity and where it looks first when AI costs climb. Listen and watch now on YouTube https://youtu.be/wFj0jbgSJmU , Apple https://podcasts.apple.com/us/podcast/the-pragmatic-engineer/id1769051199 , and Spotify https://open.spotify.com/show/2Bho9xCbOQMWMJ7UKmqCzD . See the episode transcript at the top of this page, and timestamps for the episode at the bottom. Brought to You by • turbopuffer http://turbopuffer.com/pragmatic – companies like Anthropic, Cognition, and Notion build their search infrastructure on turbopuffer because it is insanely reliable and performant at the frontier of AI scale. It also powers The Pragmatic Engineer search http://pragmaticengineer.com/search site. Sign up today http://turbopuffer.com/pragmatic and start building. • WorkOS Atlas https://workos.com/atlas – build internal apps with AI and deploy with company sign-in and access controls. Atlas secures every app with SSO, role-based access, and audit logs. Check it out https://workos.com/atlas • Linear https://linear.app/pragmatic : the product development tool that works seamlessly, with hundreds of engineers and thousands of agents generating even more changes. Most recently, Zalando migrated over https://linear.app/customers/zalando 3,000 engineers and 19,000 GitHub repos to Linear. Get six months of Linear for Business for free https://linear.app/pragmatic . In this episode In the latest article, we covered the AI-native transformation https://newsletter.pragmaticengineer.com/p/inside-ramps-ai-transformation of a finance company from before the AI era – and today’s podcast episode looks further into what Ramp has been doing. The deepdive explored why and how the business built its own AI infra from scratch, and has started launching products into the market like its model router and coding agent. This episode of the Pragmatic Engineer Podcast brings more details from two people who were there at the very start of Ramp’s AI-native pivot. Today’s guests are Rahul Sengottuvelu, CTO of Ramp, and Veeral Patel, a founding engineer and the Head of Applied AI there. We start with how Rahul merges hundreds of pull requests in his busiest months as CTO, and how Ramp uses AI for everyday office activities like pre-filling forms and cleaning up merchant names on card transactions. Then we get into the systems behind the work. Inspect helps new hires learn the codebase and gives engineers a cloud development environment on demand. Laminar powers many of Ramp’s agents, and the product Ramp Router started as a way to keep features running when model providers went down. Rahul and Veeral explain how teams decide when to upgrade models, what they run on spare GPU capacity, and where they look first when AI costs climb. We also walk through what happens after Inspect opens a pull request. A reviewer agent can debate a change with the agent that wrote it, and some frontend bug fixes come with an AI-narrated before-and-after video. The episode closes with a look at how non-engineers contribute fixes, why engineering leads still code, what Ramp seeks in candidates who can push back against a model, and what it took to bring Inspect, Router, and Glass to customers. Takeaways from the conversation with Rahul and Veeral Here are 12 interesting takeaways from our conversation that aren’t in yesterday’s deepdive ‘ Inside Ramp’s AI transformation https://newsletter.pragmaticengineer.com/p/inside-ramps-ai-transformation ’ 1. Ramp’s CTO merges 100-300 PRs per month. Rahul says a good chunk of his merges come from Inspect automations, and the rest are things he’d otherwise delegate to engineers before AI. But now he can just do it himself with the AI coding agent. 2. Ramp uses a mix of its own inference and AI providers. Ramp buys tokens from all the big labs and several open-source providers. For smaller models, it also runs its own inference; for example, for embedding models, re-rankers, and a few smaller LLMs served on SGLang https://github.com/sgl-project/sglang or vLLM https://vllm.ai/ . They run their inference by using managed GPU providers, as well as buying GPU capacity from the bigger cloud players. 3. AI tokens are practically half price at night and on weekends, due to the flex tiers of OpenAI and Anthropic. Both labs offer a tier without a guaranteed time-to-first-token. Veeral told me that outside peak load periods, this tier basically matches the standard tier in performance around half of the time. So, Ramp switches to it automatically. 4. New API abstractions match smarter models at improving productivity. Rahul gives examples where new abstractions and primitives provided as much of a boost to productivity as new, more capable models: - Chat completions : made people think of agents less as “text completion” and more as an assistant - MCP : a new way to have components communicate with one another - Agent skills : these made prompts more reusable and compsable - Jev’s decision API: a low-latency and very cheap building block that is surprisingly reliable 5. AI spend has a long tail, so a few well-targeted optimizations beat dozens of small tweaks. Rahul says: “A small percentage of people or features or models contribute to the vast majority of the spend. And so, a small set of interventions will cut down your costs a lot ” For example, OpenAI’s Luna model is about 50x cheaper at a task-level than OpenAI Astra, meaning that hundreds of Luna users can spend less than a handful of Astra users. 6. New joiner engineers no longer set up local development environments. The dev environment used by new joiners is Inspect, Ramp’s cloud-based dev environment. Engineers work in the web interface, or over the CLI or Slack, but they no longer have to do local setup. 7. AI code review thoroughness is a trade-off vs cost. It’s possible to spend tens of thousands of dollars on doing a thorough code review of a single PR, by having agents debate each other. This is an extreme example to illustrate that the thoroughness of code review is typically traded off against the tokens spent on achieving it. 8. Review Buddy and Stamp Buddy are the same agent with different setups. Review Buddy does AI code review, and Stamp Buddy decides if a human reviewer is needed. Both are Inspect sessions, just with different setups and running in independent sessions. 9. Ramp is experimenting with PRs that push to production without human involvement. So far, these are not live, but the idea is that as Ramp becomes adept with Review Buddy and Stamp Buddy, they will allow certain code changes that are guaranteed low-risks to go to production without any human interaction. 10. Ramp’s take on fine-tuning models: it’s a bet against model scaling improvements. Ramp used to fine-tune models, but has stopped this. A few reasons why: - Repeat work : fine-tuning needs to be repeated with new versions of models which may be much improved, rendering fine-tuning pointless - Too many changes : with hundreds of features and lots of fine-tuning, it’s hard to tell what additional data has gone into the model - Models acting weirdly : A typical fix for a model to avoid an error is to tell it what mistake to not make. However, when fine-tuning a model to avoid a specific class of errors, it may go out of distribution, and can start acting on the “fix” prompt in unexpected ways. Ramp still does fine-tuning rarely, in high-volume use cases where the team is certain there’s a durable “edge” achievable with fine-tuning. 11. Ramp has no engineering manager role, and never has. I was surprised by this. Veeral says it’s because they never hired engineering managers who could not code, or did not code, and the company has always believed in the “player/coach” model. 12. For performance reviews: business impact is the more important metric. We talked about how performance reviews are changing. Ramp focuses on business and customer impacts, not on the number of pull requests. It’s not that the number of PRs is ignored; it’s just not a primary metric. This topic recalls a discussion on the podcast about promotions performance reviews at Anthropic https://newsletter.pragmaticengineer.com/p/how-anthropic-builds-software-in with Katelyn Lesse. The Pragmatic Engineer deepdives relevant for this episode • Why Ramp built its own in-house coding agent, Inspect https://newsletter.pragmaticengineer.com/p/why-ramp-built-inspect • Inside OpenAI’s agentic software factory https://newsletter.pragmaticengineer.com/p/openai-software-factory • How building software is changing at Anthropic https://newsletter.pragmaticengineer.com/p/inside-anthropic • What’s the ROI of software engineers’ spending on AI? https://newsletter.pragmaticengineer.com/p/whats-the-roi-of-software-engineers • Inference engineering for software engineers https://newsletter.pragmaticengineer.com/p/inference-engineering-for-software-engineers • AI SRE: what is it, how could it change on-call – and does it work? https://newsletter.pragmaticengineer.com/p/ai-sre • How Uber uses AI for development: inside look https://newsletter.pragmaticengineer.com/p/how-uber-uses-ai-for-development • AI Engineering in the real world https://newsletter.pragmaticengineer.com/p/ai-engineering-in-the-real-world • Software factories and code reviews with Harjot Gill https://newsletter.pragmaticengineer.com/p/software-factories-and-code-reviews • Uber’s AI infra, from the inside https://newsletter.pragmaticengineer.com/p/ubers-ai-infra-from-the-inside Timestamps 00:00 https://www.youtube.com/watch?v=wFj0jbgSJmU Intro 02:50 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=170s How Veeral and Rahul joined Ramp 04:51 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=291s How Ramp’s CTO merges hundreds of PRs in a month 10:13 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=613s Putting AI into forms, dropdowns, and merchant names 13:42 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=822s Ramp Labs and how teams choose models 20:15 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=1215s Fine-tuning, inference, and spare GPU capacity 27:22 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=1642s Laminar, Ramp’s managed agent platform 34:38 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=2078s Ramp Router and tracking AI spend 40:20 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=2420s Where Ramp looks to cut AI costs 43:32 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=2612s Onboarding and working with Inspect 47:59 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=2879s How agents review each other’s code 51:21 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=3081s On-call assistance, rollbacks, and human accountability 56:03 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=3363s AI-narrated before-and-after videos for bug fixes 1:00:20 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=3620s Glass, Ramp’s company-wide AI workspace 1:04:42 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=3882s How non-engineers contribute code and share agent sessions 1:08:50 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=4130s Engineering leads who still code 1:10:27 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=4227s Hiring and evaluating engineers who work with AI 1:18:43 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=4723s Building internal tools and bringing them to market 1:25:46 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=5146s How agents are changing the engineering job 1:27:06 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=5226s Building trust in AI and what comes next 1:32:05 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=5525s Book recommendation 1:33:16 https://www.youtube.com/watch?v=wFj0jbgSJmU&t=5596s Closing takeaways References Where to find Rahul Sengottuvelu: Where to find Veeral Patel: • Website: https://veeralpatel.com/ https://veeralpatel.com/ • X: https://x.com/vral https://x.com/vral • LinkedIn: https://www.linkedin.com/in/patelveeral/ https://www.linkedin.com/in/patelveeral/ Book recommendation: • Roll the Calls by Ari Emanuel, recommended by Veeral Patel: https://www.penguinrandomhouse.com/books/835662/roll-the-calls-by-ari-emanuel/ https://www.penguinrandomhouse.com/books/835662/roll-the-calls-by-ari-emanuel/ Links: • Ramp’s acquisition of Cohere.io: https://ramp.com/blog/welcome-cohere https://ramp.com/blog/welcome-cohere • Why We Built Our Own Background Agent: https://engineering.ramp.com/post/why-we-built-our-background-agent https://engineering.ramp.com/post/why-we-built-our-background-agent • Building Laminar: Ramp’s Managed Agents Platform: https://builders.ramp.com/post/building-laminar https://builders.ramp.com/post/building-laminar • How we built OCA, our AI on-call assistant: https://builders.ramp.com/post/how-we-built-oca-our-ai-on-call-assistant https://builders.ramp.com/post/how-we-built-oca-our-ai-on-call-assistant • Introducing Router.com: https://ramp.com/blog/router-launch/ https://ramp.com/blog/router-launch/ • Introducing Glass: Learn things once: https://ramp.com/blog/introducing-glass https://ramp.com/blog/introducing-glass • Ramp AI Index: https://ramp.com/data/ai-index adoption overall https://ramp.com/data/ai-index adoption overall Technologies, tools, and vendors: • Ramp Inspect: https://inspect.com https://inspect.com • Ramp Router: https://router.com/ https://router.com/ • Ramp Glass: https://ramp.com/glass https://ramp.com/glass • Ramp Labs: https://labs.ramp.com/ https://labs.ramp.com/ • Jev AI: https://jevai.net/ https://jevai.net/ • Gong: https://www.gong.io/ https://www.gong.io/ • CodeRabbit: https://www.coderabbit.ai/ https://www.coderabbit.ai/ • NVIDIA NeMo Switchyard: https://github.com/NVIDIA-NeMo/Switchyard https://github.com/NVIDIA-NeMo/Switchyard • Modal Labs: https://modal.com/ https://modal.com/ • OpenCode: https://opencode.ai/ https://opencode.ai/ • Modal Sandboxes: https://modal.com/docs/guide/sandbox https://modal.com/docs/guide/sandbox • Cloudflare Workers: https://developers.cloudflare.com/workers/ https://developers.cloudflare.com/workers/ • Claude Managed Agents: https://platform.claude.com/docs/en/managed-agents/overview https://platform.claude.com/docs/en/managed-agents/overview • SGLang: https://github.com/sgl-project/sglang https://github.com/sgl-project/sglang • vLLM: https://vllm.ai/ https://vllm.ai/ • Model Context Protocol MCP : https://modelcontextprotocol.io/ https://modelcontextprotocol.io/ • OpenAI Structured Outputs: https://platform.openai.com/docs/guides/structured-outputs https://platform.openai.com/docs/guides/structured-outputs • Agent Skills: https://agentskills.io/ https://agentskills.io/ — Production and marketing by Pen Name https://penname.co/ .