Ramp如何利用AI进行构建
How Ramp builds with AI
导读
Ramp首席技术官拉胡尔·森戈图韦卢与应用AI负责人维拉尔·帕特尔在The Pragmatic Engineer播客中介绍了公司自研编码智能体Inspect、自动化代码审查以及把内部AI工具做成产品的做法。森戈图韦卢称自己最忙的月份合并100–300个PR,其中不少来自Inspect自动化;代码审查的细致程度与所花费的token之间存在取舍。
正在把原文翻译成中文,长文需要一两分钟;先显示原文。
The Pragmatic Engineer
How Ramp builds with AI
0:00
-1:34:20
Audio playback is not supported on your browser. Please upgrade.
Ramp’s CTO and Head of Applied AI explain how the fintech built its own coding agent, automated code review, and turned internal AI tools into products.
Listen and watch now on YouTube, Apple, and Spotify. See the episode transcript at the top of this page, and timestamps for the episode at the bottom.
Brought to You by

• turbopuffer – 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 site. Sign up today and start building.
• WorkOS 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
• Linear: the product development tool that works seamlessly, with hundreds of engineers and thousands of agents generating even more changes. Most recently, Zalando migrated over 3,000 engineers and 19,000 GitHub repos to Linear. Get six months of Linear for Business for free.
In this episode
In the latest article, we covered the AI-native 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’
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 or vLLM. 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 with Katelyn Lesse.
The Pragmatic Engineer deepdives relevant for this episode
• Why Ramp built its own in-house coding agent, Inspect
• Inside OpenAI’s agentic software factory
• How building software is changing at Anthropic
• What’s the ROI of software engineers’ spending on AI?
• Inference engineering for software engineers
• AI SRE: what is it, how could it change on-call – and does it work?
• How Uber uses AI for development: inside look
• AI Engineering in the real world
• Software factories and code reviews with Harjot Gill
• Uber’s AI infra, from the inside
Timestamps
00:00 Intro
02:50 How Veeral and Rahul joined Ramp
04:51 How Ramp’s CTO merges hundreds of PRs in a month
10:13 Putting AI into forms, dropdowns, and merchant names
13:42 Ramp Labs and how teams choose models
20:15 Fine-tuning, inference, and spare GPU capacity
27:22 Laminar, Ramp’s managed agent platform
34:38 Ramp Router and tracking AI spend
40:20 Where Ramp looks to cut AI costs
43:32 Onboarding and working with Inspect
47:59 How agents review each other’s code
51:21 On-call assistance, rollbacks, and human accountability
56:03 AI-narrated before-and-after videos for bug fixes
1:00:20 Glass, Ramp’s company-wide AI workspace
1:04:42 How non-engineers contribute code and share agent sessions
1:08:50 Engineering leads who still code
1:10:27 Hiring and evaluating engineers who work with AI
1:18:43 Building internal tools and bringing them to market
1:25:46 How agents are changing the engineering job
1:27:06 Building trust in AI and what comes next
1:32:05 Book recommendation
1:33:16 Closing takeaways
References
Where to find Rahul Sengottuvelu:
Where to find Veeral Patel:
• Website: https://veeralpatel.com/
• X: https://x.com/vral
• LinkedIn: 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/
Links:
• Ramp’s acquisition of Cohere.io: https://ramp.com/blog/welcome-cohere
• Why We Built Our Own 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
• 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/
• Introducing Glass: Learn things once: https://ramp.com/blog/introducing-glass
• Ramp AI Index: https://ramp.com/data/ai-index#adoption#overall
Technologies, tools, and vendors:
• Ramp Inspect: https://inspect.com
• Ramp Router: https://router.com/
• Ramp Glass:https://ramp.com/glass
• Ramp Labs: https://labs.ramp.com/
• Jev AI: https://jevai.net/
• Gong: https://www.gong.io/
• CodeRabbit: https://www.coderabbit.ai/
• NVIDIA NeMo Switchyard: https://github.com/NVIDIA-NeMo/Switchyard
• Modal Labs: https://modal.com/
• OpenCode: https://opencode.ai/
• Modal Sandboxes:https://modal.com/docs/guide/sandbox
• Cloudflare Workers:https://developers.cloudflare.com/workers/
• Claude Managed Agents: https://platform.claude.com/docs/en/managed-agents/overview
• SGLang: https://github.com/sgl-project/sglang
• vLLM: https://vllm.ai/
• Model Context Protocol (MCP): https://modelcontextprotocol.io/
• OpenAI Structured Outputs: https://platform.openai.com/docs/guides/structured-outputs
• Agent Skills: https://agentskills.io/
—
Production and marketing by Pen Name.
出处
- B 可靠The Pragmatic Engineer · RSS阅读原文 ↗
How Ramp builds with AI
生成时使用了正文节选。
