- Podcasts
- The Pragmatic Engineer
- How Ramp builds with AI
About this episodeBrought to You By: • turbopuffer – a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable…
Brought to You By:
• turbopuffer – a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable.
• WorkOS – everything you need to make your app enterprise-ready.
• Linear – the product development system for teams and agents.
—
Why did a fintech company build its own coding agent, managed agent platform, and model router? And what made it decide to start selling some of these tools externally?
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.
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
—
The Pragmatic Engineer deepdives relevant for this episode:
• Inside Ramp’s AI transformation
• 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
—
Production and marketing by https://penname.co/. For inquiries about sponsoring the podcast, email podcast@pragmaticengineer.com.
Get full access to The Pragmatic Engineer at newsletter.pragmaticengineer.com/subscribe
Transcript
From the publisherThis transcript comes from the podcast’s own feed, shown as the publisher wrote it.
How Ramp builds with AI
Ramp is a fintech company. So why build its own coding agent, agent platform, and model router, then start selling all of these? Answering this question are CTO Rahul and Head of Applied AI VRL. In today's episode, we cover tools that Ramp built for itself, inspect, laminar, Ramp router, on-color system, stamp buddy, and others. Why Buckfixes at RAMP come with a before and after video that is narrated by AI. AI spend. Why RAMP observes this to be long-tail heavy and believes that a few targeted optimizations are the way to go. And many more. If you're interested in how a pre-AI fintech became AI native and the systems they had to build to do so, this episode is for you. This episode is presented by TurboPuffer, Vector and Full-Text Search built on object storage. It's fast, cheap, and extremely scalable. This episode is brought to you by WorkOS. Today's episode will be a good example of what happens when AI makes building internal tools easy, anyone can ship to production. This raises a tricky question though. How are you going to protect your company's data? Are you going to rebuild authentication for every new application that you build? Say your support team uses Cloud Code to build a dashboard for customer escalations. Before it goes live, it needs sign-in, access controls, and a safe way to reach customer records. This is a problem that Worker has solved with Atlas. Atlas helps your team build internal apps with AI and deploy them with company sign-in and access controls, which are baked in from the first deploy. Every app, no extra work. And that goes far beyond the login screen. It applies to every connection, API, and integration that your apps use. You can prove which company tools an app can connect to, and the person building the app uses those connectors without putting a single API key into the app. Keys live in one place instead of living in every single app so you don't need to rotate keys for every app and you don' t need to manage permissions across a growing fleet of apps. You set it up once, and it works for the first, second, third, and hundredth app. Build your next internal app with Atlas. Go to workwells .com slash atlas to learn more. Rahul and Viral, welcome to the podcast.
And I'll start with you, Viral. Yeah, definitely. So I started coding. I was working in high school. I was making iOS apps that got me into Stanford. And I really just kind of continued working at startups, building my own projects. And I mean, I was just obsessed with building and was always kind of tinkering on stuff on the side. Ramp was actually because of Eric and Karim's first company, Paribus. I was looking for a summer internship in 2016. I reached out to like three YC companies that were based in New York. I'm from Jersey, so I wanted to kind of go back to the East Coast. And thankfully, Eric... I replied and then hopped on a call with him, Kareem, a couple of times and actually ended up working there with them summer 2016. And then all throughout college, I just continued working on my own things, internships. And when I was thinking about what to do full time, Thankfully, Eric and Kareem were starting something else at that point. It wasn't called Ramp yet, but they kind of pitched it to me and I was really excited about it. So just kind of followed the people, really like working with them and really enjoyed my internship time. So I was kind of just making a bet on them as people and has really worked out and I've enjoyed like every minute of it. Yeah. And today you're head of
I started coding in high school as well. I just wanted to build stuff. I thought it was really fun. And yeah, it was cool to build things that people use and always been obsessed with building zero to one. You went into startups first, right? That's right. So out of college, I started a company with my co-founder and he had been at RAM previously. So we knew the RAMP team and Kareem called us at some point and asked us if we would like to join RAMP and we said yes and it was a great decision. Happy to be here.
Yeah. Like your CTO at RAMP, one thing I was really surprised at, and I showed you this, we'll put this on the screen, but I saw your PR stats, PRs per month, merged the past year as you're an executive, both of you are executives actually at RAMP, and you're hovering well above 100 PRs, some months 200, some getting close to 300. How do you do it?
Yeah, I mean, a lot of it is from the inspect automations that we build. And with the tools we have at our disposal now, previously I had to, when I needed to get something done, I would go delegate or have someone to delegate to. And now we have agents to delegate. So it's usually a trade-off between how big is this change and how much ownership it requires. And for the ones where I probably shouldn't be bothering someone, I can just merge it myself. I just narrow it to inspect. And sometimes when I understand the code, it's a lot easier to just get it in than go bother someone.
Before and then how and when did AI start to show up? Yeah, I think honestly, from the beginning, we've always just been like super customer focused. I think a lot of our kind of principles just teach us to be like, hey, just listen to what the customer is asking for, go off and build it, thankfully in B2B. You can talk to your customers. They'll tell you a specific dollar amount that they're willing to pay for certain features. So we have been very customer-centric. And in earlier parts of Ramp, I remember we would spend a lot of time obsessing over the Zendesk tickets that were coming I remember many, many nights just staying up, trying to squash those issues before customers wrote in or before people complained and just being hyper-customer focused that way. That skillset has very much translated and that culture that we've built has very much translated into something really positive now that agents exist. And like similar to what Rahul was saying, like, hey, if we see customer issues, we will by default rather than like pointing fingers or like. I don't know, just trying to decide, oh, when is this going to go on the roadmap? We just at inspect and try to fix it ourselves. And whether you're a manager, an IC on the sales team, marketing team, everyone's kind of using inspect that way. So I think that's been amazing. A really big change. And I mean, 2024, we were using like cursor, cloud code came out in 2025. I think over time, obviously we like migrated from this like tab complete era to the now people obviously running more background agents. And I think kind of, I mean, just how you might onboard like a human onto your team, you're going to build more trust over time. And so over the last two, two and a half years, like I think internally we've built a lot more trust towards agents. And because of that, like Our entire company is using AI. And so it's definitely been a gradual change, but I think it's been for the better. And all the tools have evolved like basically every quarter. So we might be talking about something right now, but our way of working might be different in like three months, six months.
Yeah, definitely focusing on the customer. I think anchoring also on like the value that you're providing. And so a lot of our product development, honestly, has been very similar. Obviously, we have shorter timelines because things are easier to ship. But as an example, when you're doing customer You might hear from customers, like, I don't know, they want five or six different features. But if you anchor on, like, the pain point, it might be the same actual thing that's paining them. And so you kind of got to think about the product development process and then the effort of, like, Okay, like, what is the most painful thing that we can kind of solve for customers? And I think a lot of our just thinking over the last couple years has always been like, let's find the thing that's that's painting them and go off and fix it. And whether that's internal solutions that we really or Glass or other external products on like the expense management side. I think that has very much stayed in the same is like find the pain points, find what's slowing them down or maybe making them waste their money and then build tools to kind of help solve that.
Is it correct that even before AI, you said understand a customer, talk to them? A lot of companies, this used to be the product manager who did it, and then the engineer kind of followed along once there's a spec and once there's an understanding, but there's this thing called product engineer which is becoming more popular these days where these engineers actually talk with customers It sounds like before AI, you already had that at a ramp, right? Yeah, yeah.
I definitely consider myself and other engineers that joined early, like very much product engineers and building things end to end, I think. Not kind of narrowly scoping yourself to like one specific code base or domain, just being full stack and understanding like both obviously the primitives of the code, but also like what value you're providing to the customer.
I mean, we had AI into different parts of our product, like receipt matching and our SMS flows. Like basic things, honestly. Like more traditional machine learning. But then over time obviously as LMs got more popular they were able to do more things we started integrating them into the codebase and into the product I remember one of the first features that we worked on was around Merchant normalization, basically using a large language model to kind of clean up and normalize like a merchant name. Like you see card acceptors probably on your personal credit card statement. And before LLMs, we had like basic like rules and regexes that we that we were Now we could just ask an LLM, hey, take this weird string of characters and normalize it. And early LLMs were really good at it. I think we might have been using BERT as one of the first models there. But yeah, that was a starting point. And then over time, as you guys joined and got more interested, I mean, we added it basically into everything, but yeah.
Yeah, we sprinkled a little bit of LLMs in pretty much every product and in the customer lifecycle. I would say we've almost been like a little bit too good at it in that customers don't know. And it's not like we've designed it to be like sparkles everywhere and we were like in the face like LLMs. I mean, it shows up in the little details, like when you click a dropdown, how do you order the options or is the dropdown preselected? A lot of the time when you open a form, we prefill the form for you based on the best of our ability with the context that we have on you. There's no animation or any loading. It just works. And as Viral said, merchant strings, like the names of the places you shop at, usually is not very legible in your personal card statement. And so we have this whole pipeline with increasing levels of intelligence because, of course, it's a really high-volume pipeline. And so at the very beginning, it's a lot of caching and smaller models. And then we go all the way to really large models and agents that do research on the internet. Not only give you a name, but also a logo. So we have pipelines that crop images and find the logo in search results. So that when you see in Ramp, you ideally want one is one aspect ratio square image. So it fits nicely in the circular bubble in Ramp. So we thought through a lot to get this level of quality in the Ramp UI. Wow. So it even has to look great when you open it.
So you just gave me the idea. So it sounds like you can actually use LLMs to just make, if you have forms or if you're, you know, like kind of like building up a boring application, I'm saying it's like it doesn't have animation, it's not games, it's not something shiny. You can just make it flow way better. The preselections. I never thought of it this way, but as a user of software, I'm here for it. I love for so much of the software I use where I have to navigate and read through and when you scroll, you don't see the header anymore. Yeah.
I think it's a lot of subtle things as well. And like, even like with newer models, like Jav, it's become even easier and cheaper. Like, I think I was looking at like a PR from someone working on the glass team where we like auto select the emoji for like a project that they're working on. And it's like, yeah, if you are talking about, I don't know, writing notes and maybe have a pencil icon or if you're talking about a calendar then get a calendar icon and you're not really going to ask the user like, hey pick an emoji for this project. Like you should just guess it.
Ramp Laps? Yeah, it's our in-house research team. I think we've always approached the applied AI space as a space with no experts and it's very new and there's not many people out there that are also exploring the things that we are. So we learned by doing and we wanted to create a space from the company to not be Only focus on our product and our customers, but also just to experiment with the things that are coming out. We focus on a little bit of fine-tuning, RL, some mechinterp, some steering vector research. We also do some cyber stuff within the team. And they've been experimenting with harnesses and some memory stuff. So a lot of cool stuff coming out of Ramp Labs. And sometimes it makes into our core products and sometimes it doesn't. But it's just an awesome way for us to keep learning more and understanding what
Yeah, I mean, one of the main harnesses that powers a lot of our agents at RAMP was built by RAMP Labs. We've also experimented a lot with cyber. It's Laminar. And we've also had a lot of cyber experimentation. I mean, we run large scans of our code base and RAMP Labs runs a lot of that. We have experimented with various inference strategies from RAMP Labs. I mean, we've been going back and forth. We've run some fine-tuned models, our old models of production, gone back and forth. And so, yeah, I think it's a mixture of many of these things.
And as you mentioned models, let's talk about models. Like one of the big things that every, a problem that everyone has who's using AI, which is pretty much everyone these days is, especially for when models are powering your workflows, a new model comes out. How do you decide, do we switch over, what the impact will be and so on? How do you deal with this at ramp?
Yeah, I mean, I think the consistent problem that we have is we have so many different places that have LLMs. So we have hundreds of places, right? Exactly. So we've been doing this for a few years and we have a bunch of product lines. And so with this long tail of features where there's like a pretty large It can be quite challenging to have a robust set of evals that give us directional information. And so we have these critical features where we have built evals where we have a lot more information to make
But in many cases, when these new models come out, we also just trust that scaling is continuing. And historically, this is held for a long time. Like new models are always almost always better in almost all the axes of intelligence. And they're generally intelligent and they just get smarter. And so for a lot of these long tail features, we would rather upgrade when there's no there's incomplete information because usually they're just going to make the feature better. And we also it's a really Easy way to burn a lot of money by staying on an old model because you can get a cheaper model for the same level of intelligence.
This almost reminds you a little bit, you have hundreds of internal products that each use an LLM, or a specific LLM, and you You have different dev teams who build this. It almost reminds me a little bit of like, you know, microservices, which have like all like different versions of like some use Go, some use Java, some use Rust, and then a new framework comes out and like you now need to like Or you now need to upgrade them or you should upgrade them because it's usually better. And usually, I mean they can break but usually not. Using this mental model does a central team do it or do each teams do it themselves?
Yeah, it's honestly more distributed. Like Rahul said like and we actually think that's for the better of our engineering team, like it's not just like five people at the company that are responsible for this. It's everyone's responsibility. And I think the same way that I know at most companies, you might have like a couple of people that are really interested in like optimization or know how to exactly, I don't know, optimize how to exactly optimize Postgres queries in the best way. They're obviously experts on applied AI things, but we very much now expect everyone at the company, everyone on the engineering team to have applied AI skill sets and part of that is like, honestly, understanding how you should evaluate models, how you should be building AI products. So it's distributed that way. And actually what that allows us to do is compound learning. So if we see that something's working really well in like, I don't know, bill pay OCR, for example, we can bring that over to Reimbursement OCR or Transaction OCR and I don't know, invoices OCR, contract OCR. And so we actually think it's really good when you have like a distributed model that way and then obviously are transparent and you share learnings. We're all on the same team. And so it's not just one choke point, I guess. We were always identifying ways that we can kind of learn together as a group better.
In some ways, this starts to remind you of microservices. You know, microservices are criticized for many reasons because of complexity and maybe latency and all of these things. But it gives every single team like a way you need to operate it, you're on call, you decide you're empowered as well, like you decide what you use. And then you learn a lot about just like how I operate reliably.
What I'm hearing is like, well, you give the same Like freedom, like you choose what model you use, like what, you know, what your approach is, et cetera. And then when new models came in, like, all right, you're responsible. So now you'll probably have to build, if you might build evals, for example, maybe you don't even need them, but maybe you want to have it. Yeah. So like the whole company becomes like AI engineers everywhere eventually, right? Exactly.
Yep. Yeah. I mean, I think the agency is poor. Obviously, you have to trust your engineers, which we obviously do. But it's interesting, especially as like we revisit features that maybe we worked on like six months ago or a year ago, two years ago, and then evaluate like the new AI methods on them. And so, I don't know, there's probably like a conversation happening like every week on like old features that we should be testing new models on. And yeah, it's a constant. Yeah. Okay.
Using existing models is one thing. What about fine-tuning? A few years ago, there was a lot of hopes pinned on fine-tuned models that, you know, like companies could use their business context to fine-tune. As I understand, most mid-sized companies outside of AI Labs obviously are maybe not doing as much, but I heard that you're doing some fine-tuning. What's your take on this? What value do you see? If you fine-tune, what do you fine-tune?
Yeah, I mean, we set out with that exact mindset, which is like, should we do it or should we not? And then I think we experimented with a few fine tunes that we ran in production for a while. We ended up learning a few things that then informed how we decide if we want to fine tune or not in the future. One of the things that you should pay attention to is like when you're running inference, there's a certain level of load that saturates the cluster. And ideally, if you have a small number of clusters, your load should look like a straight line 24-7. And most software products don't have that. It's like usually a sine wave when in the middle of the day is like the highest. Yeah. On the weekends it drops down. Exactly. And so it's quite hard to keep a cluster fully saturated with that kind of load pattern. And it also can be a lot cheaper if you're buying tokens on demand. The other main issue with fine tuning is that The models can be quite brittle, and if you're changing a feature quickly, you're changing the prompt, you're changing the tools, you're constantly fixing bugs, you also might have to retrain the model pretty consistently, like every few weeks, and that can be pretty frustrating. If you have a base model, you just change the prompt, and usually when we see that a model is doing some sort of, some class of error, the usual fix is just to say, like, don't make that mistake. And you can't do that with a fine tune because then it's like kind of goes out of distribution and it acts in weird ways. And then the other part is also like if you have hundreds of features and you have a lot of fine tunes, it becomes a liability and you don't know like the data is like kind of you don't know what data went in and the training can be kind of a mess. And so we've reserved it for high volume production use cases where we absolutely are sure that this will this edge in performance will like hold for a while because technically it's also somewhat of a bet against scaling. That you're effectively saying, I do not believe that frontier-based models will improve enough in the next few months and along this axis. And therefore, I am going to put all this work and spend this effort fine-tuning a model because I don't think our problem will be solved in a month. A lot of the time, the models are improving. And in fact, they're probably improving faster now than they were a few years ago. So it's a harder and harder trade-off to go do that.
run inference on a bunch of smaller models, embedding models, re-rankers, and then we have a few small autoregressive LLMs running on SGLang or VLM and powering some features. And it gives us an opportunity to tune them and just be like vertically integrate the entire feature, which gives us a little bit more control. And historically, we have fine-tuned embedding models because there we actually do see a big difference in when we want a certain kind of retrieval to happen and maybe we want a smaller amount of retrieval. It's usually worked out. And we also, again, use all the big labs. We buy tokens from all the providers, a bunch of open source providers as well. And everything is plugged into Ramp Router, which gives us a very easy way to know who's using how much and at what service tier, what reasoning effort, which model, which provider. We have a lot of data and we always make these trade-off decisions on where do we reroute the tokens at a given point. And there's new models coming out every week, so we're making these calls very quickly and a lot of the... Very frequently.
When running inference, what are some engineering challenges at your scale already that, you know, like I assume it's not as simple as like just like with an API endpoint, you just call it either as up or not. Usually it's up, should be up. But with with your with your inference, you're now a
step closer to the metal, right? I think one thing we've learned over time is like no LM API is completely robust. We learned this very early. Back when we first started working with LLMs, OpenAI had their GPT-3 completions API, so it wasn't even a chat completions API, and it would just go down for a few hours.
And then you had to format the prompt in a Q&A format because the model would otherwise complete what you sent. So if you say like the sky is, it would say blue and it would just complete the tokens. And it was a research API at that point. And OpenAI themselves were figuring out what people could use this for. And we learned very early on that we should assume that any of these APIs will go down and we want to reroute consistently. And the Ramp Router project started as mostly an infrastructure reliability project. And over time, of course, we evolved. To like a lot of visibility and control, and rerouting but yeah I mean because we learned those things. We've always built our features in a way that we get tokens or intelligence from like a series of models Like most features are not just like pinned to one model But they're pinned to several
models So we talked about how you when you rent your Inference layer, it's kind of economical to have it utilized at all times, just have inference running because what you're paying is very marginal, like the electricity cost, if you will. What workloads did you figure out to run at times where engineers are not running their agents? So typically outside of business hours and over the weekends, because this is the vision of like, wouldn't it be cool? And you mentioned, I think that fine tuning can be an option because you have Spare capacity anyway, but is it just fine tuning or did you find the other use cases?
Yeah, so having inspect automations, I think we will always have a queue of things that we want to run. And especially for really long running background agents, it doesn't really matter what the latency is. And so usually we just have a large stack of either deleting unused feature flags or a dead code or going through our errors and seeing if there's things that we should be fixing or speeding up slow tests. There's usually a bunch of refactoring. And maintenance tasks that we always have queued. And we have internal abstractions where teams can define a class of automation that runs every few hours or based on a trigger. And it uses the same InSpec infrastructure. And we also allow InSpec to work with any model So like for some of these schedule automations where latency doesn't matter, we use the spirit capacity at those points.
Yeah, Laminar is our in-house managed agents API. We wanted something that works across the platform and has all modern harness features like durability and tool hooks and Async agents and streaming and cross provider support. And we went out there to see if there's something that could work here because we prefer not to build our own harness because how quickly the APIs are changing. But we couldn't find something that exactly quite fit our requirements. And so we decided to go build this ourselves. And thankfully, I mean, it powers almost all our agents today. And it's really nice to have a single team focus on this and have everybody else build agents on top of it.
Exactly, so the internal abstraction is you define the tools you want, so effectively Python functions as tools and the prompts, and you can say which models it needs to run on, and then from there, the limiter takes care of the rest. If there's a deploy, make sure the tool calls are running, and it makes sure that... The model calls are retried and the tool hooks are guaranteed to run in a certain order. So maybe before a tool you want some sort of hook to run or after a tool. We also built an internal visibility UI so then you can understand the latency and the flame graph of the execution of the trace. You can then debug by which tools are slow and which agents are erroring, which models are erroring, and then fallbacks are also in there. And you have LLMs then introspect those traces to see what we can change and then It then prompts inspect yet again, and so then you can then change the agent definition so those errors are fixed.
Yeah, it runs pretty much everything. So if you text our support chatbot, ask Gramp, it runs on Laminar. Our accounting harness, Stack, runs on Laminar. Glass, which is our coworker, also runs on Laminar. And also Inspect runs on it. So it's awesome to see the wide variety of agents that are running. If you text RAMP today, maybe you ask it if something's in your expense policy, maybe you can expense something that also runs on Laminar. It's a full LLM chatbot with tools. So you could probably also ask it to write a Python program for you and it will probably do it.
But interesting enough, like when you first built InSpec, which is your cloud coding agent, it was not yet built on Laminar. It was on modal sandboxes. And I think you use Cloudflare durable workers, as I remember. That's right. So sticking with InSpec, why did you build it like that at the time? And then when did you get the idea that you wanted your own managed cloud platform, which became Laminar? Like, why didn't you start with the managed cloud platform? I'm sure something must have not been obvious at the time, or maybe there was just not ready.
Yeah, I mean, great question. I mean, when we built Inspect, we built something where we had open code running inside modal sandboxes. So we'd spin up the sandbox and then the open code So the actual execution of the agent loop runs inside the sandbox. It's a constant debate and a lot of background agent providers are maybe going back and forth on this, but there's a certain set of drawbacks when running the agent loop inside the sandbox, and you kind of have to keep the sandbox online and restart the sandbox when you need to run it. There's durability problems if it dies. Upgrades are annoying, like let's say you want to upgrade the harness so you have to go iterate over all your sandboxes and then upgrade the code. So, yeah, harness inside sandbox and harness outside of sandbox. If you can, we just kind of wanted something that works outside the sandbox but has no drawbacks. Then we went out there and we tried to look for something that worked exactly right. You still have sandboxes in that. Laminar integrates a lot of sandbox providers, including modal. But we just wanted to work around that class of issues.
It's very interesting because Anantropic Caitlin was just on a podcast recently and she actually talked about the same journey. Their first version on Cloud Managed Agents was Cloud running on a VM and they shipped it with Cloud for Web and then they saw the drawbacks on CPU usage, on durability, security issues, credentials use. And then they built a second version, which shipped in production later, a few months ago, I believe.
Rahul just talked about Laminar, their internal platform that every agent runs on. Each of those agents needs to search company data effectively, which is where I need to mention our presenting sponsor, TurboBuffer. Something that has become so obviously true in the last year is that search is the core infrastructure for AI. Every agent needs to search petabytes of unstructured data, both on the public web and in private databases. TurboPuffer is a search that allows any intelligence, whether human or agent, to search every By the end of the day, we're going to have a lot of data. Companies like Entropic, Cognition, and Notion built their search infrastructure on TurboPuffer because it's insanely reliable and performant at the frontier of AI scale. TurboPuffer hosts trillions of documents for search, serve hundreds of thousands of searches per second, And so if you want to ship something amazing, you make bets in infrastructure that will not break no matter how big your ambition, nor how fast you ship. TurboBuffer has proven it's capable of scaling to support the largest search workloads in the world, which is why it's fast becoming the default agentic search engine for enterprises and startups. Check it out at turbobuffer.com slash pragmatic. You can sign up today and start building, or if you've got a big workload that you want to talk through, they have one of the best support teams in the business. I'd also like to talk about our season sponsor, Linear. Earlier this season, I showed you how you can delegate one issue to an agent in Linear. But large engineering orgs are way past this point. Their question is how to have agents work across hundreds of engineers and thousands of changes. How do you know what is being built and what is being shipped? Linear is the solution a lot of teams use to better work with agents inside of whole organizations. With Linear, you can hand agents work at any scale, from single tasks to entire projects. Agents can be Cursor, Codex, Clothcode, Linear Agent, or any agent that you've built. The agent writes the code and opens a pull request, and your team merges and reviews it in Linear, right next to the customer request or bug report that kicked it off. And Linear works very well at the enterprise level. More than 50,000 companies build with Linear, from startups to large ones like Salesforce and Yahoo. Most recently, I saw Zalando talking about their move. They migrated over 3,000 engineers across 19,000 GitHub repos to Linear and they did it by running a 60-day pilot first. You need to check out Linear yourself, that's all I can say. Head to linear.appslashpragmatic and get six months of Linear business for free. And with this, let's get back to Hulam Virl and how Ramp routes its AI traffic.
We talked about models. We talked about agents. What about routing? Yeah, definitely. I mean, Rahul talked about it, but we kind of built Ramp Router initially just for ourselves, like our own features were kind of reliant on maybe one gateway and you needed to be cross-provised. And so we worked a lot on it over the last couple of years. And then when we started talking to more customers, especially like some of the AI native companies, it made a lot of sense for us to build more infrastructure around our router. People are obviously spending a lot more on AI. Maybe some companies are going to be spending more on AI inference than on headcount and T&E. And so, so much of, I guess, the previous parts of Ramp were just so focused on T&E. And now if companies are spending more on AI inference, we want to Ramp is the best platform to do that. And so a lot of the hope with Ramp Router is obviously giving you a lot more reliability, but also just having one place for observing exactly what your AI is doing, tagging it, like semantic tagging understanding the ROI, who is paying for what, which models are getting used at your company. And so we think of Ramp Router as just like this visibility layer, the same way that kind of our first versions of Ramp were a visibility layer for T&E. Ramp Router is our visibility layer for a company's AI spend.
Yeah, so we have NVIDIA Switchyard implemented, which basically decides between a more efficient model versus capable model. This is a library that NVIDIA implemented, that we made one click install inside of RAMP Router. I think it saves us around 30 -40%. There is I guess, flex versus standard tier routing that we do automatically for users. So like you said there's an assigned of GPU usage on nights and weekends. Actually you will get the same performance on flex tier that you get on standard tier. It'll be around 50 % of the price. Why is it because of the utilization? Exactly yeah so OpenAnathropic both offer this. They have a flex tier and a standard tier. On the flex tier, they don't guarantee a time-to-first token, but outside of the peak loads, it'll basically match the standard time-to-first token. So that's an example. I'll give you an example of some routing that we implemented. You can do cross-provider routing as well, obviously, for some of the open source models. There are dozens of NeoClouds that offer them, and so we'll do that as well, different benchmark-based routing, but I'd say we call it But I actually think part of the value that we've provided now more is actually on the visibility and just observability side of just, hey, like this is what your company's spending on AI and where it's coming from. And so we've integrated that really well into like the broader ramp platform as well.
Yeah, and I guess this goes back to like what the business is, which is cost management. Exactly. And now that AI is becoming such a big cost, you're saying, well, we're pretty good at like building tools for you to control your cost management. And now like, you know, giving details about AI and so on. That's fascinating how like how quickly AI has become a real like candidate for like, okay, I want to know what is happening inside how people are using it, what business value I'm getting and so on.
Yep. We've done a lot there. We're going to continue to prove it. Like right now, If you have our AI spend tracking product, you can see, like myself, I can see, okay, what Ubers and Lyfts and restaurants did I spend on, but also like what AI models did I spend on over the last week or what AI models did my team spend on over the last week. Even like tying it back into like which GitHub repo were they contributing to, which PRs did they generate. So that's been very interesting to kind of track more and experiment with.
And I know that in the launch post of Ramp Router, you like in the blog post, You wrote that there's this goal to like get to the point where you can do business outcome based tracking, which is obviously like, you know, when I don't know, like how much does it cost to close a support ticket on average or for this specific thing and not just support ticket, anything else. On launch, there wasn't examples of this, but inside of RAM, have you managed to get to the point where you can actually say, here's a business outcome and we can track the AI spent against it?
Yeah, I wouldn't say it's fully solved. I think we're making incremental progress on it. And so we've added more layers of tracking. So whether that's the GitHub repos and tracking like where people are contributing code inside of Inspect, also obviously knowing like, hey, this session cost $100 and it generated this PR. We have that tracking and a big dashboard for it. Bringing it into like broader ramp with Glass and Inspect now also just understanding which output did someone have, which with what models. So we're definitely not like fully there, but making a lot of progress and to To do that, you need to understand, obviously, yeah, the gateway, the router, the harness on top, and then obviously like the end application. What is the customer actually generating and tying that back to what your output was?
Yeah, but I wonder if this is just a hard problem the same way as developer productivity, measuring like how much value, you know, like this is, but as a CEO would often ask like, all right, I can hire an engineer and it'll cost me $150,000 in base salary. The logical thing is do that hire if they will bring more than their salary as new business or revenue. And that's been always very hard to do anyway. Yep. I wonder if part of the problem is like we're just trying to do something That has been hard to tie to, especially because a business outcome, it can be like longer term, you know, like how you build a feature and if it generates a bunch of money and revenue in six months, how do you tie that back and so on and so forth? Yeah, it's always been hard.
I think purely on a cost basis, one of the ways we track this is on a P50, P95, P75, P99 basis, like what is the cost of like a singular inspect session? And we tracked it across models, across repos, across people. A lot of the LLM spend, I think, consistently follows the same pattern. And even if you slice by like who's using it or which model you're on or which feature you're on, it's almost always like super long tail heavy. In that a small percentage of people or features or models contribute to the vast majority of the spend. I mean, you can also see this in the pricing itself. Something like Luna is a lot cheaper than Astra and significantly, they're probably like 50X cheaper. And so a small set of like Astro consumers can probably spend a lot of money. So we've always like, we try to slice and dice the spend through this lens. And usually what this allows you to do is like a small set of interventions will cut down your costs a lot. You just tell some people to be slightly more cautious when they're using their models or when they're on fast mode or when you look at the most expensive feature and you optimize that slightly, that will probably make up for or have a larger cut than optimizing 50 different small consumers of LLMs.
Yeah, it was very interesting because I recently ran a research on how much companies are spending on AI and how has their PR frequency changed. And obviously PR frequency will be one of these things will be like, well, you can't fully correlate it. It's not a good thing to measure by itself, but because no one measured it before and devs didn't think to game it, it's actually a pretty good thing to look at. And the interesting finding was that every single company that shared They roughly, their PR frequency went up roughly by around like 2x. I mean, there's the variance from like, you know, like from 50% all the way to like 5x or even 10x, but about 2x and CodeRabbit data showed that that was the average. The crazy thing was it didn't really matter how much How much they spent on AI. Like there was teams were like limited to like $20, you know, more old school companies limiting to the $20 per month subscription. That's it. And they went 2x. And then there's companies that were spending thousands of dollars per month and they went 2x, but obviously they went from 2x from, you know, Doing like already like 10 PRs a week or something like that. It was just crazy to see. Like to me, I was like, hang on. I would have thought that, you know, the more someone spent on AI, you would see just a fewer frequency. And it seems to me not be the thing. To your point, like maybe at some point, like, you know, more businesses should be asking the question of like, do we need to spend on the most expensive models? If so, how much? And who are the people who really need it versus people who accidentally have it turned on? I guess like a router, like rolling it out to like, Industry-wide will also help you guys be able to understand this question or answer this question even to me when I'm asking, like, hey, can you share some data about what you're seeing, right?
Yeah, we're already kind of releasing a lot of this data through our AI index, ARA, who's our chief economist, has been working on this and integrating some of the token spend management data. But yeah, it's very interesting to see, honestly, how much even the defaults matter in all these different harnesses that we control and then the ones that we don't control as well.
So if I'm an engineer and I join Ramp, what does my workflow look like? Especially if I come for a company that doesn't have much AI to own. Think of like a pre-AI startup and I've joined, I'm super excited. What does my first week look like? What systems do I touch? I know there's so many internal systems inside of Ramp. You built a lot of sync you didn't buy. So what would I be working with?
I mean, I would say honestly, like every engineer is going to be using Inspect a lot on their first week. I used to joke that we used to have like, I don't know, like an engineering buddy and an engineering manager helping like a new hire on board versus now your engineering buddy is just Inspect. It knows everything about the codebase. You can even ask it who to ask if you want to talk to a human or an engineer. It's connected with all the context inside of the company, right? Exactly, yeah. So you'll, I mean, you onboard onto RAMP, you get a Slack account, you get an Okta account, you use your Okta account to sign in to inspect, and then inspect is connected to Sentry, Datadog, LogRocket, Zendesk, Salesforce, basically everything that an engineer needs day to day. And I think it's a huge step up from like, honestly, what onboarding was like even like two, three years ago, where I would have to kind of Come up with like starter tasks to kind of help people unblock themselves, maybe create some small tickets versus now, Inspect can very much guide someone through something. And so we lean on Inspect a lot. I think the other part of it is that we spent a lot of time documenting Planning areas of the codebase. So our knowledge base has just compounded a lot more over the last year, whether it's with skills files or Notion docs that people have. Obviously, you can ask InSpec to look at past PRs and past GitHub merges to understand And so there's many times where a new hire will join and they're working on an existing feature and they're like, hey, who should I ask about why this bug exists or why we haven't patched it? And obviously InSpec knows and has better memory than anyone at the company. So InSpec is very much like an engineering chief of staff or coworker for a lot of engineers at Ramp now.
I mean, it's pretty much just inspect and glass. We try to keep things simple. Inspect is more of a engineering tool. The other thing that Viral, like on top of what Viral mentioned is we don't, a lot of engineers when they start RAMP, they don't even need to set up their dev environments anymore. It's all running inside Inspect and every repo at this point, we have a single file that defines the exact set of commands that need to run to define the sandbox and the container. And so, yeah, I mean, engineers I get a laptop, but they also have hundreds of inspect sessions at there whenever they want and it can spin up very quickly. And a lot of the way people use it is they ask a lot of questions. And I, when I use inspect almost all the time, I'm starting with like super broad prompts. And there are times when I know the exact change I want to make and that there's a certain class of inspect sessions that I start there. But a lot of times I'm just like, how are we doing on X? Tell me more, and why is it not this way? And it's a great way to learn about different parts of the codebase. I imagine it's very useful for a new hire as well.
Yeah, I think the main limiter is just honestly how curious or how high agency you are. Like there are, I'm sure, yeah, Rahul's done I've done this myself as I've done this as well, but just like there are areas of the code base that we might not be as familiar with, but just asking inspect to explain it to us or explain some piece of data or explain why a bug exists. Like, yeah, like I feel like your curiosity and your ability to just ask inspect is kind of the main limiter there.
And we've also, we wanted it to be like super low stakes to kick off an agent. And there's a certain level of activation energy you have when you kick off a local agent, because you kind of have to like use some of your screen real estate or use some of your RAM and you have to kind of pay attention to it. And you have to keep your laptop open and walk around. If you want to go home, you can't close it. There's a certain level of management involved. And a lot of the time when I'm like walking on the And I think, hey, I need to check in on this. I quickly narrate a prompt into Inspect. And then usually I look at it several hours later and it's already been going for a while. Sometimes it farms itself out into maybe tens or even hundreds of subagents and does a lot of work. I've pasted, I think, 20 PRs, like 30 PRs in a single Slack message because Inspect just like farms out, makes review a lot easier when there's like some change that we needed to like map across the code base, like some upgrades or things like that.
Once I build stuff with Inspect, it's ready to merge. How does code review work and how has it changed? You know, like we used to have the case where I'm sure at RAM, before AI, you also had a mandatory code reviewer, someone on the team or something. But I assume that that's not how it must go because that would not scale anymore.
Yeah, so we built a series of automation. So the great thing about the way we have Inspect set up internally is also most Inspect sessions are automation. So they're not actually prompted by a human. We have an Inspect API, which is very similar to the interface that human has. You send in a prompt, you can define which repo you want it to run, and you can also set the model you want. And so our internal code reviewer is also built on the Inspect API. And it just spins up a fresh session and has the same code in the sandbox. And a lot of the time, the code reviewer may not just be happy with just reading the code. It may want to run some tests. And so we give it the ability to do that as well. And it also allows us We also consolidate all the repos set up because we really spend a lot of time making sure that our linter runs quickly, our testing runs quickly, the code is always up to date. You're on a very recent git checkout, if not the latest commit. We do have a lot of commits landing on master, so we try to hit something very close to master when a sandbox starts up. And the trade-off there is, again, latency. So you can either have a sandbox startup very quickly and be slightly out of date or be on the exact latest master commit, but a slightly slower startup and we've optimized for a faster startup. But yeah, our internal core reviewer, again, is built on models, our frontier models. There's a certain level, like you can also, it's like a slider, you imagine a slider of how picky and thorough do you want the reviewer to be? So for example, obviously it's an extreme example, but if we wanted every PR that goes into production to be extremely well tested and like almost certainly absolutely correct, we'd probably spend like tens of thousands of dollars on every single PR in inference.
Because every marginal dollar and more tokens you sample, maybe like it catches like some extreme case. Yeah. Obviously, that's too extreme, and we try to optimize for something that's much more tangible. We have sub-agents. We experimented with various models from various providers, like parallel sub-agents, maybe some debate. So the original inspect session and the reviewer usually have some sort of debate where the reviewer puts comments on here, and the original agent can either choose to resolve those comments. And say why, or address those comments and also say why, or address it. And so there's this dance between the two inspect sessions a lot of the time. And this is also automated. So the reviewer kicks off when the human marks the PR is ready to go. And then the debate happens, and it can be several hours too, depending on how big the change is and how many sub-agents are deciding to protest. Amazing. Substack agents protesting. Exactly. And over time, they eventually reach some sort of equilibrium where they're both happy. And then at this point, some of the time, there's a third Inspect session that decides if the code can go in without an additional human stamp. And this is called Stamp Buddy, right? Exactly. I mean, we just call them Review Buddy and Stamp Buddy because they're all buddies for the main inspect session. Yeah. But they're all just clones of the same infrastructure. And it's awesome to have this kind of setup because a lot of these automations are just the inspect, like the original inspect agent in different clothing.
Can you tell me about on-call assistance? So like once it's approved, either a human approves it because the agents decide that or her stamp buddy decides that this is high risk or stamp buddy says like, all right, this is low risk, good to go. It goes out there. Hopefully everything is good, but every now and then we will have incidents. And I understand you have a bot called on-call assistance, which of course, I assume it also runs on Laminar and probably uses Inspect to some extent as is the case. What does on-call assistance do?
Yeah, OnCall Assistant is a little bit older. I think it was built right when we were building Inspect, and we built it more of a vertical agent, so it doesn't use the Inspect API. I actually think it runs cloud code inside a sandbox still. The main difference there is I think it has a little bit more permissions on the kind of access it has, because usually on call you want a little bit more... detailed access and we've been pretty careful and meticulous about what exactly inspect has and it does have a lot of read permissions but we've also been very careful about writes and so on calls is slightly more vertical in that way.
And you know one thing that's gonna happen and I'm sure it must have happened to you as well is now as more code pushed out as AI generated AI assisted but in the end the AI wrote it engineers sign it off but they might not read the whole code because They just look at things. Some of the outages, when you track back on what caused it, it will be an AI generated change. When you saw something like this in the past, how do you handle it in your postmortem process? Because before AI, it was pretty clear, you know, we'd ask, we see like, all right, an engineer wrote it. It was always blameless, right? So we wouldn't say like, you know, like it was your fault, but we would ask like what the context was, look at what checks might have been missing and so on. But now if it's AI generated, you don't, How do you deal with this new set of outages, especially with the root cause investigation?
At the end of the day, an engineer is merging in the changes, so even if StampBuddy approves it, there's an That's clicking merge into master. So we still very much hold humans accountable for that. But I do think one important thing to call out is we also just think about ways to make the system more robust. There is an outage, like what can we do to add the right guard rail? So maybe like the blast radius of that bug shouldn't have been as wide as it was. And so we think a lot about, yeah, just ways to make our code base more resilient. Like, I mean, an easy example is like maybe you're, Introducing a new feature that an AI helped you implement, you should probably feature flag it, enable it for ourselves to dog food first before you enable it for whatever, 80,000 customers. And so things aren't as like black and white on like, oh, no bug versus bug, but you can kind of limit the blast radius. And obviously like the risk of different features. So I don't know, like me sending a SMS message with an LM generated prompt that might be maybe lower risk versus like something on our risk or underwriting flow with our banking partners and there's legal compliance. Contract's obviously in place, so it's not black and white that way, and so we definitely treat it differently depending on the sensitivity.
We have a hard line, and I think, again, we have inspect writing the original code, and then we have review and stamp sessions that are spinning up. And we also have a fourth one, which is after it goes into production, the code is live and it's running. We usually have a... Post-deploy monitoring inspect session where, I mean, it's all usually on the engineer to make sure the code they're merging is working and they maybe have to look at logs to see that nothing's gone wrong and if the code path is running correctly. We have an inspect session to automate that piece as well. So it's kind of like lifts that burden off of you and it pings you if things are wrong and it automatically reverts it as well. And so it just reduces the pressure and allows you to go a little bit faster.
What I'm hearing with the kind of postmortem process and looking back, that's not really different to how it worked pre-AI. Even when we had an engineer writing it, we were making sure that places that had blameless postmortems, again, you wouldn't blame the engineer. What systems could have we solved it? Why it was time to mitigate so long? What automations can we add? What guardrails? So like, sounds like that part is refreshingly similar. Like just good engineering practices are still matter.
Yeah, definitely. We're getting very close to closing the full loop and there's projects going on right now where for a certain class of PRs, we would like the models to be able to get them into production by their own. And we were experimenting with like guardrails in various ways. And so, yeah, we'll find out, I guess, over the next few months how that goes. But we're very excited to close the loop on certain classes of issues.
Yeah, we have this tool called Testo internally, and it's our browser agent that tests front-end changes. It's awesome because a lot of the time when you make backend, There's usually an integration or a unit test. We'll just tell you if the code is running in the right way. Oh, yeah. But the front end, you usually want to see what it looks like. And that really determines whether you want to merge the PR or not. And so we really wanted to close the loop there as well. And all this is with the goal of when a PR comes out from inspect, The model has done and the harness has done everything possible to make the approval as easy as possible. So it's done everything, run every check, run every unit test and taken every screenshot such that any additional input the human has is usually just like a stylistic thing or whatever it may be. And then we try to incorporate those things as well. In the case of our front end, We, again, set up, we have this demo instance of RAMP, and the frontend agent, after the code is written, will deploy that code and actually click around in the React app and take screenshots of before and after and attach it to the PR. And this is what Testo does. So any frontend change, almost every frontend PR that's merged into master, you can see the before and after. And a lot of times it's also annotated, which is nice because it actually shows you with an arrow in a red box, here's exactly the change and here's what it looks like. We also take this a step further and... We actually automate from various triggers. Again, very similar to the backend case of whenever there's a issue from our instrumentation provider or there's like an error that we surface, we have automated inspect sessions spin up and produce a PR. To produce a fix, very similar to that. When we have NPS surveys or customer support tickets that come in and say some UI or some flow is broken, or maybe there's like a styling issue, we again have an automated inspect session that spins up and it again tries to, it makes the change and sends the code to a human. But here's the problem, right? So maybe you're a front-end engineer and you're just going about your day and you get this PR from inspect and you have a screenshot. It's not enough information to actually understand what's going on. And so we actually have inspect generated a full video. And the video is narrated by AI as well. Wow. And so it says before, here's the issue, right? So the user clicks on this button and then it actually like errors or they double click or this form is like buggy and it's a scroll jitter or lag. Yeah. And it shows you that happening because when it does computer use, we also do a recording of the Chrome browser within the sandbox. And there are great text-to-speech APIs that then the model overlays on top. So it explains what's happening and then also explains after. And so hopefully, again, this is in the spirit of giving the engineer as much information as possible so that for them, it's very low burden to just go through and be like, yeah, this makes sense to me. Let's get it out.
I mean, this is one of those examples where... Like, I think this is like better than what we have. Like, I remember, you know, like you have a front end change and this used to be good practice for a front end pull request pre-AI, do an image of before and after it, but not everyone did it. But when you did, you're like, oh my gosh, that's so nice. And then of course, as a reviewer, you're not going to run the whole code and you're not going to click through. But I can count the times that I saw a video. I think this was like one or two or three times when an engineer went to trouble to record. And even then it was an after video, never before video and annotated. And like this just never existed because it was so much damn work. And obviously also devs are not like experts in annotating and creating video. But now you can have an agent do this, I guess, for a bit of extra cost. Like to me, this is like, you know, like the bar went from like being able to me give feedback as a human from here to like here.
And then specifically the problem here is that when the session is not prompted by a human and the trigger comes from some automated service, then there's no human in the company that has the context of why this PR was even kicked off. The video really helps like bridge that gap and shows what the problem is. Because first you have to be convinced that there is a problem. Yeah. And then it also convinces you that that problem is fixed. And so the video really helps there.
Yeah, Glass is a huge one. Again, it's our internal company harness. It's internal, but it is now being opened up, right? It started off, and as you said, we launched it to the world a couple of weeks ago. We're super excited to bring it out. And when we built it, again, we went out there, we wanted something That connects to all our company data. Again, we're a mid-sized company, and we do have access requirements, and we wanted to be very thoughtful about what permissions people have. And we also wanted custom UI and connect to all our internal components. And so we couldn't quite find the exact tool that we wanted. So we went out and built it. And over time, it's much loved by a lot of our team.
And then can we talk a bit more about what Glass is? Because the way I saw it when I was inside of Ramp, when I visited New York, the team that built showed me and My one sentence summary would be, and you know, like, correct me or give me the nuance, it's like an internal lovable in the sense of like, you can prompt applications that run on your internal infrastructure and like the demos, not demos, but the actual applications I was shown as like, like, Someone working in marketing or accounting, I'm not sure which one, but built a special CRM. I think it was marketing with all these fields that made no sense to me, but like for this person and for their team, it made tons of sense and it made their work a lot easier and it's sharing These were like, it lived on internal websites. And so it wasn't facing to the external world or maybe some of it might have been, but I only saw internal stuff. And yeah, it accessed all of the RAM database and like non-technical people could say like, I want this, I want this, put it together. And I was like, this UI was so overwhelming. First of all, I could have never imagined that anyone would ever need this, but clearly they did. And now it was kind of self-serving. Like no developer would have built this because it's so niche. It's too small. It's only for one person or like, I don't know, So this is what I saw from Glass. How accurate is this or how has it evolved since?
There's certainly a part of it. Glass is like a coworker and it connects to everything that a company has, like Slack and Notion and Gmail. Supporting a customer with a support ticket or you're just got done with a sales call or you want to write some copy. Being able to work through all the context in Slack and Ocean and Gmail and Salesforce and Zendesk helps a lot. And so we optimized for Almost a personal assistant that every employee has, except also we really focus on making it multiplayer So you can send these sessions across to people and there's projects that people can collaborate on. And single place where work gets done, a lot of the knowledge is shared across sessions. And so it's a company brain co-worker that we wanted for ourselves and that we're bringing to the world. And a part of that experience is the ability to make internal apps, then you can host it internally. It can spin up like HTML pages. And again, those pages can access some of the data that Glass itself has access to. We architect the system such that either the data can be pulled through tool calls and the same access is also reused when the apps need to access that data. And maybe show updated numbers on our dashboard.
Gong is the service we use for recording Zoom calls and our calls for all our calls. Most of our calls are recorded for training. And yeah, so it usually knows when down in the meeting and helps you like manage Maybe it reminds you to send a follow up. Maybe there's a Slack message you haven't responded to. So Glass kind of runs a lot of my personal stuff at work when I need to review PR or remind a team. And I tell Glass every time I have something that I need to do periodically, it reminds me to do things a certain date. And so it's very similar to like a proactive personal assistant.
And then I want to ask, you have Inspect, you have Laminar, you now have Glass. PMs and designers and non-technical people are clearly building stuff. Are they shipping production code, though? Or is that still with engineers? Maybe you find a bug in one of the flagship products and you'll probably talk with Inspect and Inspect will raise a PR, but in the end, does the accountability sit with the developer, a software engineer to Do you already have product managers or designers or other folks who are not engineers by training, but with these tools, they can be like, okay, merge.
Yeah, I mean, we believe in the models. We think the models are very smart and they're getting better. And so a lot of the time when people come in with a certain thing that should be fixed, usually like it's And I mean, either way the person's going to send that PR to inspect and get a PR out So we encourage when people across the company, not just engineers From every function, they come in with, hey, I had this issue, the customer said this, also inspect me this PR. And depending on the team, and the teams are owners, because again, they're accountable for the experience and the code and uptime, they help. It helps get that code merged in. Sometimes it's not the right approach, and they can take over the inspect session. Again, inspect is multiplayer, which is great. And so it just saves a little bit of time.
It's a breeze to take over. Exactly. It's fully transparent. So people will send inspect links in public Slack channels, and I can see exactly what Rahul is prompting or someone on the other team is prompting. Take it over for them. Maybe it wasn't the right approach. Maybe there's a simpler solution. I've actually found this is like the best way that the whole company learns how to prompt better is by seeing how other people are prompting their inspect agents. And so, yeah, like Rahul said, the ultimate team will merge those co-changes and maybe they're from a salesperson or marketing person or product manager or designer, but the engineers on that team are going to merge those things in.
Yeah, but I actually want to talk about engineering culture, but you already touched on it, the importance of transparency. I've heard other people, an entire Thomas Dymke was saying how he believes that all of the chat sessions in a codebase should be public and When this is not the case, there's a lot of pushback from Dev thinking, oh, I'm not sure about this. Like, I kind of, I want my history to be private, but you're, sounds like you're a huge believer in transparency just helps. How does it help? And also, what was the first reaction when you started? I'm sure naturally devs will have a bit of a, you know, where like the commit messages are always public, but like, I don't know how I got there was kind of my thing. I'm sure there must have been a little bit of this.
Definitely. I mean, it is default public. You can obviously make up a private Maybe you're investigating a customer issue or something sensitive financially. But default state is that it's public. And most teams will actually have team-specific Slack channels. So it's like, oh, spend uses AI or applied AI uses AI. Your accounting uses AI, PMM uses AI, PM uses AI. And we found it to be a good place to also just like actively show to people like what else are you working on when people are capable of so many more things, it's even more important to communicate and coordinate. And we found Slack actually to be a really good place to do that. It's very friendly for bots and Slack apps. And so we default kind of do a lot. My prompting is by default in Slack. Maybe for others, it's different. But we think that's important, obviously. Yeah, you still want guardrails. Maybe there are certain things that you want to hide. And so, well, you can create private inspect sessions and projects and things like that as well. I do think a lot of this, though, has not changed from, like, I don't know, early parts of RAMP, like, or... Notion docs are fairly public internally, Google Docs, board recaps, things like that. And so we're generally a pretty transparent company and that naturally leads itself to like inspect and coding sessions being public that way. And I would say the improvements and benefits that we've gotten from people learning from each other and diffusing AI across the company has been way better than we imagined.
Yeah, definitely. Honestly, it sounds crazy to say, but we always believe that engineers and engineering managers, they should all know how to code. I think that was controversial. There was some time, but not anymore. There was some time when there were engineering managers that didn't know how to code, which is like, how would you try? Trust that person to kind of be your manager. And so, yeah, we very much expect everyone at RAMP to code and obviously more senior folks to lead and manage and mentor more junior folks on their team as well. But the default kind of expectation is that everyone can code. Now with Inspect, it's even easier. And so if you are on a team or maybe you're leading a group of engineers and you find something that's broken, you can obviously delegate to a human on that team. But as an engineering manager, you can also use Inspect to get your team maybe 90 or 95% of the way there. And so we think that's very important. And yeah, I think we very much kind of lean into this like player coach model where like the engineering managers or the leaders on the team will maybe own like the strategy of something, but then there's other engineers contributing and it's very collaborative that way.
It's been a lot of changes, honestly. Like we've tried different types of coding interviews. We've done like AI coding interviews, maybe more like take-home projects. It's gone back and forth. I do think a lot of the traits that we were looking for before, like high ownership, agency, curiosity, being able to think from first principles, all of those traits matter even more. Obviously there's different ways to test for that. I wouldn't say we've settled on the perfect solution. I don't think anyone in the industry has. And I think we're keeping an open mind on the best ways to understand what someone is capable of. Sometimes it's giving them a coding problem. I don't think there's a one-size-fits-all there. At times, they might be looking at their GitHub repos or their personal projects, or maybe there are technical papers or blog posts that they've written in so I don't think there's like a one size fits all there And yeah we have never been a big fan of leak code style interviews either And so more and more, and we're continuing to invest in coding interviews that mirror what someone might be doing day to day. We allow you to obviously use ChatGPT and your coding tools. You can use those in our interviews. But yeah, I'd say a lot of the qualitative traits of what we're looking for in an engineer have not changed.
That's interesting because I was talking with with Entropic folks that are also in the podcast and they confirmed that across Entropic they've phased out coding interviews. They said it wasn't like dropping one day to the other, but they noticed that the signal was getting weaker and weaker to the point of like they would extend a higher even someone bombed a coding interview because clearly they just haven't been hand -coding for awhile and you know, they still get signal elsewhere. They're actually designing...they have interviews where uh..you work with an AI either like AI generated a plan and you're working with that or AI -generated code, so they are bringing all of these things in but for them, they just saw very little like signal going down close to zero. So they just got rid of it, but sounds like you're not quite there yet, but sounds Like You're also just trying to figure out what does Signal mean? Yeah, definitely.
It's very similar for us as well. I mean a lot Of the time we... It's Not Just A Coding Interview and The Coding interview is like a way For Us To Get Signaled But It Doesn't Mean That If You Don't Get The Problem Right And It means you don't get an offer. So we're also calibrating something very similar. A lot of it is like trade-off reasoning and we're almost like we're here to argue with the models and it's kind of our job now. And models are getting very smart. And so you have to know enough to be able to push back where matters and call models out on the stuff that they're wrong on. And so that's kind of what we're looking for as well. A lot of taste and judgment. Yeah.
I don't think we're accelerating hiring in any way. We look for exceptional people and we've always been hiring. When we find someone great, we've obviously always wanted to work with them. We have been pretty picky in general always, but also recently. Again, it all comes down to models are creating a lot of capability internally. You want someone who's usually like better than the models or are able to push the models and utilize them in the right ways. And so we've always been super picky and we're continuing to do that.
Yeah. And then what does it mean for early career hiring people who are not as experienced? Because it sounds like you're looking for the more experienced folks. This is what the AI labs are doing, what Entropic was also telling me. And they're also writing about it. Entropic actually said that they're specifically there, they're Slowing or maybe even stopping junior hiring. How are you thinking about this part? Because I feel that this is a tricky, tricky part where like you almost half answer that, like where you do need to experience people who can like challenge the model who have that experience, which will not come from someone who like is starting out or at least doesn't have professional experience just yet.
Yeah, I think that we were still able to find junior folks who have good judgment from their experience. I mean, age is not usually a predictor of how experienced they are. Some folks start super early. We all started early and a lot of the early RAM team did. The other thing is the models are also really good at teaching you. And so someone who has high enough agency, you can push back on the model by just aiming to understand yourself. So when the model comes to you and says, we need to do X, Y, Z, and if you are willing to undergo that pain of just understanding what the model is telling you so that you can explain it to somebody else, That usually lends to some ability to push back on the model and say, I don't quite understand this part. Can you tell me more about this? And the model would be like, oh, wait, like, yeah, you're right. That doesn't really make sense here. I'm a big proponent of people using the models to learn and understand pieces of code they haven't touched before. And that helps people understand.
Sounds like you're saying that you're really looking for both agency and judgment. And even if you're like in college, like you've got a couple of years to do that. If you keep doing stuff on the side, if you keep building, You ship all these projects. I mean, I had Peter Mattis on the podcast who, during college years, he built GIMP and then he built GTK+. And that was during college. And this was way pre-AI, right? And all I'm saying, obviously not everyone will do that. A lot of people will just complete the coursework, but there are people like this who existed who just have a great agency, curiosity, like some sort of drive to build. And yeah, I guess time as well. But at college, like maybe like you might be able to find. So like maybe this hasn't changed all that much. It's just like just like before, like the majority of people have not done that. And I guess maybe we're giving tips here to people like if you're an early career in college, like start to do this because this will not be taught by academia, that's for sure.
Definitely. Yeah. And it's a lot easier if you're in college now to learn because you have like really great teachers at your fingertips and it is hard to sit with a model and argue with it and push it on where your understanding is not fully complete, but it can really build some great engineers a lot sooner than maybe historically need 10 years of experience to get there. And now you can do it in a few years because you have these teachers. Yeah.
And how do you measure engineering and team efficiency? This was always a tricky thing to do, even before AI. But before AI, you had some things where you had some flags like, oh, an engineer is not opening PRs for a week or two now. You probably want to What's going on there? Or lines of code or just these messages were not great. But again, when you saw engineers who did a lot of code reviews, typically they were team players or left a lot of comments or spent a lot of time on it. Or there were the coding machines. I think we had a kind of category for this as well. So code and code reviews did give us some sort of data and sense of iteration speed. But now to me, it seems like that's kind of down the drain, if you will.
I mean, yeah, obviously there are ways to track like PR count and lines of code, but I'd say a lot of our discussions on like engineering performance around like, yeah, like what was the customer impact of this change? What was the business impact of this change? That's not to say that like, I don't know, cleaning up tech debt or performance or other things like that aren't as important, but very much anchoring on like, hey, like what were the goals for this team and how do they contribute to those? And yeah, like Rahul said, most managers at Ramp Are very much in the weeds of exactly what their direct reports are doing and what they're contributing to. And so maybe if an engineer is not outputting code plan for the next project that they are working on or jumping Jumping on maybe some customer calls to figure out that next project. So it's the code review, PRs, it's just one signal and I think the best managers will kind of see that as just what it is, which is signal. And then you can form your own opinions around it based on one -on -ones, cross -functional feedback. Like that stuff is not going away. And so yeah, we definitely try to be holistic that way.
You've been externalizing a lot of your products. So it was Inspect, then Router, then Glass. What work did it involve to open these up to be externally usable? So now do you have external customers? Because I know, like, even when I was at Uber, there was always talk about, like, would we open up some of our things that never happened in the end? But there was always this thing like, well, that will be, you know, like a loss of focus. You need to build a lot of other things. You now are you need to do customizing. You need to maybe position these differently. There's just a bunch of stuff that I assume, you know, like it just goes from having one internal customer to the whole world. Like what are the kind of business and also engineering challenges in this?
There's plenty of other things that we built over the years that we decided not to, but I think we just think these tools are exceptional and it was a great opportunity for us to bring them to the world. I mean, we did sit on these tools for several months and use it internally, exclusively before we made the call. I mean, we are aware of the trade-offs, but we think it's worth it and we're very excited for people to use. We had to re-architect a lot of the patterns because, again, assuming, as you said, it's a different standard for uptime, for security and reliability and all that. So we did put in a lot of work to bring those features into these products. I think it will be an extension of what it already is. And yeah, I think the tools are great. So I think it was worth it. It was worth it. And we were in an extraordinary time right now. And there's like this, it's like LLMs are here. And so building this like last mile tool is like really adds a lot of like productivity to companies.
Yeah, but we said beyond building, but why did you build to start with? Why? This goes back to a classic build versus buy debate, which is like, do I buy from a vendor when it's not my core thing that I'm doing or do I build it for myself because I'll need to then maintain it? And I'm not just asking about like an inspect glass and router, which are you now externalize it, but also all the other tools, like how it seems like you always end up like, let's build, let's build, let's build.
Yeah, I think we're maybe just ahead of the curve in many ways. And so when we go out there in the marketplace and we see if there are tools that quite satisfy what we want, because we're a little bit ahead, we're looking for maybe a coding agent that can run our entire code base and our code base is large and we have a lot of services. Or we're looking for a router that works for our use case or a managed agent service that runs Class Platform or a coworker product that can be collaborative and work in a business that has different access requirements. Almost all the time, like because we're a little bit early, there's nothing quite Like the product that we want. And so we end up building it because like we are living through this time where there's extraordinary productivity gains coming from LLMs. And so it's like an enormous cost to wait a few months for a tool like this. And we're just sitting there like waiting for something to pop up. We'd rather just build it.
And I think it also allows you to make it more customized, right? Like there are specific features that we've added to these tools where in another world we would have waited for a vendor to go off and implement versus like the friction now is like literally someone with enough agency asking InSpec to be like, hey, can you add this as an option? And so I think there's something really interesting and powerful about how custom you can make some of this internal software now where before you were kind of blocked on a vendor or maybe a contract or have some upsell to expand the tools that you had. And now your tools are a lot more malleable and flexible that way, which I think is really powerful.
Plus though I guess we didn't talk about, but engineers are just getting way better at building with AI, which is BULSA. It's easier to maintain these tools as well. Well, also, I mean, selfishly, like as an engineer, it's kind of a valuable skill to have because you'll be more in demand. I mean, I'm talking a little bit against RAMP right now, like, you know, You'll be more employable later as well because everyone wants the skillset, but also on the flip side, you don't need to rely on, let's say, training up engineers, which training doesn't even exist, by the way, or buying a vendor solution because if you have better expertise than the vendors, you've already built it already and this is a little bit of ...and then might allow you to obviously even higher people better people. You can now assess people better what does it mean for them? And maybe not as starved to overpay for an amazing AI engineer because oh we actually have a bunch of them already here.
Yep yeah definitely Yeah, it creates, as you said, a great training ground for people. I mean, we learn by doing, and the more opportunities we have to build these things, we learn. And a lot of the trade-off decisions we spoke about earlier about harnesses, we learned because we probably made every possible mistake building a harness. And we've done every permutation, and we just did it over a while. And so we finally ended up on the right one, but we took a lot of trial and error.
Yeah, plus as an engineer, it's kind of like fun to build. And I also wonder if when we're building internal dev tools, there may be a little bit lower risk than shipping straight to customers. So like building a dev tool internally, even if it might be replaced in like a few years time, you get a bunch of muscle, like how to do it. And then it might be easier to like, you know, ship like proper customer facing functionality where you kind of like limit your, you're not going to overuse elements when you don't need to, because I don't, you already had the training ground, if you will.
The feedback loop is faster when you build something for yourself first, because like, I don't know, we'll implement something on Inspect or Glass and we'll, if it's something bad, we'll have like tens or hundreds of engineers or employees telling us it's bad. And we get that feedback within seconds. And we would very much rather test on ourselves than external customers. And if anything, we're going to be harsher critics on ourselves. So we think if we hold ourselves to a high bar, we can build really great products that way for the rest of our customers as well.
The stakes are also really high. How much would you pay for as a company to go from 3x productivity to 4x productivity? That's like a whole 100% increase in productivity and it costs a lot of money. It's a lot of value for the business. If you can get that by building something more customized for your business, I think maybe absolutely.
We don't put ourselves in a box and we're excited about bringing these products to market. We don't classify ourselves as any sort of company. We don't want to limit ourselves. We built these for ourselves. They're very loved internally and we just wanted to bring them out as well. I think these are very great tools and they're built for a company like us wanting to move fast. Built for the requirements of an enterprise with many access requirements and a lot of data and complex code bases and many services. Inspect, for example, runs all of RAMP inside a sandbox, which we couldn't figure out how to do with a third-party coding agent when we built it. And I think still it's quite hard. So we're excited about bringing it out.
Yeah, I mean, managing agents is kind of like managing people in that you give them tasks, but yeah, orchestrating or managing. Yeah, everybody has access to a swarm at any given time. And we wanted to make sure that they do have that. We don't want them to be limited by a computer or their personal laptop. And so there's a certain level of preparation you want to get to before you can say everybody's a manager because you want to have agents that can operate on your company context and your code base. But once you get there, I think everybody's more accountable for the final result and less about the inputs. And the agents are really good at producing code. So we're now evaluating engineers on outcomes and maybe broader impact than just purely like, did you get this feature implemented?
What are the challenges that you want to solve? Frankly, we've built a lot of trust with our customers. We help a lot companies manage their money, which is one of the most sensitive things that a company thinks about. With that trust, I think there's a lot more information about There are a lot things we can provide and these Productivity tools that we just talked about are a large part of it. I think there's even more time and money we can kind of save customers. And so we're actively thinking about ways to expand our current product base into being like more honestly just like deeply integrated as co -workers and I think you've seen this happen with coding already, which is why we spent like majority of time talking about how coding has changed. But there are a lot of functions at a company including in the finance world where that hasn't fully adapted and I think the models are there yet in capability but the trust has not been built so I am excited about the trust problem and how we kind of make it make it a lot more AI, a lot more trustworthy with our products.
Yeah, I think one of the things that I've been thinking about recently is there's been obviously this like continuous scaling of intelligence and model size and this like general LMs have gotten better in the last few years, but almost in parallel to that, there's been a series of almost like applied improvements and abstractions that have It brought the benefits of these models to more use cases and people. I'll give you an example. ChatCompletions API was a pretty big shift from ChatCompletions API because then it forced people to think in terms of Q&A and an assistant format. Until then, it was just something that could finish a paragraph or write a poem for you. Over time, there's been other abstractions like JSON mode, which is great, structured outputs, which then allowed users to build features on top where maybe you needed multiple outputs, maybe you needed an array of objects and a certain schema. And elements were either, they didn't quite always get the JSON right and just forced the schema to be correct. Or it also helped people think in the right way of, okay, great. Like, so for my feature, I have this unstructured input and I want an output of this format.
MCPs was a big one as well. And it then split out the who builds the tool, is it like the third -party vendor or is it the person building the agent? Or is it a consumer. And it split up the consumer? And it like split out the roles well and then brought in an influx of function calling abilities to LLMs. Skills was great, both were anthropic. OpenAI did JSON mode first. Skills is great because again became clear that prompts should be reusable and in chunks and You can compose them in various ways and skills can be written by different people. And more recently, like Jev, the decision API is cool because, again, it expanded the set of use cases that you could like shove an LLM into and reduce the latency. And it reuses the input cache because you could have multiple questions for a single forward pass.
It's really cool. It kind of begs the question, what's next? Are there abstractions that shape how LLMs are used in products and that we're missing? Are they basic abstractions? And how can we, for example, our Inspect API internally was an abstraction that is used enormously for a lot of our automations, for people. And so we're thinking about what we can do with swarms, for example. What is the right abstraction for a swarm of agents? Maybe there's some clear, simple idea that if we're able to nail down, enables a new class of use cases that we haven't thought of yet.
Yeah, I mean, by literally just like APIs. Almost like API surface, right? Which is, API design is very important and it can, like a great abstraction, great API design can inform the products and almost like encourage you to build a certain way or push in a certain way. Maybe it limits the possibilities and in one angle limits the possibilities, but in other ways it helps you build towards like where there's more potential. So again, like for swarms, like you think about like, Each agent gets an input and each agent gets an output, but maybe there's like a more specific way of thinking about it such that you can like compose them in a certain way.
Yeah. I think both Rahul and I go on Twitter a lot. So I think a book I've been reading is actually about an agent, a Hollywood agent. His name is Ari Emanuel. The book's called Roll the Calls. It's a memoir about his life. I don't know a lot about Hollywood, but I do think one of the things that was interesting about the book was how much of being an agent in Hollywood is about providing services to your clients. There's some parallels with agents in Applied AI and how agents will do more rather than it just being a product. It's like actually a service that you offer to your customers. And so that was a funny, funny parallel. But honestly, the book is hilarious. It's really raw and funny. And I think, yeah, a lot of learning is about selling as well. And so if building things is getting easier with our tools and maybe selling and understanding the customer and your client becomes more important. So I thought that book was really good. Awesome. Well, Rahul and Viral, thanks a lot.
It was great. I really appreciated Ramp opening up about the internal tools that they built and Rahul and Viral explaining why they did it. One thing I liked hearing was how Ramp uses LLMs in their main product. They don't advertise that they ship LM features, they just sprinkle the boring parts into the product. With things like pre-selecting drop boxes, pre-filling forms, cleaning up messy merchant names, or populating logos for the right merchants. I think more products could take inspiration from I was also kind of surprised that there is no central platform team to own what AI models are used or when to upgrade to a new one. Instead, every team inside RAMP has this responsibility. But when I thought more about it, doesn't it kind of make sense? Does that make sense? It's like a bit like with microservices. You give all the teams the responsibility of what dependencies that team wants to have. So in the case of models, each and every team will decide what models make sense for their use case, what evals they put in place to benchmark new models, and what it takes for them to move to a new or different model. Finally, when it comes to hiring, Rahul said something interesting. He said that they hire people who are here to argue with the models. Basically, they want to hire engineers who have both good judgment and agency. And those engineers use the models as tools to get stuff done, the stuff that they want to get done. I have a feeling that engineers who are entrepreneurial are going to be way more in demand at places like RAM. So if you have the opportunity to build that muscle of taking initiative during the day-to-day and make more decisions in whatever you do, it's a good one to do so. Finally, as closing, I'm still kind of surprised not just how advanced Ramp's internal dev tools are for a company their size, but also that they're opening them up to be used and sold externally. My sense is that Ramp is more ambitious than many other fintech companies when it comes to dipping their toes into becoming a dev tools business. Do check out the show notes below for related to pragmatic engineer deep dives that go even deeper into software factories and AI engineering topics. If you've enjoyed this podcast, please do subscribe on your favorite podcast platform and on YouTube. A special thank you if you share the podcast with your friends or your colleagues. Thanks and see you in the next one.
