Section Insights
Introduction to Ramp and Applied AI
Why is Ramp investing in applied research despite rapid advancements in AI?
Ramp is actively pursuing applied research to enhance its products, even as LLM capabilities rapidly evolve. The company has seen a significant increase in use cases for LLMs, and while costs are decreasing, the need for innovation remains critical.
- Ramp has increased LLM use cases by 123% in the past year.
- New frontier models are making LLM applications cheaper and faster.
- Investing in applied research helps Ramp stay ahead of the curve.
Developing Specialized Models
How has Ramp improved user experiences through specialized models?
Ramp launched Ramp Sheets, a specialized spreadsheet agent, to enhance user experiences. By analyzing user interactions, Ramp identified areas for improvement and integrated research to optimize the model's performance.
- Ramp Sheets was one of the first spreadsheet agents launched.
- The model was enhanced by applying research to address user needs.
- Understanding user behavior is key to improving AI applications.
Exploring KV Cache Techniques
What are KV cache tricks and how do they benefit Ramp's operations?
KV cache techniques, particularly cartridges, allow Ramp to compress context significantly, improving efficiency for tasks like month-end financial reconciliations. This approach reduces the time and effort required for agents to retrieve necessary information.
- Cartridges can compress context by 20-30 times, enhancing efficiency.
- Pre-building context for recurring tasks saves time for financial professionals.
- Lower lift in post-training makes these techniques more accessible.
Automating Vulnerability Detection
How does Ramp utilize AI for vulnerability detection?
Ramp employs automated systems to identify and patch vulnerabilities, leveraging LLMs to deduplicate and reproduce potential issues. This process has successfully identified and addressed high-severity vulnerabilities without significant manual intervention.
- Automated systems can efficiently detect and patch vulnerabilities.
- Using cheaper open-weight models can maintain detection effectiveness.
- The focus is on saving time and money through efficient processes.
Routing Strategies and Continuous Learning
What advancements is Ramp making in routing strategies and continuous learning?
Ramp is developing various routing strategies to improve latency and reduce costs. They are also exploring methods for transferring learnings between models, which can significantly reduce post-training expenses.
- Routing strategies are crucial for enhancing agent performance.
- Transferring learnings between models can lower post-training costs.
- Ramp Labs is committed to continuous improvement and innovation.
Transcript
0:12 Hey everyone, I'm Alex from Ramp. I'll be speaking about chasing capabilities while waiting for the frontier to advance. So, quick intro about myself. I joined Ramp around 3 years ago on the broader applied AI team working on a bunch of different surfaces and products applying LLMs and ML to make a great product even better. to and to to caveat my presentation on Ramp Labs, Ramp is an extremely bitter lesson filled company. Over the last year, the number of use cases that use LLMs has increased 123%.
0:48 While at the same time, a lot of our top features are growing in token spend, but on a unit economic basis, they're actually becoming cheaper because there are frontier models that are being released all the time now, and these models are cheaper, faster, and better. And so, we're able to provide the same level of accuracy at a much lower cost. And so, this is a really bitter lesson filled pattern. And so, given all this, a question that I sometimes get, why not just wait? Why have an applied research function inside of a company like Ramp, an app application layer company, right? and to answer that, I would like to draw draw a parallel to 2023.
1:35 Back in 2023, you had access to kind of like GPT-4, and creating an agent was a lot of work. you would have to create very, very strict guardrails. Models weren't allowed to backtrack. They didn't have thinking tokens. And so, if it went in the wrong direction, it would just kind of charge ahead and not realize that it made mistakes. You had to sweat over all of the prompts where to the point where s- some synonyms could change the behavior of of your agent because the they weren't RL'd properly on generalizing to the user's intent.
2:12 You had to reduce and scope down the context as much as possible because giving too much context to the agent would just confuse it. And even back then, we decided, well, we need to ship these things. We can't wait for GPT-4.5 or GPT-5 to come out. We need to serve our financial professionals now. And we shipped things like Ramp Tour Guide and many other agents even though it was not the easy thing to do. And fast forward now to 2026, building an agent is a lot easier. The models have gotten so much better that you can kind of give them MCPs and access to kind of any context and they do a very very good job of understanding what they need to do given a task.
2:54 But, I still believe that we can dig a layer down and create even better experiences for our users. It's just it requires a bit more effort now. So, to present this some of our work from Ramp Labs, three specific cases of how we've applied research into Ramp itself. Starting with creating a specialist model. So, in November of last year, we launched Ramp Sheets, which was one of the really early spreadsheet agents. This was before the two frontier labs had launched their versions of spreadsheet agents and we had a very good launch in November. A bunch of users from great companies had signed up and started using it. And we realized that well, this is a very general purpose spreadsheet handling agent. And a lot of the work that people do on Ramp both inside of the company, but also all of our customers accounting and finance professionals are spending most of their days inside of spreadsheets. So, we can kind of take the spread the harness and the brains behind Ramp Sheets and added into a bunch of other surfaces within Ramp. And as we were building this out, we realized, well, we can probably apply some research from Ramp Labs to make this even better.
4:18 And we sat down and we started looking, where do models fall short on this? And back then, this was like Opus 4.6 and the place that had the most friction was when you would drop in a lot of spreadsheets into Ram Sheets and you would ask it to build a DCF or or model some financial scenario, it would spend a lot of time creating a plan at first and then researching all of the sheets that it had access to to try to get a good understanding of and lay of the land.
4:47 And Opus 4.6 is a great model, but it was like pretty slow and the thinking tokens are also pretty expensive. And so, we we took a step back and and decided to train a retrieval model or kind of like a financial question-answering model that would while still keeping these frontier models as orchestrators, would then be handed off to the this much faster model that would do financial question-answering for that planning agent. And so, we partnered with the company Prime Intellect to post-train a Qwen 3.5 35 billion model and we actually got above Opus 4.6, which was the frontier back then exact task accuracy, while also being able to serve it at high cool level latencies. So, a much faster, but just as smart model that could then be used in in tandem with the really smart frontier orchestrator.
5:48 and so, this was like a very successful example of post-training that we had actually sent to prod as part of our Ramp Labs effort. the second big thing that we are actually exploring up to this day is KV cache tricks and particularly cartridges are really interesting family of techniques where you're able to compress a lot of context up to 20 to 30 times more context into the KV cash offline and serve it for your agent. And so if you compare it to the RAM sheets example, for example, there's a lot of tasks that you know are going to happen at some point, right?
6:30 Like month-end close, a month finishes and on the first of the next month a financial professional will go and try to reconcile and close their books. You know kind of the ledger, the aging report and the documents that they will need to be retrieving. And so you could prepare them as context, but the agent will still need to agentically retrieve and and create a good picture and understanding of them. With cartridges, we're able to compress all of that work and build one overnight before the the financial professional starts their work on the first of the month. And once they open up the the the agent, it knows exactly what it needs to do because it has all of the the context already built in. Cartridges are also a much lower lift in post training because the way that they do self-play is kind of a lot more generalizable.
7:20 The caveat with stuff like this is that compared to post training, this is something that the labs might ship at some point is in their APIs and their foray into continuous learning. And even if they were to do it in the API, we would actually be happy because we are developing a lot of this tribal knowledge inside of the company and just learning how best to apply these techniques. So even if it does ship as an API, we can just hit the ground running on day one knowing how to use them.
7:50 And finally, the third example of applied research that we are sending to prod is our work on agentic map reduce and kind of agentic swarms. So more concretely, we published an article on the RAMP Labs blog on how we used 10,000 parallel agents to pen test all of Ramp. so at Ramp we have a cloud agent called Ramp Inspect, which helps out with setting up all of the infrastructure and plumbing for something as ambitious as this. And we were able to spin up 10,000 parallel agents and then kind of map this work out, try to find any vulnerabilities, and then also agentically reduce on the tickets that they would create. So deduplicate them with LLMs and then try to reproduce them adversarially with LLMs to try to make sure that the vulnerabilities are real and important.
8:46 At the end of all of this, we have actually found seven high vulner- high severity vulnerabilities that we all patched. Interestingly, one of the vulnerabilities that we describe in that article is a Lua script injection that you could send over via email. And no single component of that stack was unsafe. And the kind of swarm had to patch together multiple components and understanding of multiple components end-to-end in order to be able to figure this out. And the other nice thing with this is that this is all running automa- automatically. You don't need to spend anyone's time, it's just you start it and the only thing that failed failed passes that get filtered out is the cost of the tokens.
9:30 The other thing that's interesting outside of just building out all of the infrastructure to support these swarms is that we do research into how to best use models as part of these swarms. One of the interesting insights from that same article that we published is that you can actually use open weight models that are up to five times cheaper compared to the frontier reasoning. And because you're set- setting it up as a swarm, the detection rate is not five times lower. So you can kind of spend more on these cheaper tokens and have almost as good of a detection rate.
10:08 if you follow through all of these examples, you kind of notice a pattern of a lot of them is attempts at saving on time and saving on money. So, reducing latency, which is time, and then reducing on token cost, which is money. That's actually Ramp's slogan, saving our customers time and money. and so, I'd like to to point to two products that we actually offer from Ramp that have been influenced by Ramp Labs' research. The first one is token spend management that connects to a bunch of your API keys and is able to give you a really good picture of how LLMs are being used inside of your company. Not only token spend on an API key basis or a user basis, but digging deeper, accounting categories, and even things like tax credits that you can get by analyzing the spend. It also goes deeper and we create a taxonomy that contextually analyzes and semantically analyzes the LLM usage, so you can actually understand how LLMs are being used outside of just attributing it to a team or a person inside of your company.
11:18 And then the second one is Ramp Router, which also leans into improving your the latency of your agent, where we have a bunch of routing strategies that we work with Ramp Labs to develop, things like Nvidia Switchyard, things like smart flex offloading of work to both improve latency and cost per tokens that you spend. And there's a bunch of different strategies already available for the the for routing, and even more coming out later. So, if you're interested in any of these two products, you can take a photo of the URLs or or scan the QR codes there.
11:54 Give you a second. Awesome. And then I I'd also invite you to check out our Ramp Labs blog, where we publish a bunch of really interesting articles that I haven't had the chance to cover as part of this presentation. notably one of the really interesting ones is portal where we figured out a way of transferring learnings from one post train to another. So, you could do something like a Laura post train on one model, so like the Quen 3.5 that I was describing, but then transfer it to newer versions of Quen or even across different families. So, you're post training with this latent that then can be projected onto different models and that really amortizes the cost that you have to spend on post training.
12:47 more blog posts on agentic map produce, so not only the pen testing stuff that we did, but also things like analyzing and creating taxonomies of LLM usage, which is stuff that has gone into the token spend product. things like self-improving monitoring where we use LLMs to automatically create monitors with DataDog on a lot of our product services and then as the words come in, improve those monitors automatically without a person in in the loop to try to basically create super super robust and resilient software.
13:22 and finally semantic tagging, which is this interesting foray into creating this agentic map produce over a bunch of user sessions where we can annotate and create taxonomies that are open-ended. So, not knowing ahead of time which what are the clusters of LLM usage and trying to create a taxonomy that can then be reconciled against the spend inside of the companies. So, if if you're interested in this type of research, x.com/ramplabs where you can go and and check out more of our research.
13:56 And there's my Twitter if you have any other questions or want to talk about some use case as part of your applied research. And that's it. Thank you. >>
Summary
- Ramp has seen a 123% increase in LLM use cases over the past year, with models becoming cheaper and more efficient.
- The company launched Ramp Sheets, an early spreadsheet agent, and enhanced it through applied research to improve user experience.
- Ramp is exploring KV cache techniques to compress context for agents, allowing for faster and more efficient processing.
- The use of 10,000 parallel agents for pen testing identified and patched high-severity vulnerabilities, demonstrating the effectiveness of agentic swarms.
- Ramp's research aims to save time and money, aligning with the company's mission to enhance customer value.
- Two notable products influenced by Ramp Labs are token spend management and Ramp Router, which optimize LLM usage and improve latency.
- The Ramp Labs blog features insights on various research topics, including transferring learnings between models and creating robust monitoring systems.
Questions Answered
Why is Ramp investing in applied research despite rapid advancements in AI?
Ramp is actively pursuing applied research to enhance its products, even as LLM capabilities rapidly evolve. The company has seen a significant increase in use cases for LLMs, and while costs are decreasing, the need for innovation remains critical.
How has Ramp improved user experiences through specialized models?
Ramp launched Ramp Sheets, a specialized spreadsheet agent, to enhance user experiences. By analyzing user interactions, Ramp identified areas for improvement and integrated research to optimize the model's performance.
What are KV cache tricks and how do they benefit Ramp's operations?
KV cache techniques, particularly cartridges, allow Ramp to compress context significantly, improving efficiency for tasks like month-end financial reconciliations. This approach reduces the time and effort required for agents to retrieve necessary information.
How does Ramp utilize AI for vulnerability detection?
Ramp employs automated systems to identify and patch vulnerabilities, leveraging LLMs to deduplicate and reproduce potential issues. This process has successfully identified and addressed high-severity vulnerabilities without significant manual intervention.
What advancements is Ramp making in routing strategies and continuous learning?
Ramp is developing various routing strategies to improve latency and reduce costs. They are also exploring methods for transferring learnings between models, which can significantly reduce post-training expenses.