By playing, you agree to uListen's Terms and Privacy Policy and YouTube's Terms of Service.
The Pragmatic EngineerHow Ramp builds with AI
Summaries, chapters, transcripts, and FAQs on this page are made by uListen, not YouTube.
Great conversations run long. Their best ideas don't have to.
uListen is free on iPhone, iPad, Android, Chrome, and Claude.
See howTranscript
105 min read · 21,425 wordsIntro
Gergely Orosz 0:00 You're CTO at Ramp. You're hovering well above 100 PR, some months 200, some getting close to 300. How do you do it? [laughs]
Rahul Sengottuvelu 0:07 A lot of it is from the Inspect automations that we built. Previously, when I needed to get something done, I would go delegate or have someone to delegate to, and now we have agents to delegate to. For the ones where I probably shouldn't be bothering someone, I can just merge it myself.
Gergely Orosz 0:18 One interesting thing about Ramp is you don't have a formal engineering manager title.
Veeral Patel 0:22 We've always believed that engineers and engineering managers, they should all know how to code. The default expectation is that everyone can code. As a engineering manager, you can also use Inspect, get your team maybe 90 or 95% of the way there.
Gergely Orosz 0:33 How does code review work?
Rahul Sengottuvelu 0:35 So the reviewer kicks off when the human marks the PR as 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.
Gergely Orosz 0:46 Yeah, sub-agents protest. [laughs]
Rahul Sengottuvelu 0:47 Exactly, and over time, they eventually reach some sort of equilibrium where they're both happy.
Gergely Orosz 0:51 [gentle music] 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, Veeral. In today's episode, we cover tools that Ramp built for itself, Inspect, Laminar, Ramp Router, on-call assistant, Standbuddy, and others. Why bug fixes 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 TurboBuffer, 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 CloudCode 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 WorkOS 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. Admins approve 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 workos.com/atlas to learn more. [whoosh] Rahul and Veeral, welcome
How Veeral and Rahul joined Ramp
Gergely Orosz 2:50 to the podcast.
Rahul Sengottuvelu 2:50 Thank you. Thank you for having us.
Veeral Patel 2:51 Yeah, thanks for having us.
Gergely Orosz 2:52 It's, it's awesome to have you here. And before we jump into all the stuff you're doing at Ramp, I wanted to ask, how did you get into tech and end up at Ramp? And I'll start with you, Veeral.
Veeral Patel 3:00 Yeah, definitely. Um, so I started coding in high school. I was making iOS apps. Uh, that got me into Stanford, and I really just kinda continued working at startups, building my own projects. And, uh, I mean, I was just obsessed with building and was always kinda tinkering on stuff on the side. How I ended up at Ramp was actually because of Eric and Karim's first, uh, company, Paribus. Uh, I was looking for a summer internship, uh, in 2016. I reached out to, like, three YC companies that were based in New York. I'm, I'm from Jersey, so wanted to kinda go back to the East Coast. And thankfully, Eric, uh, replied, and then hopped on a call with him, Karim, a couple times, and actually ended up, yeah, working there with them, uh, summer 2016. And then all throughout college, I just continued working on my own things, uh, internships. And, uh, when I was thinking about what to do full-time, uh, thankfully Eric and Karim were, uh, starting something else. At that point, it wasn't called Ramp yet, but they kinda pitched it to me, and I was really excited about it. So, um, just kinda followed the people, really liked working with them, uh, and, and, uh, really enjoyed my internship time, so I was kinda just making a bet on, on, on them as, as people. And, um, has, has really worked out, and I've enjoyed, like, every, every minute of it.
Gergely Orosz 4:10 Yeah. And then today you're head of Applied AI, right?
Veeral Patel 4:12 Yep. Yeah.
Gergely Orosz 4:14 On stuff which we'll, we're gonna get into plenty.
Veeral Patel 4:15 Yes, definitely. Yeah. [laughs]
Rahul Sengottuvelu 4:17 Yeah, Veeral's always been really good at, uh, writing cold emails.
Veeral Patel 4:19 [laughs]
Gergely Orosz 4:19 [laughs]
Rahul Sengottuvelu 4:20 And he still does it a lot. And I mean, he cold emailed Eric and Karim a long time ago.
Veeral Patel 4:23 [laughs]
Rahul Sengottuvelu 4:24 That's how we met them.
Gergely Orosz 4:24 And what about you, Rahul?
Rahul Sengottuvelu 4:26 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, it was cool to build things that people use, and always been obsessed with building zero to one.
Gergely Orosz 4:36 You went into startups first, right?
Rahul Sengottuvelu 4:37 That's right. So out of college, I started a company with my co-founder, and he had been at Ramp previously, so we, we, we knew the Ramp team. And Karim called us at some point and asked us if we would like to join Ramp, and, and we said yes, and it was a great decision. Happy to be
How Ramp’s CTO merges hundreds of PRs in a month
Rahul Sengottuvelu 4:51 here.
Gergely Orosz 4:51 Yeah. Like, you're CTO at Ramp. One thing I was really surprised at, and I, I showed you this, uh, we'll, we'll put this on, on the screen, but I saw the p- your PR stats, PRs per month merge the past year as, as you're an executive, both of you are executives act- actually at Ramp, and you're, you're hov- hovering well above 100 PR, some months 200, some getting close to 300. How do you do it? [laughs]
Rahul Sengottuvelu 5:15 Yeah, I mean, I, a lot of it is from, from the ins- uh, Inspect automations that we built. Um, and, and with, with the tools we have at our disposal now, previously I had to, when, when I needed to get something done, I would go delegate or have someone to delegate to, and now we have agents to delegate to. So it's usually a trade-off between how big is this change and how much ownership it, it requires. And for the ones where I probably shouldn't be bothering someone, I can just merge it myself. I, I just marry it to Inspect. And sometimes when I, when I, when I understand the code, it's, it's a lot easier to just get it in than, than go bother someone, so.
Gergely Orosz 5:46 Yeah, but I guess this is one of the things where, like, pre-AI, this probably would not happen. You would have just not had the time and bandwidth, right?
Rahul Sengottuvelu 5:51 Absolutely. I mean, I, I think I, I'm trying to stay close to the code as much as possible. It definitely helps, uh, with understanding what things are, where the models are, and how, how things are changing very quickly. So I'm really trying to continue operating as an IC at least, like, half my time.
Gergely Orosz 6:05 But speaking of, like, pre-AI, Veeral, can we go back to, like, how things were before AI at Ramp? 'Cause, 'cause you were there from the beginning, and, you know, Ramp, as I understand, was always, always fast-moving, always on the cutting edge. Can you tell us, like- How you built stuff before and then how and when did AI start to show up?
Veeral Patel 6:23 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, uh, just, just teach us to be like, "Hey, just listen to what the customer's asking for. Go off and, 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, for a certain feature. So we, uh, uh, have been like very customer-centric and in like earlier parts of, uh, Ramp, I remember we would spend a lot of time like obsessing over like the Zendesk tickets that were coming in, or Sentry issues that were coming in. And uh, I remember many, many nights just staying up like trying to squash those issues before customers like wrote in or, uh, before, before people complain, and just being like hyper customer-focused that way. And I think, um, that skill set has very much translated and, 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, when is this gonna go on the roadmap?' We just @Inspect and, and try to fix it ourselves." And whether you're a manager, an IC on the sales team, marketing team, everyone's kinda using Inspect that way. So I think that's been a, a, a really big change. And I mean, twenty twenty-four we were using like Cursor, Cloud Code came out in, in twenty twenty-five. I think over time, obviously we like migrated from this like tab complete era to the now people obviously running more background agents. Um, and I think kinda, I mean, just, just how you might, uh, onboard like a human onto your team, you're gonna build more trust over time. And so over the last, uh, two, two and a half years, like I think, um, 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, a, a gradual change, but I think it's been for, for, for the better. And all the tools have evolved like basically every quarter. So we might be talking about something right now, but, uh, our, our way of working might be different in like three months, six months.
Gergely Orosz 8:20 And what is the same? I mean, you mentioned I guess the focus on customer, like that sounds that hasn't changed-
Veeral Patel 8:25 Yeah, definitely.
Gergely Orosz 8:26 -from like, you know, from pre twenty-twenty-two to, to today.
Veeral Patel 8:29 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, has been very similar. Uh, obviously we have shorter timelines because things are easier to ship, but as an example, when you're doing customer interviews, uh, you might hear from customers like, I don't know, they want five or six different features. Uh, but if you anchor on like the pain point, it might be the same actual thing that's paining them. And so you kinda gotta think about the product development process and then the effort of like, okay, like what is the most painful thing that we can kinda solve for customers? And I think a lot of our just thinking over the last, uh, couple years has always been like, let's find the thing that's, that's paining them and go off and, and, and fix it. And whether that's internal solutions that we release like Inspect or, or Glass or other external products on, on like the expense management side, I think, uh, that has very much stayed the same. It's like find, find the pain points, find, find what's, uh, slowing them down or, or maybe making them waste the money, and then build tools to kinda, kinda help solve that.
Gergely Orosz 9:28 Is it correct that even before AI, like you said, like understand the customer, talk to them, a lot, a lot of companies, this used to be the product manager who did it, and then the engineer... and the engineer kind of followed, 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. Sounds like before AI, you already had that at Ramp, right?
Veeral Patel 9:52 Definitely.
Gergely Orosz 9:52 You had this culture.
Veeral Patel 9:52 Yeah, yeah. I definitely consider myself and other engineers that, that joined early, like very much product engineers and, and, and building things end to end, I think not kinda narrowly scoping yourself to like one specific code base or domain, just being full stack and, and understanding like both obviously the primitives of, of the code, but also like what, what value you're providing to the, to the customer.
Putting AI into forms, dropdowns, and merchant names
Gergely Orosz 10:13 When did AI start at Ramp? I, from talking with, with you guys before and the company, I understand it wasn't... it was before ChatGPT. Is that correct?
Veeral Patel 10:21 I mean, we, we had AI, uh, into different parts of our product, like receipt matching and our SMS flows, very like basic things, honestly, like more traditional machine, machine learning. But then over time, obviously as LMS got more popular, they were able to do more things. We started integrating them more into the code base and, and into the product. I remember one of the first features that we worked on was around, uh, merchant normalization, basically using a large language model to kinda clean up and, and normalize like a merchant name, like you see card acceptors probably on your personal credit card statement. And uh, before LMS, we had like basic like rules and regexes that we, that we were writing. Now we could just ask an LLM, "Hey, like take this weird string of characters and, and normalize it," and early LMS, uh, were, were really good at it. I think like we might have been using like BERT as, as, as one of the first models there. But yeah, that, that was a starting point, and then over time as, as you guys joined and it got more integrated, like, I mean, we added it basically into, into everything, but yeah.
Rahul Sengottuvelu 11:16 Yeah, we sprinkled a little bit of LMS in, in pretty much-
Veeral Patel 11:18 [laughs]
Rahul Sengottuvelu 11:19 -every, uh, every product and in, in the customer lifecycle. I would say we've, we've almost been like a little bit too good at it in that customers don't know, and-
Veeral Patel 11:27 Yep
Rahul Sengottuvelu 11:27 ... it's not like we've designed it to be like sparkles everywhere and we were like in the face like LLMs and... I mean, it, it shows up in the little details, like when you click a dropdown, how do you order the options or is the dropdown preselected?
Veeral Patel 11:40 Mm.
Rahul Sengottuvelu 11:40 A lot of the time when you open a form, we prefill the form for you based, based on the best of our ability with the context that we have on you.
Veeral Patel 11:47 Mm-hmm.
Rahul Sengottuvelu 11:48 And so all these little things where there's no like animation or, or any like loading, it just, it just works. And as Veeral said, merchant, merchant strings, like the, the names of the, the places you shop at usually is not very legible in, like 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, and smaller models, and then we go all the way to really large models that, and agents that do research on the internet, and not only give you a name, but also a logo. So we have pipelines that crop, uh, images and, and find the logo in like- Search results, so that when you see we, uh, in, in Ramp, you'll-- we ideally want, like, a one, one-to-one aspect ratio square image, so it fits nicely in the bubble, circular bubble i-in Ramp.
Gergely Orosz 12:35 Wow.
Rahul Sengottuvelu 12:36 So we thought through a lot, a lot to get this level of quality in the Ramp UI.
Gergely Orosz 12:41 Wow.
Rahul Sengottuvelu 12:41 So it, it look even, has to look great when, when you open it.
Gergely Orosz 12:44 So you just gave me an 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, 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, easier, the, the pre-selections, the look. I never thought, thought of it this way, but I'm like, I'm as a, as a user of software, I'm here for it. I'd love for so much of the software I use where I have to navigate and read through and, you know, when you scroll, you don't see the header anymore and, and so on.
Veeral Patel 13:15 Yeah. I think it's a lot of subtle things as well and, like, even, like, with newer models like Jev, it's become even easier and, and cheaper. Like, I think I was looking at, like, a PR from someone, uh, working on the Glass team where we, like, auto-select the emoji for, like, a, a project that they're working on and it's like, yeah, if you are talking about, I don't know, writing notes, then maybe you have, like, a pencil icon, or if you're talking about a calendar, then you get a calendar icon. And you're not really gonna ask the user like, "Hey, pick an emoji for this project." Like, you should just guess it.
Ramp Labs and how teams choose models
Gergely Orosz 13:42 Yeah. And then you have something inside Ramp called Ramp Labs. What is Ramp Labs?
Rahul Sengottuvelu 13:46 Yeah. It's, uh, our in-house research team. I think, uh, we've always approached the applied AI space as through, uh, as a space with no experts, and it's very new, and there's not many people out there that are also exploring the, the things that we are. So we learn by doing, and we wanted to create a space within the company to not be only focused on our product and our, our customers, but also just to experiment with the things that are coming out. We focus on a little bit of fine-tuning, RL, um, some mech interp, uh, some steering vector research. We also do some cyber stuff within the team, and we've been experimenting with harnesses and some memory stuff. So a lot of cool stuff coming out of Ramp Labs, and sometimes it makes it into our core products, and sometimes it doesn't. But it's just an awesome way for us to, to keep understanding, learning more and understanding what-
Gergely Orosz 14:36 And rough-roughly how large is this team and what people with what expertise are, are in there? Is it just researchers or software engineers or, you know, like even non-software engineers?
Rahul Sengottuvelu 14:46 Yeah. It's, it's a mixture of software engineers and researchers. Um, and the team I think is six or seven people at the, at the moment. And yeah, it's, uh, there's a bunch of cool projects going on.
Gergely Orosz 14:55 Uh, it... What are some cool projects that made it into, into either Ramp or into an external product?
Rahul Sengottuvelu 15:01 Yeah, I mean, one of the, uh, the main harness that powers a lot of our agents at Ramp is, was built by Ramp Labs. Uh, we've also experimented a lot with cyber-
Gergely Orosz 15:09 Is this Inspect?
Rahul Sengottuvelu 15:09 Uh, it's Laminar. It's-
Gergely Orosz 15:10 Laminar
Rahul Sengottuvelu 15:11 ... uh, and we, we've also had, um, a lot of cyber experimentation. I mean, we, we run large scans of our code base and, uh, Ramp Labs runs a lot of that. We have experimented with various, like, inference strategies from Ramp Labs. I mean, we've been going back and forth. We've, we've run some fine-tuned models, our old models in production, gone back and forth. And, and so yeah, I think it's, it's a mixture of many of these things.
Gergely Orosz 15:34 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 pr-for when, 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?
Rahul Sengottuvelu 15:56 Yeah, I mean, I think the, the, the consistent problem that we have is we have so many different places that have LLMs. So we have hundreds of places, right?
Gergely Orosz 16:01 Right.
Veeral Patel 16:02 Yeah, especially-
Rahul Sengottuvelu 16:02 As you mentioned.
Veeral Patel 16:02 Yeah. [laughs]
Rahul Sengottuvelu 16:03 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, uh, there's like a pretty large difference in how many tokens each of those features take, it can be quite challenging to have like 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 move, like to, to make these, make these decisions quickly when models come out. But in many cases, when these new models come out, we also just trust that scaling is continuing, and historically, this has held for a long time. Like, new models are always, almost always better in, on almost all the axes of, uh, intelligence.
Gergely Orosz 16:41 Mm-hmm.
Rahul Sengottuvelu 16:42 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, they're, they're just gonna make the feature better. And we also, it's, it's a really easy way to burn a lot of money by staying on an old model because you probably get... You can get a cheaper model for the same level of intelligence or you can get more intelligence.
Gergely Orosz 17:03 So you're, you're, you're, you're probably paying more for intelligence on an older model-
Rahul Sengottuvelu 17:07 Exactly
Gergely Orosz 17:07 ... historically.
Rahul Sengottuvelu 17:08 Exactly. So it's, it's a way to, like, blow money for n-for no reason. So either you can get more intelligence for the dollars you're spending, or depending on the feature, we either wanna save costs or we wanna increase the intelligence, but depending on how we're, we're, how difficult the task is.
Gergely Orosz 17:21 Th-this almost reminds you a little bit, you're like, you have like hundreds of internal product that each use an LLM or, you know, like a specific LLM, and 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, of like a cert-- like some, some use Go, some use Java, some use Rust, and then a new framework comes out and, like, you now need to, like, upgrade them, or you should upgrade them 'cause it's usually better and usually... I mean, it can break, but usually not. Using th-this mental model, does a central team do it, or do each teams do it themselves?
Veeral Patel 17:54 Yeah. It's honestly more distributed, uh, like, like Rahul said. Like, and, and we actually think that's for, 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, it's everyone's responsibility, and I think the same way that- I don't know, at, at, uh, most companies, you might have, like, a couple people that are really interested in, like, database optimization or know how to exactly like, uh, I don't know, optimize Postgres queries in the best way. They're obviously experts on, on applied AI things, but we very much now expect everyone at the company, everyone at the-- on the engineering team to have applied AI skill sets. And, 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, 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, con- contract OCR. And so we actually think it's, 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, like, choke point, I guess. We, we are always, like, identifying, like, ways that we can kinda learn together as a group better.
Gergely Orosz 19:06 Uh, in some ways, this can-- this doesn't run in-- with microservices. You know, microservice is criticized for many reasons because of complexity and maybe, maybe latency and all of these things. But it gives every single team like a way-
Veeral Patel 19:18 Agency.
Gergely Orosz 19:18 Like, yeah, you need to operate it, you're on call, you decide, you're empowered as well, like-
Veeral Patel 19:23 Yep
Gergely Orosz 19:23 ... you decide what you use, and then you learn a lot about just, like, how, how I operate reliably, and then a junior team becomes senior much faster. 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, uh, et cetera. And then when new models come in, like, all right, you're responsible, so now you'll probably have to build if-- you might build evals, for example.
Veeral Patel 19:44 Yep.
Gergely Orosz 19:44 Maybe you'll, m-maybe you don't even need them, but maybe you want to have it.
Veeral Patel 19:48 Yeah.
Gergely Orosz 19:48 And then, well, like the whole company becomes like AI engineers everywhere eventually, right?
Veeral Patel 19:52 Exactly. Yep. Yeah, I mean, I think the, the agency is power-- obviously, you have to trust your engineers, which we obviously do, but it's, 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, 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, it's
Fine-tuning, inference, and spare GPU capacity
Veeral Patel 20:15 a, it's a constant.
Gergely Orosz 20:16 Yeah. Okay, using existing models is one thing. What about fine-tuning? A few years ago, uh, there was a lot of hope pinned on fine-tune 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, what's your, your take on this? What value do you see? What-- If you fine-tune, what do you fine-tune?
Rahul Sengottuvelu 20:43 Yeah, I mean, we, we set out with ex-that exact mindset, which is like, should we do it? 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 wanna fine-tune or not in the future. One of the things that you, you should pay attention to is like when you, 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 twenty-four seven. And most software products don't have that. It's like usually like a sine wave when-- and middle of the day is like the highest.
Gergely Orosz 21:17 Yeah, yeah.
Rahul Sengottuvelu 21:18 Yeah.
Gergely Orosz 21:18 And on the weekends, it drops down.
Rahul Sengottuvelu 21:19 Exactly. And so it doesn't... Like, it's, it's quite hard to, like, keep a cluster, like, fully saturated at-- with, with that kind of load pattern, and it, it also can be a lot cheaper if you're buying tokens on demand. The other main issue with fine-tuning is that it-- 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're also might have to retrain the model pretty consistently, uh, like every few weeks, and that can be pretty frustrating. If, if you have a base model, you're just changing the prompt, and usually when, when we see that a model is doing some sort of-- some class of error, the usual fix is just say, like, "Don't, don't make that mistake."
Gergely Orosz 21:55 Yeah.
Rahul Sengottuvelu 21:55 And you can't do that with a fine-tune because then it would like kind of go, goes out of distribution and, and it, and it acts in weird ways. And, 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, 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.
Gergely Orosz 22:21 Mm.
Rahul Sengottuvelu 22:21 Because then 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 we will-- our, our s-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, it's a harder and harder trade-off to go do that.
Gergely Orosz 22:50 But you did mention this thing about if you have your own inference and now, like ideally, you would want load to be consistent, so like use all your GPUs. Can we talk about how you do inference at Ramp? Like, I, I assume you must use the commercial providers that, the, the well-known, the Anthropic, the OpenAI. How do you split between that usage and you're doing some of your own inference indeed, right?
Rahul Sengottuvelu 23:13 Yeah, I think we, we run inference on a bunch of smaller models, embedding models, rerankers, and then we have a few small autoregressive LLMs running on SGLang or vLLM and powering some features, and it gives us an opportunity to tune them and, and just be like a-- vertically integrate the, the entire feature, which gives us a little bit more control. And historically, we have fine-tuned embedding models because th-there we actually do see a big difference in when we want certain kind of retrieval to happen, and maybe we want a smaller model to retrieval. Uh, it's, it's usually worked out. And we also, again, use all the big labs. We, we, we buy tokens from like all the providers, a bunch of open source providers as well. And all-- everything is plugged into Ramp Router, which gives us a very easy way to know who's using how much and, like, at what service tier, at what reasoning effort, which model, which provider. We have a lot of data, and we always make these trade-off decisions on, like, where do we reroute the tokens at, at any given point. And there's new models coming out every week, so we're, we're making these calls very quickly and a lot of it, like very frequently.
Gergely Orosz 24:13 What is the infra that you use for inference? Obviously, you can, like, go with vendors who, who manage. You can, you can go with all the points like buying your own hardware or operating it yourself. Like, where did you land on, like, here?
Rahul Sengottuvelu 24:25 Yeah, we use managed GPU providers, and we, we, we buy from the big, big, uh, clouds and some of the new clouds as well.
Gergely Orosz 24:32 When running inference, what are some engineering challenges at, at your scale a-already that, you know, like, I assume it's not as simple as, like, just, like, like, with a, with an API endpoint, you just call it. Either it's up or not. Usually, it's up, should be up. But with, with your, with your inference, you're now a, a step closer to the metal, right?
Rahul Sengottuvelu 24:50 I think one thing we've learned over time is, like, no LLM API is completely robust. We learned this very early.
Gergely Orosz 24:56 Yeah. [laughs]
Rahul Sengottuvelu 24:56 Um, I think, uh, I mean, 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-
Gergely Orosz 25:08 But wait, this was be-before, uh, uh, before ChatGPT released, right?
Rahul Sengottuvelu 25:12 Exactly, yeah.
Gergely Orosz 25:13 So it's '21, '22.
Rahul Sengottuvelu 25:14 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, 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, like, what, what people could use this for. And we, we learned very early on that we should assume that any of these APIs will go down, and we wanna reroute consistently, and it's-- the Ramp Router, uh, project started as a, uh, 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, we learned those things, we, 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 f-pinned to, like, several models.
Gergely Orosz 25:58 So we, we, we, we talked about how you, when you rent your inference layer, like, it's kind of economical to, like, have it utilize at all, all times. Like, have it just, have inference running 'cause what you're paying is, 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? Like, have it-- 'cause, 'cause this is the vision of, like, it would be, wouldn't it be cool, and, 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 other use cases?
Rahul Sengottuvelu 26:35 Yeah, we, so having Inspect automations, I think we will always have, have a queue of things that we wanna run, and especially for really long-running background agents, it doesn't really matter what, what the latency is. And so usually, we, we just have a large stack of either deleting, uh, unused feature flags or a dead code or going through our errors and, 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, uh, every few hours or based on a trigger, and it uses the same Inspect infrastructure. And we also allow Inspect to work with any model. So, like, for, for some of these scheduled automations where latency doesn't matter, we use the spare capacity at those points.
Laminar, Ramp’s managed agent platform
Gergely Orosz 27:22 So far, we talked about models and, and inference, but, you know, like, it's all about agents. Like, when you actually want to do, like, workflows and, and more productive stuff, you build something interesting called Laminar. What is Laminar?
Rahul Sengottuvelu 27:34 Yeah, Laminar is our in-house managed agents API. Uh, we wanted something that works cross-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, 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, we decided to go build this ourselves. And thankfully, I mean, it's pow-it powers almost all our agents today, and it's really nice to have a single team focus on this and have everybody else, like, build agents on top of it.
Gergely Orosz 28:13 And, and then the managed agent platform, it, it means that this is like your cloud agents. Like, it's, it takes care of, like, spinning them up, the durability that if a node dies, it takes care of how to either safe state. So like as a, as a user-
Rahul Sengottuvelu 28:26 Exactly
Gergely Orosz 28:26 ... I don't need to worry about, like, building the, the nitty-gritty.
Rahul Sengottuvelu 28:29 Exactly. So the internal abstraction is you define the tools you want, so, like, effectively Python functions for, as tools and the prompts, and you can say which models it needs to run on. And, and then from there, Laminar takes care of the rest. Like, if there's a deploy, it makes sure the tool calls are running, and it, it makes sure that, um, the, the model calls are retried and the tool hooks are, 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, 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 i-in there. And you have LLMs then introspect those traces to see what we can change, and then it's, it then prompts Inspect yet again. And so then you can then change the agent definition so the, those errors are fixed.
Gergely Orosz 29:20 Yeah, and then what type of agents run on top of Laminar, this, uh, platform? Are, are all agents running? 'Cause it sounds like a-any, anything that's managed agent, meaning it's running in the cloud, like, sounds like this is the platform for it, right?
Rahul Sengottuvelu 29:31 Yeah, it runs, it runs pretty much, like, everything. So i-if you, uh, text our support chatbot, ask Ramp, it runs on Laminar. Our accounting harness, uh, stack runs on Laminar. Uh, Glass, which is our coworker, also runs on Laminar and also Inspect, uh, runs on it. So it's, it's awesome to see the, the wide variety of, uh, agents that are running. If you text Ramp today, maybe you, 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 if you can-- you could probably also ask it to write a Python program for you, and it will probably do it.
Gergely Orosz 30:02 But interesting enough, like, when you first built Inspect, which is your cloud coding agent, it was not yet built on Laminar. It was on modal sandboxes, and I think you used Cloudflare Durable Workers, as I remember.
Rahul Sengottuvelu 30:14 That's right.
Gergely Orosz 30:15 So sticking with Inspect, 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, cloud platform? Like it's, uh, I-I, I'm, I'm sure something was, must have not been obvious at the time-
Rahul Sengottuvelu 30:30 Yeah
Gergely Orosz 30:31 ... or maybe there was just not ready.
Rahul Sengottuvelu 30:32 Yeah, I mean, great question. I mean, when, when we built Inspect, we, we built something where we, we had open code running inside modal sandboxes.
Gergely Orosz 30:40 Yeah.
Rahul Sengottuvelu 30:40 So we'd spin up the sandbox-
Gergely Orosz 30:41 That's very simple
Rahul Sengottuvelu 30:41 ... and then the open code, uh, server will start running inside. And so the actual execution of the agent loop runs inside the sandbox.
Gergely Orosz 30:49 Yes.
Rahul Sengottuvelu 30:49 It's a constant debate, and a lot of background agent providers like are, 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.
Gergely Orosz 31:04 There's durability problems if it dies.
Rahul Sengottuvelu 31:06 And upgrades are annoying. Like let's say you wanna upgrade the harness, you have to like, go, go iterate over all your sandboxes and upgrade the code.
Gergely Orosz 31:13 Yeah.
Rahul Sengottuvelu 31:14 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, and we went out there and we tried to look for something that worked exactly right. We still have sandboxes in that Laminar integrates a lot of sandbox providers-
Gergely Orosz 31:28 Yeah
Rahul Sengottuvelu 31:28 ... including Modal, uh, but we just wanted to work around that class of issues.
Gergely Orosz 31:32 It's very interesting 'cause, uh, Anthropic, Caitlin was just on a podcast recently, and she actually [chuckles] talked about the same journey. Their first version on, on cloud managed agent, cloud managed agents was Claude running on a VM, and they, they shipped it with, uh, Claude for Web, and then they saw the drawbacks on CPU usage, on durability, security issues, credentials use, and then they, they built a second version which shipped in, in production later a, a few months ago, I believe, which [chuckles] was a similar implementation-
Rahul Sengottuvelu 31:58 Exactly
Gergely Orosz 31:59 ... to what you came independently.
Rahul Sengottuvelu 32:01 We're, we're huge fans of the Claude Managed Agents API, and it was an inspiration to us for sure. I mean, we wanted something that also supports other models and, and-
Gergely Orosz 32:08 Of course
Rahul Sengottuvelu 32:09 ... their API is great, but it only works on Anthropic, so...
Gergely Orosz 32:12 Rahul just talked about Laminar, their internal platform that every agent runs on. Each of those agents need to search company data effectively, which is where I need to mention our presenting sponsor, Turbopuffer. 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 search that allows any intelligence, whether human or agent, to search every byte of that data. Companies like Anthropic, 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, serves hundreds of thousands of searches per second, and has an impeccable track record of uptime for a database operating at their scale. The cost to build software today is approaching zero, 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. Turbopuffer 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 turbopuffer.com/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 have agents work at any scale, from single tasks to entire projects. Agents can be Cursor code as Cloud Code 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.app/pragmatic and get six months of Linear business for free. And with this, let's get back to Rahul and Veeral and how Ramp routes its AI traffic. We talked about models. We, we talked about agents. Uh, what
Ramp Router and tracking AI spend
Gergely Orosz 34:38 about routing?
Veeral Patel 34:39 Yeah, definitely. I mean, Rahul, Rahul talked about it, but we kinda built Ramp Router initially just for ourselves. Like our own features were kinda reliant on maybe one gateway and, and you needed, uh, to be cross-provider, and so we, 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. Uh, people are obviously spending a lot more on AI. In the limit, maybe some companies are gonna be spending more on, uh, AI inference than on headcount and, and T&E. And so, uh, so much of, I guess, the, the previous parts of Ramp were just so focused on, on T&E, and now if companies are spending more on, uh, AI inference, we wanna make sure Ramp is the kinda best platform to do that. And so a lot of the hope with Ramp Router is obviously giving you a lot more reliability, uh, but also just having one place for observing exactly what your AI is doing, uh, tagging it, like semantic tagging, understanding the ROI, who is paying for what, which models are, are getting used at your company. And so, uh, we think of Ramp Router as just like this visibility layer. Uh, the same way that kinda our, our first versions of Ramp were a visibility layer for T&E, Ramp Router is our visibility layer for a company's AI spend.
Gergely Orosz 35:52 What are the kinda basic routing strategies that you already shipped with Ramp Router, but obviously you have it internally as well?
Veeral Patel 35:59 Yeah. So we have NVIDIA Switchyard implemented, which basically decides between a more efficient model versus capable model. Uh, this is a library that NVIDIA implemented that we made like one switch, uh, one-click install inside of Ramp Router. I think it saves us around 30, 40%. There is, uh, I guess, flex versus standard tier routing, uh, that we do automatically for users. So like you said, like there's like a, a sine curve of, uh, GPU usage, and on nights and weekends actually, uh, you will get the same performance on flex tier that you get on, on standard tier, and it'll be around 50% of the price.
Gergely Orosz 36:33 Why is that? Is it, is it because of the utilization?
Veeral Patel 36:36 Exactly, yeah. So OpenAI and Anthropic both offer this. They, uh, have a flex tier and a standard tier. On the flex tier, they don't guarantee a time of first token Uh, but outside of the, the peak loads, uh, it'll basically match, uh, the standard time to first, uh, token. So that's an example of some, some routing that we implemented. You can do cross-provider routing as well. Obviously, for like some of the open source models, there are dozens of, of Neo clouds that offer them. And so, um, we'll, we'll do that as well, uh, different benchmark-based routing. But I'd say like we, we call it Ramp Router, 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.
Gergely Orosz 37:25 Yeah, and I guess this goes back to like the [laughs] like what the business is, which is cost management.
Veeral Patel 37:29 Exactly.
Gergely Orosz 37:30 And, 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 [laughs] AI has become a, a, a real like candidate for like, okay, I wanna know what is happening in-
Veeral Patel 37:47 Exactly
Gergely Orosz 37:47 ... inside, how people are using it, what business value I'm getting and so on.
Veeral Patel 37:50 Yep. We've, uh, done a lot there. We're gonna continue to improve it. Like right now, uh, if you have our AI spend tracking product, you can see... Like my, 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 sp- uh, my team spend on over the last week? And we're, uh, 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 kinda track more and experiment with.
Gergely Orosz 38:19 And I know that in the launch post of Ramp Router, you... Like in, 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, when, I don't know, like it, how much does it cost to close a support ticket-
Veeral Patel 38:36 Mm-hmm
Gergely Orosz 38:36 ... on average or for this specific thing, and not, not just support ticket, but anything else. On, on launch there wasn't examples of this, but inside of Ramp, do you... Have you managed to get to the point where you can actually say, "All right, here's a business outcome, and we can track the AI spend against it"?
Veeral Patel 38:50 Yeah. I, 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, of tracking, so whether that's the GitHub repos, uh, and, and tracking like where people are contributing code inside of, uh, Inspect. Also, obviously knowing like, "Hey, this session cost $100, and it generated this PR."
Gergely Orosz 39:07 Mm-hmm.
Veeral Patel 39:07 We have that tracking and, and a big dashboard for it, bringing it into like bro- broader Ramp. With, uh, Glass and Inspect now also just understanding which output did someone have, uh, which with what models. Uh, so we're definitely not like fully there but making a lot of progress, and to do that, you need to understand obviously, yeah, the, the, the, the gateway, the router, the, the harness on top, and then obviously like the end application, what is the customer actually generating, and, and tying that back to, um, what your output was.
Gergely Orosz 39:37 Yeah, but I, I, I wonder if this is just a hard problem the same way as developer productivity, measuring like the-
Veeral Patel 39:43 Yeah
Gergely Orosz 39:43 ... like how much value y- you know, like this is. But, uh, as a, as a CEO would often ask like, "All right, I can hire an engineer, and it'll cost me $150,000 in base salary," and the logical thing is do that hire if they will bring more than a h- their salary, uh, as, as, as new business or, or revenue, and that's been always very hard to do anyway.
Veeral Patel 40:04 Yep.
Gergely Orosz 40:04 So I, I wonder if part of the problem is like we're, we're just trying to, to, to do something that has been hard to tie to like... Especially 'cause a business outcome, it can be like longer term. You know, like how you build, you, 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
Where Ramp looks to cut AI costs
Gergely Orosz 40:20 and so forth?
Rahul Sengottuvelu 40:20 Yeah, it's, it's always been hard. Um, I, I think purely on a cost basis, the, one of the ways we, we track this is on a P50, P95, P75, P ni- 99, uh, basis, like what is the cost of like a singular Inspect session? And we track that across models, across repos, across people. A lot of the LLM spend I think consistently follows the same pattern. And e- 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, uh, people or features or, uh, models, like contribute to the vast majority of the spend.
Gergely Orosz 40:56 Mm.
Rahul Sengottuvelu 40:57 Uh, I mean, you can also see this in the pricing itself, like something like Luna is a lot cheaper than Astra and significantly, like probably like 50X cheaper. And so a small set of like Astra consumers can probably have spent, have spent a lot of money. So we, we've always like, we try to dice, uh, slice and dice the, the, the spend through this lens, and usually what this allows you to do is like a small set of interventions will cut down your cost a lot, but 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 like the most expensive feature and you optimize that slightly. That will probably make up for or, uh, have a larger cut than like optimizing like 50 different small consumers of, of LLMs.
Gergely Orosz 41:37 Yeah, it, it was very interesting because I recently ran a research on how much the co- how much companies are spending on AI and how has their PR frequency changed, and obviously PR frequency will be one of these things where we'll be like, well, that's... You can't fully like correlate it. Uh, but it's not a, 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 a, the variance from like, you know, like, like from 50% all the way to like 5X or even 10X, but about 2X, and C- CodeRabbit data showed that that was the average. The crazy thing was it didn't really matter how much they spent on AI. Like there was teams were like limited to like $20, you know, m- more old school companies limiting to like $20, uh, per month subscription. That's it. And they went 2X, and then there's the 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. And it was just crazy to see. Like to me it was like, hang on, I would've thought that, you know, the more someone spent on AI, you would see just- For your frequency, and it seemed to m- not be the thing. So to your point, like, may- maybe at some point, like, you know, more businesses should be asking the question of like, do we need to spend on the, the, the most expensive models? If so, how much? And then the, and, and, or who are the people who really need it versus people who accidentally have it turned on. I guess like Router, like, rolling it out to like industry-wide will also help you guys be able to understand this quest- or answer this question even to me when I'm asking like, "Hey, can you share some data about-
Veeral Patel 43:10 Yeah, definitely
Gergely Orosz 43:10 ... what, what you're, what you're seeing, right?"
Veeral Patel 43:12 Yeah. We're, we're already kinda releasing a lot of this data through our AI index. Ara, who's our chief economist, has been, uh, working on this and integrating some of the token spend management data. But yeah, it's, it's, uh, very interesting to see like, honestly, like how, how m- how much even like the defaults matter, right? In, in all these different harnesses, uh, that we control, and then the ones that we don't control as well.
Onboarding and working with Inspect
Gergely Orosz 43:32 Yeah. So if I'm an engineer and I join Ramp, uh, what does my workflow look like? Uh, especially if I come from some, from a company that doesn't have much AI tool. Think of like a, you know, like a pre-AI startup and I'm, I'm, I've, 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 Ramp. You built a lot of things you didn't buy, so what would I be working with?
Veeral Patel 43:54 I mean, I would say honestly, like every engineer is gonna be using Inspect a lot on their, on their first week. I used to joke that, uh, we used to have like, I don't know, like an engineering buddy and an engineering manager helping like a new hire onboard, versus now your engineering buddy is just Inspect. Uh, Inspect knows everything about the codebase. You can even ask it who to ask if you wanna talk to a human or an engineer and-
Gergely Orosz 44:14 It's connected with all the context inside of the company, right?
Veeral Patel 44:15 Exactly, yeah. So you'll, uh, I mean, you onboard onto Ramp, you get a Slack account, you get an Okta account, you use your Okta account to sign into Inspect, and then Inspect is connected to Sentry, Datadog, LogRocket, Zendesk, Salesforce, uh, basically everything that, that an engineer needs day-to-day. And I think it's a, it's a huge step up, uh, the, from like honestly what onboarding was like even like two, three years ago, where I would have to kinda come up with like starter tasks to kinda help people unblock themselves, maybe create some small tickets, versus now Inspect can very much guide someone through something. And so we, we lean on, uh, Inspect a lot. I think the other part of it is that we spent a lot of time documenting, um, areas of the codebase. Um, so like our, 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 Inspect to look at past PRs and past GitHub merges to understand what, what people are doing. And so there's many times where a new hire will join and they're working on a existing feature and they're like, "Hey, like who should I ask about why this bug exists or why we haven't patched it?" And obviously Inspect knows and has better memory than, than anyone at the company. So Inspect is very much like a engineering, like kinda chief of staff or coworker for a lot of, uh, uh, engineers at Ramp now.
Rahul Sengottuvelu 45:31 I mean, it, it's pretty much just Inspect and Glass.
Veeral Patel 45:33 Yeah. [laughs]
Rahul Sengottuvelu 45:33 Just the two tools. We try to keep things simple. Inspect is more of a engineering tool. The, the other thing that Veeral, uh, or like w- on top of what Veeral mentioned is we, we, you don't... A lot of engineers, when they start at Ramp, they don't even need to set up their dev environments anymore because it's all-
Gergely Orosz 45:46 Oh, wow. Yeah, that, that, that-
Veeral Patel 45:47 Yeah
Gergely Orosz 45:47 ... saves a good day or two.
Veeral Patel 45:48 Yeah, yeah. Yeah.
Rahul Sengottuvelu 45:49 It's all running inside Inspect, and I mean, every repo at this point, we, we have a single file that defines the exact set of like commands that need to run to like define the sandbox in the container. And so yeah, I mean, e- engineers at Ramp, they get a laptop, but they also have hundreds of Inspect sessions at their... whenever they want, and it can spin up, uh, very quickly. And a lot of the way people use it is they, they ask a lot of questions. And I, when I use Inspect a lo- almost all the time, I'm, I'm starting with like super broad prompts and there are times when I, I know the exact change I want to make and that there's a certain class of Inspect sessions that I, I start there. But a lot of the time, I'm just like, "How are we doing on X?" And, "Tell me more," and like, "Why is it not this way?" And it's a great way to, to learn about different parts of the codebase. I imagine it's very useful for a new hire as well.
Veeral Patel 46:31 Yeah, I think the, the main limiter is just honestly how curious or how high agency you are. Like there are, I'm sure, yeah, y- uh, Rahul's done this, myself as, uh, I, I've done this as well, but just like there are areas of the codebase 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, I feel like your curiosity [laughs] and your just ability to just ask Inspect is kind of the main limiter there.
Gergely Orosz 46:54 And then like o- obviously devs will be running multiple Inspect sessions, five, ten, e- e- even more, like depends on the person, right? Like it's just... But it's g- kind of it's, it's now the common thing. Like you're not gonna just be single-threaded anymore, right?
Rahul Sengottuvelu 47:06 Exactly. 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 kinda 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, and if you wanna go home, you can't close it, and it's, there's a certain level of management involved. And a lot of the time when I'm like walking on the street and I think of like, "Hey, I need to, I need to check in on this," I like quickly narrate a prompt into Inspect and, 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, and does a lot of work. I've, 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, some change that we needed to like map across the codebase, like some upgrades or things
How agents review each other’s code
Rahul Sengottuvelu 47:59 like that.
Gergely Orosz 47:59 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 Ramp before AI, you also had a mentor, a code reviewer, someone on the team or, or something. But I assume that that's not how it must go 'cause that would not scale anymore.
Rahul Sengottuvelu 48:16 Yeah, so we, we built a, a series of automa- So the great thing about the way we, we have Inspect set up internally is, is also most Inspect sessions are automation, so they're not actually man- prompted by a human. Uh, we have an Inspect API which, which is very similar to the interface a 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, might, may wanna run some, some tests, and so we give it the ability to do that as well. And it also allows us to consolidate all the repo setup because it, 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 ch- very recent Git checkout, if not the, the latest commit.
Gergely Orosz 49:07 Mm-hmm.
Rahul Sengottuvelu 49:07 We do have a lot of commits landing on master, so we try to, like, hit something very close to, to master when a s- sandbox starts up. Uh, and the trade-off there is, again, latency, so you can either have a sandbox start up very quickly and be slightly out of date or be on the exact latest mar- master commit-
Gergely Orosz 49:22 Yeah
Rahul Sengottuvelu 49:22 ... but slightly slower start up, and we've optimized for a faster start up. But yeah, our internal code reviewer, again, is built on, on models, uh, our frontier models. And 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, th- obviously this is an extreme example, but if we wanted every PR that goes into, uh, production to be extremely well tested and, and, like, almost certainly absolutely correct, we'd probably spend, like, tens of thousands of dollars on every single PR in inference.
Gergely Orosz 49:51 Yeah.
Rahul Sengottuvelu 49:51 Because every marginal dollar or more tokens you sample, maybe, like, it captures, like, some extreme case.
Gergely Orosz 49:57 Yeah.
Rahul Sengottuvelu 49:58 Obviously, that's, that's too extreme, and we, we try to, like, optimize for something that's, like, much more tangible. We have subagents. We experimented with, like, various models from various providers, like parallel subagents, maybe some debate. So the, 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 that it address it. And so there's this dance between the, uh, two inspect sessions a lot of the time, and this is also automated. So the reviewer kicks off when you're, when the human marks the PR as ready to go, and then the, the, the debate happens, and it can be, it can be, like, several hours too, depending on how big-
Gergely Orosz 50:38 Yeah
Rahul Sengottuvelu 50:38 ... the change is and how many, uh, subagents are, are deciding to, to protest. Uh-
Gergely Orosz 50:43 [laughs]
Rahul Sengottuvelu 50:44 And, uh-
Gergely Orosz 50:45 Subagents protesting [laughs]
Rahul Sengottuvelu 50:46 [laughs] E- exactly. And, and, uh, over time, like, they're, they eventually reach, like, some sort of equilibrium where they're, they're both happy. And then at this point, some of the time, the, there's a third inspect session that decides if the, uh, code is, uh, can, c- can go in without an additional human stamp.
Gergely Orosz 51:02 And this is called Stamp Buddy, right?
Rahul Sengottuvelu 51:04 Exactly. Uh, I mean, we, we, we just call them Review Buddy and Stamp Buddy because they're, they're all, they're all buddies to the main inspect session.
Gergely Orosz 51:10 Yeah.
Rahul Sengottuvelu 51:11 Uh, but they're, they're all just clones with the same infrastructure, and it, it's, it's awesome to have this kind of, uh, setup because a lot of these automations are just, uh, the inspect, like, the original inspect agent in different clothing.
On-call assistance, rollbacks, and human accountability
Gergely Orosz 51:21 Can you tell me about on-call assistance? So, like, once it's approved, either a human approves it because the, the agents decide that or 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's good, but every now and then we will have incidents. And I understand you have a bot called Oncall Assistant, which of course I assume it also runs on Laminar and probably uses Inspect to some extent as-
Rahul Sengottuvelu 51:43 Yep
Gergely Orosz 51:44 ... as is the case. What does Oncall Assistant do?
Rahul Sengottuvelu 51:46 Yeah. I, Oncall Assistant is a little bit older. I think it, it, it was built right when we were building Inspect, and we built it more of a vertical agent, so it doesn't use our Inspect API. I actually think it's r- it runs Cloud Code inside of Sandbox still. The, the main difference there is I think it has a little bit more permissions on the kind of access it has because u- usually on-call, you, you want a little bit more detailed, uh, access. And we've been pretty careful and meticulous about what exactly Inspect has, and, and w- it does have a lot of read permissions. Uh, but we've also been very careful about writes.
Gergely Orosz 52:18 Yeah.
Rahul Sengottuvelu 52:18 And so Oncall is, is slightly more vertical in that way.
Gergely Orosz 52:21 And, you know, one, 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 is AI generated, AI assisted, but in the end, the AI w- wrote it, engineers sign it off, but they might not read the whole code because they just l- l- 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, in the past, how do you handle it in your postmortem process? 'Cause before AI it was pretty clear, you know, we, we'd ask, we'd see, like, all right, an engineer wrote it. We-- It's, 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 and look at what checks might have been missing and so on. But now if it's AI generated, you, you don't really have anyone to ask. Like, we, we know this model will not be able to, like, reason about that thing. How do you deal with, like, these, this new set of outages, especially with the root cause investigation?
Veeral Patel 53:12 At the end of the day, like, an engineer is, is merging in the changes. Uh, so even if, uh, Stamp Buddy approves it, there's an engineer that's clicking merge into, into, into master. So we still very much, uh, hold, uh, humans accountable for that. But I do think one, one important thing to call out is we also just think about ways to make the system more robust. So even if there is an outage, like, what can we do to add the right guardrail? So, uh, maybe, like, the, 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, eighty thousand customers. And so things aren't as, like, black and white on like, oh, no bug versus bug, but you can kinda 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 L- LM-generated prompt, uh, that might be maybe lower risk versus, like, something on our risk or underwriting flow with our banking partners-
Gergely Orosz 54:17 Yeah
Veeral Patel 54:18 ... and there's legal contracts obviously in place. So it's not black and white that way, and so we, we, we definitely treat it differently depending on the, the sensitivity. Um-
Rahul Sengottuvelu 54:27 Also, there are, like, there are certain parts of the code base where we don't operate, allow-
Veeral Patel 54:30 Yeah, exactly
Rahul Sengottuvelu 54:30 ... Stamp Buddy for, to approve and-
Veeral Patel 54:32 Yeah. It's very much dependent on the team. Yeah.
Rahul Sengottuvelu 54:33 We have a hard line, and I think, again, we have, um, Inspect writing the original code, and then we have review and stamp, uh, 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 moni- monitoring Inspect session-
Gergely Orosz 54:50 Mm
Rahul Sengottuvelu 54:51 ... 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 kind of like lifts that burden off of you, and it, it pings you if things are wrong, and it automatically reverts it as well. And so it just reduces the, the pressure and allows you to go a little bit faster.
Gergely Orosz 55:11 What, what, what I'm hearing with the, the kind of postmortem process and looking back, that's not really different to, like, how it worked pre-AI. It's like if, e-even, even when we had an engineer writing it, again, we were taking, making sure that places that had blameless postmortems, you, again, you wouldn't blame the engineer. We would ask, like, what systems could have we-
Rahul Sengottuvelu 55:27 Yeah
Gergely Orosz 55:27 ... solved it.
Rahul Sengottuvelu 55:28 Definitely.
Gergely Orosz 55:28 Why was time, why was time to mitigate so long? What automations can we add? What guardrails? So, like, sounds like that, that, that part is refreshingly similar, like, just good engineering practices are still matter [laughs] .
Rahul Sengottuvelu 55:39 Yeah.
Gergely Orosz 55:39 Definitely.
Rahul Sengottuvelu 55:40 Yeah, I mean, we're, we're getting very close to the, uh, closing the full loop, and there's projects going on right now where for a certain class of PRs, we, we would like the models to be able to, to, like, get them into production by their own. And, uh, we were experimenting with, like, guardrails in, in vari- various ways. And, uh, and so yeah, we'll, we'll, we'll find out, I guess, over the next few months how, how that goes, but we're very excited to, to, like, close the loop on certain classes of issues.
AI-narrated before-and-after videos for bug fixes
Gergely Orosz 56:03 So what other dev tools do you have, tools that developers use inside of Ramp that we didn't mention?
Rahul Sengottuvelu 56:08 Yeah. We, we have this tool called Testo, uh, internally, and it's our browser agent that tests front-end changes. It's awesome because a lot of the time when, when you make a back-end change, there's usually a, uh, integration or a unit test will just tell you if the code is running in the right way.
Gergely Orosz 56:22 Yeah. Oh, yeah.
Rahul Sengottuvelu 56:23 But front end, you usually want to see what it looks like, uh, and that really, uh, 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 just is in the, uh, with the goal of, like, when APR comes out from Inspect, the model has done and the harness has done everything possible to make the approval as easy as possible.
Gergely Orosz 56:43 Mm-hmm. Yeah.
Rahul Sengottuvelu 56:44 So it's done everything, uh, run every check, run, run every unit test, and, uh, taken every screenshot such that any additional input the human has is usually just, like, a stylistic thing or what- 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 instances of Ra- uh, instance of Ramp, and the front-end agent, after the code is, uh, 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 front-end change, almost every front-end PR that's merged into, into master, you can see the before and after.
Gergely Orosz 57:18 Hmm. Nice.
Rahul Sengottuvelu 57:18 And a lot of the time it's also annotated, which is nice because then you- it actually shows you with an arrow-
Gergely Orosz 57:21 Oh, nice
Rahul Sengottuvelu 57:21 ... or 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, uh, automate, uh, from various triggers. Again, uh, very similar to the back-end case of whenever there's a issue from our instrumentation provider or there's, like, an error that we, we surface, we, we have automated inspect sessions spin up and produce a PR to, 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," uh, or maybe there's, like, a styling issue, we, we again have an automated inspect session that spins up, and it again tries to, uh, it, 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, 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 generate a full video.
Gergely Orosz 58:13 Oh, yeah.
Rahul Sengottuvelu 58:13 And the video is narrated by AI as well.
Gergely Orosz 58:16 Wow.
Rahul Sengottuvelu 58:16 And so it says, "Before, here's the issue," right? So the user clicks on this button, and then it actually, like, errors, or if you click double, they double-click, or this form is, like, buggy, and it's, let's say, a scroll lite- a scroll jitter or lag.
Gergely Orosz 58:28 Yeah.
Rahul Sengottuvelu 58:28 And it, it shows you that happening because it, when it does computer use, we also do a, a recording of the c- Chrome browser within the sandbox.
Gergely Orosz 58:34 Yeah.
Rahul Sengottuvelu 58:35 And there are great, uh, text-to-speech APIs that we then the model overlays on top. So explains what's happening and then also explains after. And so hopefully, again, this is in the spirit of, like, 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."
Gergely Orosz 58:52 I mean, this is one of those examples where, like, I think this is, like, better than what we have. Like, I, I, I remember, you know, like, you, you have a front-end change, and this used to be good practice, right? For a front-end pull, 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. I can now see it."
Rahul Sengottuvelu 59:10 Yeah. Yeah [laughs] .
Gergely Orosz 59:11 And then... But of course, as a reviewer, you're not gonna run the whole code, and you're not gonna click through. But I can count the times that I saw video. I think this was, like, one or two or three times when an engineer went to the trouble to record, and even then it was an after video-
Rahul Sengottuvelu 59:24 Yeah
Gergely Orosz 59:24 ... never a before video, and annotated, and n- like, this just never existed-
Rahul Sengottuvelu 59:28 Yeah
Gergely Orosz 59:28 ... because it was so much damn work. And obviously, and 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. But, like, to me, this is like, you know, like the, the bar went from, like, being able to me give feedback as a human from here to, like, here. It's like, wow.
Rahul Sengottuvelu 59:48 Yeah. And, and it, it's awesome to see we've, we managed to, to merge hundreds of PRs with this automation, so the front-end team is ripping with it.
Gergely Orosz 59:54 Well, and I, I, I'm not surprised. Like, now you can be way more confident.
Rahul Sengottuvelu 59:57 Exactly. And then specifically the problem here is that when the pr- session is not prompted by a human and the, 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.
Gergely Orosz 1:00:09 Yeah.
Rahul Sengottuvelu 1:00:10 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.
Gergely Orosz 1:00:16 Yeah.
Rahul Sengottuvelu 1:00:16 And then it also convinces you that that problem is fixed, and so the video really helps there.
Glass, Ramp’s company-wide AI workspace
Gergely Orosz 1:00:20 Awesome. So we talked about developer tools, but what are company tools that you've, you've built and are widely used by not just engineers?
Rahul Sengottuvelu 1:00:29 Yeah. Gla- Glass is a huge one. Again, it's our internal company, uh, harness. It-
Gergely Orosz 1:00:33 Well, it's internal, but it is now being opened up, right?
Rahul Sengottuvelu 1:00:36 It, it started off, and as you said, we, we launched it to the world a couple weeks ago. We're super excited to bring it out. Um, and when, when we built it, again, we, we went out there. We wanted something that connects to all our company data. We, again, we're, we're a mid-sized company, and we do have access requirements, and we wanted to think, be very thoughtful about what permissions people have. And we also want a 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, we went out and built it. And- Over time, it's, it's, it's, uh, it's much loved by a lot of our, our, our team and-
Gergely Orosz 1:01:06 And then c- can we talk a bit more about what Glass is? 'Cause the way I, I saw it when I was inside of Ramp when I visited New York, uh, 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 that... Not demos, but the actual applications I w- I was shown is like, like, uh, uh, some- someone working in marketing or, or accounting, I'm not sure which one, but built a special CRM, I think it was m- 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 shareable. These were like i- 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, I only saw internal stuff. And yeah, it accessed all of the Ramp database and, like, non-technical people could say like, "I want this, I want this," put it together, and I was like, 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 'cause it's, it's so niche, it's too small. It's on- it's only for one person or like, I don't know, like a team. So this is what I saw from, from, from Glass.
Rahul Sengottuvelu 1:02:17 Yeah, I mean the-
Gergely Orosz 1:02:17 How accurate is this or, or, like, how has it evolved since?
Rahul Sengottuvelu 1:02:20 That's certainly part of it. Uh, Glass is like a coworker and it connects to everything that a company sh- has-
Gergely Orosz 1:02:25 Mm-hmm
Rahul Sengottuvelu 1:02:26 ... like Slack and Notion and Gmail. Maybe you're supporting a customer with a support ticket or you're j- you're just got done with a sales call or you wanna write some copy. Being able to work through all the contacts in Slack and Notion and Gmail and Salesforce and, and, and Zendesk, uh, helps a lot. And so we, we optimize for a almost a personal assistant that every employee has, except also we really focus on making it multiplayer.
Gergely Orosz 1:02:49 Mm.
Rahul Sengottuvelu 1:02:50 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 and, and a lot of the knowledge is shared across sessions. And so it's a company brain coworker that we, we want it for ourselves and now 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, it, it can spin up like HTML pages and, again, that, those pages-
Gergely Orosz 1:03:13 Mm-hmm
Rahul Sengottuvelu 1:03:13 ... can access the, some of the data that Glass itself has access to. We architected the system such that either the data can be pulled through tool calls and the same access is also reused when the, uh, apps need to access that data and maybe show updated numbers on a dashboard.
Gergely Orosz 1:03:30 Okay, so, so, like, the, kind of this internal platform to build internal applications, that's just a subset. Like it can also do that, but-
Rahul Sengottuvelu 1:03:37 One portion, yeah
Gergely Orosz 1:03:37 ... but, but the, the main part is it's connected to all of their, and, and you can, like it, it has your context. It just gets stuff done easier.
Rahul Sengottuvelu 1:03:43 Yeah. I think, I think the, the benefit is that it's multiplayer, it's cloud first, it's, it's built on Laminar, it's connected to all your tools and, uh, that, that all kind of compounds. It's model agnostic. It's built on Ramp Router.
Gergely Orosz 1:03:54 And it's also proactive as well.
Rahul Sengottuvelu 1:03:55 Yeah.
Gergely Orosz 1:03:55 So you can first get off a sales call. There's usually, like it, it works through, has your calendar, email, Salesforce. It figures out what it, what, what went down. It's connected into Gong as well, so it knows what happened in the call.
Rahul Sengottuvelu 1:04:05 And what, what's Gong?
Gergely Orosz 1:04:06 Go- Gong is the service we use for measure, uh, recording Zoom calls and our calls for, all our calls are-
Rahul Sengottuvelu 1:04:11 Just in
Gergely Orosz 1:04:11 ... most of our calls are recorded-
Rahul Sengottuvelu 1:04:13 Yes
Gergely Orosz 1:04:13 ... um, for, for training. Uh, and yeah, so it usually knows what went down in the, in the meeting, and-
Rahul Sengottuvelu 1:04:19 Oh, nice
Gergely Orosz 1:04:19 ... helps you like manage, maybe reminds you to send a follow-up. Maybe, uh, there's a Slack message you haven't responded to.
Rahul Sengottuvelu 1:04:24 Oh, nice.
Gergely Orosz 1:04:25 So Glass kind of runs a lot of my personal, like my, my personal stuff at, at work when I went into remi- when I need to review a 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, it's very similar to like a proactive, uh, personal assistant.
How non-engineers contribute code and share agent sessions
Gergely Orosz 1:04:42 And then I wanted to ask, like you have, you have Inspect, you have, have Laminar, uh, you now have Glass. PMs and designers and non-technical people are clearly building stuff. Are they shipping production code though, uh, or is that still with engineers? So like you might, you know, like may- maybe you find a bug in one of the flagship products and, and you'll probably like talk with Inspect, and Inspect will raise a, a PR. But in the end, does the accountability sit with the developer, uh, a software engineer to like ac- to ship that, or 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"?
Rahul Sengottuvelu 1:05:20 Yeah, I mean, we believe in the models. We, 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 better to come in with a PR than just say like something is broken.
Gergely Orosz 1:05:32 Yeah.
Rahul Sengottuvelu 1:05:32 And I mean, ei- either way, the person's going to send that PR to Inspect and, and get a PR out, send the problem to Inspect and get a PR out of it. So we, we encourage when people across the company, not just engineers, uh, from every function, they come in with, "Hey, I had this issue. The customer said this. Also, Inspect gave me this PR." Uh, and depending on the team, uh, and the teams are owners because, again, they're accountable for the experience-
Gergely Orosz 1:05:54 Yeah
Rahul Sengottuvelu 1:05:54 ... and the code and uptime, um, they, they help, uh, help getting that, get that code, 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.
Gergely Orosz 1:06:05 It's, it's, it's super easy to take over.
Rahul Sengottuvelu 1:06:06 Exactly.
Gergely Orosz 1:06:07 It's fully transparent, so like people will send Inspect links in like public Slack channels.
Rahul Sengottuvelu 1:06:11 Nice.
Gergely Orosz 1:06:11 And I can see exactly what Rahul is prompting or someone on, on the other team is prompting and take it over for them. Maybe it wasn't the right approach. Maybe there's a simpler solution. I have, I've actually found this is like the best way that the whole company learns how to prompt better, uh, is by seeing how other people are, are prompting their Inspect agents. And so yeah, like Rahul said, the ultimate like team will, will merge those code changes in. Maybe they're from a salesperson or marketing person or product manager or designer, but the, the engineers on that team are gonna merge those things in.
Rahul Sengottuvelu 1:06:39 Yeah, but I actually wanted to talk about engineering culture, but you already touched on it, the importance of transparency. I've heard other people as well, in entire, Tomasz Dumka 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 devs thinking, "Oh, I'm not sure about this." Like I, I kind of I, I want my history to be private. But you're, sounds like you're huge believers in transparency just helps. How, how, how does it help and-
Gergely Orosz 1:07:08 Also, what was the first reaction when you started this? Like, 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, my thing.
Veeral Patel 1:07:19 Yeah.
Gergely Orosz 1:07:19 I'm, I'm sure it was... there must've been a little bit of this.
Veeral Patel 1:07:21 Definitely. I mean, it is default public. You can obviously make up a private session. Maybe you're investigating, like, a customer issue or something-
Gergely Orosz 1:07:28 Yeah
Veeral Patel 1:07:28 ... like, sensitive financially. But default state is that it's, uh, public, and, uh, most teams will actually have, uh, team-specific Slack channels. So it's like, oh, spend uses AI, or applied AI uses AI, or accounting uses AI, PMM uses AI, PM uses AI. And, uh, 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, uh, we found Slack actually to be a really good place to do that. It's, it's very friendly for, uh, bots and, and Slack apps, and so we default kinda do a lot... Uh, d- my prompting is by default in, in Slack, maybe for others it's, it's different. But we think that's important. Obviously, yeah, you still want guardrails. Maybe there are certain things that you wanna hide, and so we'll... you can create private Inspect sessions and, 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, uh, early, early, uh, parts of Ramp. Like, our, our Notion docs are fair- fairly public internally, Google Docs, um, board recaps, things like that. And so we're generally a pretty transparent company, and that naturally lends itself to, like, Inspect and coding sessions being public that way. And I would say the, the, um, improvements and, and benefits that we've gotten from people learning from each other and diffusing AI, uh, across the company has been way better than, than we imagined.
Engineering leads who still code
Gergely Orosz 1:08:50 One interesting thing about, about Ramp is you don't have a formal engineering manager title. How did this come about? And I'm sure you must still have, like, engineering leaders or tech leads or something, right?
Veeral Patel 1:09:02 Yeah, definitely. Honestly, like, uh, it, it sounds crazy to say, but we, we always believe that, like, like, engineers and engineering managers, they, they should all know how to code.
Gergely Orosz 1:09:10 Yeah. [laughs]
Veeral Patel 1:09:10 Uh, I think that was controversial when we-
Gergely Orosz 1:09:12 I think there was some time, but not, not anymore
Veeral Patel 1:09:13 There was some time when there were engineering managers that didn't know how to code, which is like how, how would you trust that person-
Gergely Orosz 1:09:17 Yeah
Veeral Patel 1:09:17 ... to, to kind of be your manager? And so yeah, we very much expect everyone at Ramp to, to code and obviously more senior folks to lead and, and manage and mentor, uh, more junior folks on, on their team as well. But the default kind of expectation is that everyone can code, and even now with Inspect it's even easier. And so if you are on a team or maybe you're, 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 a engineering manager, you can also use Inspect to, like, g- get your team maybe 90 or 95% of the way there. And so we think that's very, uh, important, and yeah, I think, uh, we very much kinda lean into this, like, player coach model where, like, the, the engineering managers or, or the leaders on the team will, uh, maybe own, like, the, the, uh, like, the strategy of something, but then there's other engineers contributing and, and it's very collaborative that way.
Gergely Orosz 1:10:07 Do, do I sense that now, like, everyone pushes to production? Like, what- whether you're a lead, wh- what- whatever or not, like, it's, it's kind of that debate of, like, should you be coding it? Sounds like in Ramp it never even existed, right? Like, you-
Veeral Patel 1:10:20 Yep
Gergely Orosz 1:10:20 ... peop- like-
Veeral Patel 1:10:21 Yeah, everyone contributes
Gergely Orosz 1:10:21 ... like, engineering leaders were, were always been contributing even before AI.
Veeral Patel 1:10:25 Yeah, exactly.
Gergely Orosz 1:10:25 It just now makes it easier.
Veeral Patel 1:10:26 Exactly.
Hiring and evaluating engineers who work with AI
Veeral Patel 1:10:27 Yep.
Gergely Orosz 1:10:27 And how has hiring changed?
Veeral Patel 1:10:28 It's been a lot of changes, honestly. Like, we've tried different types of coding interviews. We've, uh, done, like, AI coding interviews, maybe more like take-home projects. It's, it's gone back and forth. I do think a lot of the, uh, traits that we were looking for before, like high ownership, agency, curiosity, being able to think from first principles, uh, all of those traits matter even, even more. Obviously, there's different ways to test for that. Um, 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, like, the best ways to, like, understand what someone is capable of. Sometimes it's, uh, giving them a coding problem and, and watching them do it live. Other times it might be looking at their GitHub repos or their personal projects, or maybe their, their technical papers or blog posts that they've written. And so I don't think there's, like, a one-size-fits-all there. And yeah, we, we've never been a big fan of, like, LeetCode style interviews either. And so more and more and, and we're continuing to kinda invest in coding interviews that kinda mirror what someone might be doing day to day. Uh, we allow you to obviously use ChatGPT and, and your coding tools. Uh, you can use those in our, in our, uh, interviews. But yeah, I, I'd say a lot of the, like, qualitative traits of what we're looking for in an engineer, uh, have not changed.
Gergely Orosz 1:11:46 That's interesting 'cause I was talking with, uh, with Anthropic, uh, folks that are from... also on the podcast, and they confirmed that across Anthropic 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 the hire even if someone bombed the coding interview, 'cause clearly they just haven't been hand coding for a while. And, you know, they still get signal elsewhere. They, they, they're actually designing. They have interviews where, uh, you work with an AI, either, like, AI-generated, uh, a plan and you're, you're working with that or, or AI-generated code and they're reviewing it. So they're, they're 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 it sounds like you're not quite there yet, but sounds like you're also just trying to figure out, like, what, what does signal mean? Like-
Veeral Patel 1:12:35 Yeah, definitely.
Rahul Sengottuvelu 1:12:36 It's, 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 signal, but it doesn't mean that if you don't get the problem right and, uh, it means you're, you're don't get an offer. So w- we're also calibrating something very similar.
Gergely Orosz 1:12:50 Yeah.
Rahul Sengottuvelu 1:12:50 A lot of it is, like, trade-off reasoning, and we're almost like w- we, we... we're here to argue with the models, and it's kind of our job now.
Gergely Orosz 1:12:57 Yeah.
Rahul Sengottuvelu 1:12:57 And models are getting very smart, and so you have to-
Gergely Orosz 1:13:00 Yeah
Rahul Sengottuvelu 1:13:00 ... you have to k- know enough to be able to push back where, where it matters and, and call models out on, on the stuff that they're wrong on. And, and so that's kind of what we're looking for as well, is a lot of taste and judgment
Gergely Orosz 1:13:11 Yeah. Your hiring pace, has it slowed down? Are you hiring, hiring kind of like percentage-wise, kind of like growing slower than before, would you say, like since AI happened, or not much has changed, you're, you're still growing as before?
Rahul Sengottuvelu 1:13:24 I, I don't think we're accelerating hiring in any way. I mean, we, we look for exceptional people, and we've always been hiring. Like, and when we find someone great, we obviously always wanna, uh, we've always wanted to work with them. We have been pretty picky, uh, in general always, but also recently. And again, it's, it all comes down to models are creating a lot of capability internally, and you, 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.
Gergely Orosz 1:13:55 Yeah. And then what does it mean for early career hiring people who are not as experienced? 'Cause it sounds like you're looking for the more experienced folks. This is what, what the AI labs are, are doing, what An-Anthropic was also telling me, and they're also writing about it. They're-- Anthropic actually said that they're specifically they're, they're slowing or maybe even stopping junior hiring. How are you thinking about this part? 'Cause, uh, I feel this, this is a tricky, tricky part where, like, you almost half-answered it, like, where you do need experienced people who can, like, challenge the model, who have that experience, which will not come from someone who, like, is starting out or, or, or, or, or at least doesn't have professional experience just yet.
Rahul Sengottuvelu 1:14:31 Yeah, I, I think that we-- we're still able to find junior folks who have good judgment from, from their experience. I mean, age is not pr- usually a predictor of-
Gergely Orosz 1:14:40 Yeah
Rahul Sengottuvelu 1:14:40 ... how experienced they are. Some pe- some folks start super early. Veeral started early, and a lot of the early Ramp team did. The, the other thing is the models are also really good at teaching you. And so someone with h-high enough agency, they're... You can push back on the model by just aiming to understand yourself. So when the model comes to you and says, "We, we need to do X, Y, Z," and if you are willing to undergo that pain and 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 will 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, um, to, to learn-
Gergely Orosz 1:15:22 Mm-hmm
Rahul Sengottuvelu 1:15:23 ... and, and understand pieces of, uh, code they haven't touched before, and that helps people understand.
Gergely Orosz 1:15:27 So it 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, if you keep doing stuff on the side, if you keep building, you ship all, all, all these projects. I mean, I, I, I had Peter Mattis on the podcast who, during college years, he built Gimp.
Rahul Sengottuvelu 1:15:45 Mm-hmm.
Gergely Orosz 1:15:45 Uh, and then he built GTK+. And, like, that, 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, to build, and yeah, I guess time as well. But at, at college, like, may-maybe, like, you might be able to find. So, like, maybe this hasn't changed all that much. It's just like, uh, ju-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, if, if you're early career in college, like, start to do this, 'cause this will not be taught by academia, that's for sure.
Veeral Patel 1:16:20 Definitely.
Gergely Orosz 1:16:21 Yeah.
Rahul Sengottuvelu 1:16:21 And it's a lot easier if you're in college now to, to learn because you have, like, really great teachers at your fingertips. And it is hard and to sit with a model and, and argue with it and, and push it on where your, where your understanding is not fully complete. But it can really build some great engineers, and a lot sooner than maybe, maybe historically need ten years of experience to get there, and now you can do it in a few years because you have these teachers.
Gergely Orosz 1:16:45 And how do you measure engineering and team efficiency? This was always a tricky thing to do, uh, even before AI. But before AI, you had, like, some things where, like, you had some flags like, oh, an engineer is not, you know, opening PRs, like, I don't know, for a week or two now. Like, you probably wanna check in because, like, what's, what's going on there? Or, you know, like lines of code are, are, are like... just, just these, these metrics were not great. But again, when you saw engineers who, like, did a lot of code reviews, you-- typically, they were team players or left a lot of comments or spent a lot of time on it, or they were the coding machines. Like, Meta even had a, like a, a kind of category for, for, for this as well. So, like, code, code and code reviews did give us some sort of data and sense of, like, iteration speed. But now to me, to me, it seems like that's kind of like down the drain, if you will. So how, how do you think of, like, how efficient this engineer and this team is?
Veeral Patel 1:17:32 I mean, yeah, we... ob-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, of this change? What was the business impact of, of this change? And that's not to say that, like, I don't know, cleaning up tech debt or performance or other things like that aren't, aren't as important, but very much anchoring on, like, hey, like, what were the goals for this team, and how, how do they contribute to those? And, uh, yeah, like Rahul said, most, most managers at Ramp are very much in the weeds of exactly what their direct reports are, are doing and what they're contributing to. And so maybe if, uh, an engineer's not, uh, uh, I don't know, outputting code for, for a week, maybe it's because they're fighting a really bad incident or maybe they're, uh, figuring out a plan for a next project that they're working on or like jumping on, on, uh, maybe some, like, customer calls to figure out that next project. So it's like the code review, um, like PRs, it's just one signal, and I think the best managers will kinda 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, um, yeah, we, we, we definitely try to be holistic that way.
Building internal tools and bringing them to market
Gergely Orosz 1:18:43 You've been externalizing a lot of your products, so, like, it was Inspect, then Router, then Glass. What work did it involve to open these up to be externally usable, so now we have external customers? 'Cause I know, like, even when I was at Uber, there was always talk about, like, would we open up some of our things? And it never happened in the end, but there was always this thing like, "Well, that would be-" You know, f-focus, like a loss of focus. You need to build a lot of other things. You now are, are... You need to do customer support. You need to maybe position these differently. There, there's just a bunch of stuff that I, that I assume, you know, like it, it just goes from having one internal customer to the whole world. Like, what, what, what are the kind of business and also engineering challenges in this?
Rahul Sengottuvelu 1:19:25 There's, uh, plenty of other things that we've built over the years that we, we decided not to, but I, I think, uh, we just think these tools are exceptional, and, uh, it was a great opportunity for us to bring them to the world. Uh, I mean, we, we did sit on these tools for several months and, and use it internally exclusively before we made the call. I mean, we are aware of the, the trade-offs, but we, we think it's worth it, and we're very excited for people to use. Uh, we, we had to re-architect a lot of the patterns because, again, assuming, as you said, it's a different standard for uptime, for, for security-
Gergely Orosz 1:19:54 Mm-hmm
Rahul Sengottuvelu 1:19:54 ... and, uh, reliability and all that. So we did put in a lot of work to, to bring those features into these products, and I think, I think it will be an extension of what, what it already is, and, and yeah, I think the tools are great. So I, I think it w- it was worth it. It w- was worth it, and we were in an extraordinary time right now, um, and there's like this, it's like LLMs are here, and so building this, like Glass mile tool is like really adds a lot of like productivity to companies.
Gergely Orosz 1:20:20 Yeah, but y- we, we started being on building, but why did you build to start with? Why... Th- this, this goes back to the classic build versus buy debate, which is like, do I buy from a w- vendor when it's not my core thing that I'm doing, or is it, or do I build it for myself because I'll need to then main-maintain it? And I'm not just asking about like In-Inspect, Glass and, uh-
Rahul Sengottuvelu 1:20:39 Yeah
Gergely Orosz 1:20:40 ... Router, which are you've now externalized it, but also all the other tools. Like how... It seems like you always end up like, "Uh, let's build, let's build, let's build." [laughs]
Rahul Sengottuvelu 1:20:48 Yeah, I think we're maybe just ahead of the curve in, in many ways, and so we, when we go out there in, in the marketplace and we, we see if there are tools that quite like satisfy what, what we want, uh, because we're a little bit ahead, we, we're looking for maybe a coding agent c- that can run our entire codebase, and our codebase is large and we have a lot of services, or we're looking for a router, uh, that works for our use case or a managed agent service that runs Glass platform or a coworker product that can be collaborative and work, uh, 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 we... the, 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-
Gergely Orosz 1:21:35 Mm
Rahul Sengottuvelu 1:21:35 ... cost to wait a few months for a tool like this.
Gergely Orosz 1:21:38 Yeah.
Rahul Sengottuvelu 1:21:38 And we're just sitting there like waiting for something to pop up. We, we'd rather just build it.
Gergely Orosz 1:21:42 Yeah.
Veeral Patel 1:21:43 And I think it's also allows you to, to like make it more customized, right? Like there are, uh, specific features that we've added to these tools where in another world we c- we would've waited for a vendor to go off and implement versus like the friction now is like literally someone with enough agency asking Inspect to be like, "Hey, can you add this as an option?" And so I think there's something really interesting and powerful about how like 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 of some upsell to like expand the tools that you had, and now your tools are a lot more malleable and, and flexible that way, which I think is, is really powerful.
Gergely Orosz 1:22:19 Plus, I guess we didn't talk about, but like engineers are just getting way better at building with AI, which is both a-
Veeral Patel 1:22:25 Yes. It's easier to maintain these tools as well.
Gergely Orosz 1:22:27 Well, a- a- also, I mean, selfishly, like as an engineer, it's kind of a valuable skill to have because you'll be in more in demand. I mean, I'm talking a little bit against Ramp right now, like, you know, like you're, you'll be more employable, uh, later as well because everyone wants the skill set. But also on the flip side, you don't need to like rely on, let's say like, you know, training up engineers, which there's training doesn't even exist by the way, or, or, you know, buying a, a vendor solution because if you have m- better expertise than the vendors, you've already built it [laughs] already and this is a little bit of... And then might, might obviously even hire, uh, people or better people. You can now assess people better. What, what does it mean to, for them? And, and you're maybe not as like starved to like overpay for, uh, for an amazing AI engineer because oh, you actually have a bunch of them already here.
Veeral Patel 1:23:11 Yep. Yeah, definitely.
Rahul Sengottuvelu 1:23:12 Yeah, it's, it creates, as you said, a great training ground for, for people. I mean, a lot... We learn by doing, and the more opportunities we have to build these things, we, we learn. And a lot of the trade-off decisions we spoke about earlier about harnesses, we, 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, and so we, we finally ended up on the right one, but it took a lot of trial and error.
Gergely Orosz 1:23:35 Yeah. Plus, like as, as an engineer, it's kind of like fun to build. And I, I also wonder if when we're building internal dev tools, they're 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 X 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 gonna overuse LLMs when you don't need to, 'cause y- I don't... You already had the training ground, if you will.
Veeral Patel 1:24:01 Yeah. The feedback loop is faster when you build something for yourself first 'cause-
Gergely Orosz 1:24:04 Yeah
Veeral Patel 1:24:04 ... like, I don't know, we'll, we'll, we'll implement something on Inspect or, or Glass and we'll... If it's something bad, we'll have like tens or hundreds of engineers or, or employees telling us it's bad, and we get that feedback within seconds. Uh, and we would very much rather test on ourselves than, than external customers and, uh, if anything, we're gonna be harsher critics on ourselves. So we think if we hold, hold ourself to a high bar, we can build really great products that way for, for the rest of our customers as well.
Rahul Sengottuvelu 1:24:30 I mean, the stakes are also really high. How much would you pay for as a company from, to go from 3X productivity to 4X productivity? That's like a whole 100% increase in productivity-
Gergely Orosz 1:24:39 Yeah
Rahul Sengottuvelu 1:24:39 ... and it costs a lot of money. So, or it's a lot of value for the business. So, um, I mean, if you can get that by building something more customized for your business, I think maybe absolutely.
Gergely Orosz 1:24:48 Yeah. So I have to ask, is Ramp becoming now a dev tools company? 'Cause you started out as a fintech company, but now between Inspect, between to some extent Glass, definitely Router, th- these are all tools that external, mostly developers will use or their agents.
Rahul Sengottuvelu 1:25:03 We don't put ourselves in a box, and we're excited about bringing these products to market. I mean, we don't classify ourselves as a, as like any sort of company.
Gergely Orosz 1:25:09 Yeah.
Rahul Sengottuvelu 1:25:09 We don't want to limit ourselves. Uh, I mean, we just, we built these for ourselves. They're very loved internally, and we just wanted to bring them out as well. So yeah, I think these are very great tools and they're built for a company like us wanting to move fast and Uh, built the, for, for the requirements of a, like an enterprise with many, like access requirements and a lot of data and complex code bases and many services. And, uh, Inspect, for example, runs all of Ramp inside a sandbox, uh, which we, we couldn't figure out how to do with a third-party, uh, coding agent when, when we built it. And I think still it's, it's quite hard. So we're excited about bringing it out.
How agents are changing the engineering job
Gergely Orosz 1:25:46 Reflecting on both of you have been engineers for quite a while now, how do you think the job of a software engineer has changed the past, like honestly, just one or two years since, since we have AI agents? What is very different and what has not changed?
Rahul Sengottuvelu 1:25:59 I think everybody's becoming a manager, as you said earlier. Um, there's always a decision of do you delegate something to-
Gergely Orosz 1:26:05 Well, I, I mean, I'll push back like orchestrator, like manager in terms of minus people management. [laughs]
Rahul Sengottuvelu 1:26:10 Yeah. I mean, m-minus... There-- Managing agents is kind of like managing people in that you, you give them tasks. But yeah, we're orchestrating or, or managing-
Gergely Orosz 1:26:17 Tech lead or-
Rahul Sengottuvelu 1:26:18 Yeah. Everybody has access to a swarm at any given time, and we, we wanted to make sure that they, they do have that. We don't want them to be limited by a computer or, 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, a manager because you, 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. Um, and the agents are really good at producing code, so we're, we're now evaluating engineers on outcomes and maybe broader impact than just purely like, "Did you get this feature implemented?"
Veeral Patel 1:26:55 Yeah. Engineers will have more time to talk to customers, maybe talk to their design counterparts. Maybe they're gonna be spending more time on marketing or product support or product ops, and so that definitely has, has changed,
Building trust in AI and what comes next
Veeral Patel 1:27:06 uh, as an engineer.
Gergely Orosz 1:27:07 And looking ahead, what's, what's an interesting or exciting challenge that you want to solve?
Veeral Patel 1:27:12 Frankly, we've, we've built a lot of trust with our customers. We help a lot of companies manage their, their money, which is o-one of the most sensitive things that a company thinks about. With that trust, I think there's a lot of things we can provide and, and, uh, these, uh, productivity tools that we just talked about are, 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, uh, ways to expand our current product base into being like more, honestly, just like deeply integrated as, as coworkers. And I think, um, you've seen this happen with coding already, which is why we've spent like majority of time talking about like 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, uh, trust problem and how we kinda make it, make it, uh, a lot more... AI a lot more trustworthy with our products.
Gergely Orosz 1:28:11 And then like by trust problem, what do you mean? Is it, is it like devs trusting the agents or the tools or, or people who are using anything that has AI trusting that that thing works?
Veeral Patel 1:28:21 Yeah, trusting the output. Like as an example for an engineer, uh, we, we talked about that example where you-- we have a video of like the output, right?
Gergely Orosz 1:28:28 Oh, I see, I see. Yeah.
Veeral Patel 1:28:29 Um-
Gergely Orosz 1:28:29 Which is the next level of trust.
Veeral Patel 1:28:30 Exactly. How do you do that for other roles, whether that's marketing-
Rahul Sengottuvelu 1:28:33 Ah.
Veeral Patel 1:28:33 Sales-
Gergely Orosz 1:28:34 Yeah, yeah. I get-
Veeral Patel 1:28:35 ... uh, CX. Um, so I think w-we've only scratched the surface on that. So there'll be a lot of, I think, exciting, exciting work there.
Rahul Sengottuvelu 1:28:42 Yeah. I think one of the things that I've been thinking about recently is, um, there's been obviously this like continuous scaling of intelligence and model size and this like general... Uh, uh, LLMs have gotten better in the last few years. But almost in parallel to that, there's been a series of almost like applied imp-- like improvements and abstractions that have brought the benefits of these models to more use cases and, and people. So I'll give you an example. I think chat completions API, uh, was a pretty big shift from completions API because then it forced people to think in terms of like Q&A in an assistant format, and until then it was just something that could like finish a paragraph or write a poem for you. Over time, like there's been other abstractions like JSON mode, which is great, structured outputs, which then allowed users to build features on top, or maybe you needed multiple outputs, maybe you needed an array of objects and a certain schema. And LLMs were either like they didn't quite always get the JSON right and this like 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, and it helped people like bring LLMs more use cases, uh, with structured outputs. MCPs was a big one as well, and it then split out the who builds a tool. Is it like the third-party vendor? Is it the person building the agent or is it the consumer? And it like split out the role as well and then brought an influx of like function calling abilities to LLMs. Uh, Skills was great, and both were Anthropic. OpenAI did, uh, JSON mode first. Skills was great because again, like it became clear that like 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, is, uh, 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, uh, because you could have multiple questions for a single forward pass and Jev gives you like answers to multiple decisions at the same time for the same context. It's really cool. And so it kind of begs the question, what's next? Like are there abstractions that, uh, shape how LLMs are used in, in products and that we're missing? Are they, are they basic abstractions? Uh, and like how can we... Like for example, our Inspect API internally was an abstraction that is like used enormously for a lot of our automations for people. And so we're, we're, um, we're thinking about like what we can do with, with swarms, for example. What is the right abstraction for a swarm of agents? Maybe there's like some clear like simple idea that if we're able to nail down, um, enables like a new class of, uh, use cases that we haven't thought of yet.
Gergely Orosz 1:31:17 Do, do I sense that, that you're, you're excited about, like, both, like, the existing abstractions that we created, but also just seeing the progress, the new ones? And when you say abstractions, I, I, I kind of think primitives, right? Or, like, new t- Is that, is that correct?
Rahul Sengottuvelu 1:31:30 Yeah, I mean, by literally just, like, API, almost like, almost like API surface, right? Which is API design's very important and it, it, it can... Like, a great abstraction or 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, and f- in one angle, it limits the possibilities, but in other ways it helps you build towards, like, where there's more potential. Um, so again, like, for swarms, like, you, 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, in a certain way.
Book recommendation
Gergely Orosz 1:32:05 Yeah. And as closing, what's a book that you would recommend and why?
Veeral Patel 1:32:10 Yeah. Um, I think both Rahul and I, uh, go on, go on Twitter a lot, so, uh, [laughs] I think, uh, a, a book I've been reading is actually about an agent, a Hollywood agent. Uh, his name is Ari Emanuel. The book's called Roll the Calls. Um, it's, it's, it's a memoir about, about his life. I don't know a lot about Hollywood, but I do think one of the things that was, like, interesting about the book was how much of being an, an agent in Hollywood is about providing services to your clients, and I do think there's, there's some parallels with, with agents, uh, in, in applied AI and how agents will do more on, on, uh, rather than it just being a product, it's, like, actually a service that you offer to your, to your customers. And so, um, that was a funny, funny parallel. But honestly, the book is hilarious. It's, uh, it's really raw and, and funny and, um, I think, yeah, a lot of learnings about selling as well. And so if, yeah, building things is getting easier with, with our tools, then maybe selling and, and understanding the customer and your client becomes more important. So I thought that book was really good.
Gergely Orosz 1:33:11 Awesome. Well, Rahul and Veeral, thanks a lot.
Veeral Patel 1:33:13 Yeah, thanks for having us.
Rahul Sengottuvelu 1:33:14 This was fun.
Gergely Orosz 1:33:14 Yeah.
Rahul Sengottuvelu 1:33:14 Thanks for having us. This was great.
Closing takeaways
Gergely Orosz 1:33:16 I really appreciate Ramp opening up about the internal tools that they built and Rahul and Veeral 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 dropboxes, pre-filling forms, cleaning up messy merchant names, or populating logos for the right merchants. I think more products could take inspiration from this boring but useful use of LLMs. I was also kind of surprised that there's 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? 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 Ramp. 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 The 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.
Episode duration: 1:35:15
In the uListen app, the transcript lights up word by word as you listen. Get uListen
Transcript of episode wFj0jbgSJmU