Retrieved article excerpt
Open article · Retrieved 2026-10-23T02:27:17.595731+00:00
October 20, 2026
# Building Laminar: Ramp's Managed Agents Platform
Written by
- Sam Kronick
Contributors
- Alexander Osmonov
- Kiryl Liaushun
- Vincent Capol
- Alexander Shevchenko
- Alex Levinson
While much of our team focuses on issuing cards, paying bills, and safely moving money, my job for the past several months has been designing and building out Laminar, the in-house agent harness for Ramp’s agentic products. We studied the other offerings on the market and decided that we could do better, move faster and have stronger alignment to where we want to go by building in house. With Ramp products as Laminar customers since day 1, we’ve been able to iterate rapidly and focus on shipping what we think is the best agent platform out there for real-world product development.
Ramp has been rapidly transforming from a traditional fintech SaaS provider into a fully agentic platform for saving customers time and money. Our product now [automates month end close](https://ramp.com/lp2/stack) for accounting firms, [tracks and optimizes token spend](https://router.com/) for finance teams, and puts a powerful personal AI assistant in the pocket of every Ramp cardholder via SMS. Not only have we embedded AI agents into the product in thoughtful ways, we’re fully agent-pilled on the development side, building one of the industry’s first and most powerful in-house [collaborative cloud coding agents](https://builders.ramp.com/post/why-we-built-our-background-agent) and customizing our own [desktop agent for knowledge work across the org](https://x.com/eglyman/status/2043362828178841860?lang=en). Agents are now central to how we operate at Ramp.
Along the way, we’ve tried out just about every “agent harness” or platform out there. We built products on model providers’ agent SDKs, managed agent APIs, open source coding agents, popular agent frameworks, third-party vendor solutions, and several generations of in-house agent frameworks built as passion projects of individual engineers. Those frameworks, like the whole industry, have evolved fast, and after months of experimentation we’ve developed a taste for what works and what doesn’t.
Endlessly exploring and building on a dozen different platforms doesn’t lead to a very cohesive [developer experience](https://builders.ramp.com/post/building-laminar/developer-experience), nor does it allow us to create the fully seamless product experience we want. Around May 2026 we decided to take what we learned and build towards a common platform. Out of this chaos, Laminar was born. We gave it a name meant to evoke the smooth, efficient, structured flow that we wanted to deliver to our developers. Our early motto was “build agents, not infrastructure” — we aimed to abstract the common parts of agent development out into a layer that most product builders don’t need to worry about day to day. Getting here was a long road, but today we build with speed in a state closer to [laminar flow](https://en.wikipedia.org/wiki/Laminar_flow) than ever before.
## [What kinds of agents have we built with Laminar?](https://builders.ramp.com/post/building-laminar#kinds-of-agents)
One of the most exciting parts of building an agent platform is seeing the creative ways our product teams integrate agents into Ramp. Each use case brings its own requirements and constraints, shaping the architectures we need to support. For example:
- **Interactive support chat agents** — a standard help-me chat bot for first-line triage of common product questions, resolving issues directly through tool calls or guiding users to the right resources. “Ask Ramp” outgrew a vendor solution as we wanted a more tightly integrated and low-latency experience embedded in the product.
- **Headless data processing agents** — non-interactive agents that process documents and automate decisions without human input. In Ramp Bill Pay, our [Contextual OCR](https://support.ramp.com/ramp-bill-pay-ocr#smart-ocr-and-auto-coding-agent) agent pulls in historical invoices and accounting data to extract and code line items from uploaded invoices.
- **Coding agents** — agents that manage git repos, edit files, and run tests in a development-ready sandbox, like our cloud coding agent [Ramp Inspect](https://builders.ramp.com/post/why-we-built-our-background-agent).
- **Long-horizon knowledge work agents** — like [Ramp Stack](https://ramp.com/stack) for accounting, or [Glass](http://ramp.com/glass) — a general-purpose collaborative agentic coworker. More than simple chat agents, these coworkers manage subagents, automations, sandboxes, cloud browsers, and MCP connectors to complete tasks that can take minutes or hours. They also support multiplayer sessions and deep Slack integrations, meaning the agent must communicate progress, respond to teammates, and manage ongoing work like a human team member.
Most people building or working with agents will think in terms of one of these agent archetypes. Building Laminar required learning about and considering them all.
## [Why didn’t we use something off the shelf?](https://builders.ramp.com/post/building-laminar#off-the-shelf)
Laminar came into existence soon after the first managed agents APIs launched. We were initially very impressed by what those APIs offered: a batteries-included platform built from the ground up for running agent workloads in the cloud. Laminar essentially started with a similar shape, but with a few important differences:
1. **Laminar needed to be model- and provider-agnostic from the start.** Ramp and our customers value the freedom to choose from the best models available at any given time, optimizing for cost, latency, and performance as the application demands. Choosing a managed agents API from a single LLM provider would lock us into their models. We considered building a common abstraction layer across the different providers’ managed agents APIs (similar to what LLM gateways do for model APIs), but figured that implementing it and keeping up with each provider’s evolving interface wouldn’t be much less work than just building our own.
2. **We had conviction that building the harness alongside our product teams would let us ship faster than any outside vendor**. The feedback loop between two teams working for the same company, sitting next to each other, collaborating in Slack with access to the same shared codebases is just insanely fast. Even the most responsive external vendor can’t go from feature request to shipped and production-ready in minutes. And by building in-house expertise on the internals of how agents work, we are able to share that knowledge directly with our product teams to advise on building a better product.
3. **We wanted to own the observability stack.** We knew from past experience that building great agents requires you to *read the traces* — diving deep into the logs, transcripts, and trajectories your agents take to get their work done. Our CTO likes [to physically print these out on paper](https://x.com/vral/status/2086243323933516272) to identify waste and make it unmistakably visible. Excess tool calls, wasted turns, bloated context, and unexpected errors can destroy an agent’s performance. Off-the-shelf observability services gave us layers of abstraction that weren’t right for the shape of our product which led to frustration. So with Laminar, we took the opportunity to build [a bespoke agent-first session debug UI](https://builders.ramp.com/post/building-laminar/developer-experience#admin-panel), pulling together all the information needed to understand agent performance into a single interface.
Controlling our destiny in this way was clearly *desirable* — but what made it the most *efficient* choice was the fact that, around the time we were starting the project, coding agents had gotten so good that the cost of building and maintaining our own platform was marginal compared to taking on one or more vendor dependencies.
## [What’s in our harness?](https://builders.ramp.com/post/building-laminar#harness)
Only about a year ago did we arrive at a commonly understood definition of “[an LLM agent runs tools in a loop to achieve a goal](https://simonwillison.net/2025/Sep/18/agents/)”. The operative word here is “loop” — and the “harness” is the thing that orchestrates and manages that loop. The simplest agent harnesses are truly just a `while` loop, but when you want to support a wide array of agentic products in production, the responsibility of the harness or framework expands quite a bit:
- Secure conversation history storage
- Session compaction
- Standard interfaces for tool calling (e.g. MCP)
- Message queuing and steering
- Lifecycle hooks to synchronize or notify other systems of changes in agent session state
- Durable execution of the core loop that survives server deploys and ephemeral failures
- Interoperability with many LLM APIs, for an evolving landscape of models, from many different providers, all with slightly varying message formats and capabilities
- [Code execution sandboxes & filesystems](https://builders.ramp.com/post/building-laminar/sandbox)
- [Tool search](https://builders.ramp.com/post/building-laminar/tools#tool-search)
- Subagents (synchronous and asynchronous)
- Token-level streaming to clients
- Human-in-the-loop interactions
- Protocol for rich generative UI
- Multiplayer chat support
- [Observability tooling](https://builders.ramp.com/post/building-laminar/developer-experience#admin-panel)
Laminar took on all of this functionality. It’s a lot!
Within each of these categories lies a large number of engineering design decisions and tradeoffs. We have to make the system fast and scalable, and design APIs that developers enjoy using. We must also decide where to commit to a vendor and where to build abstractions that keep our options open. Building with LLMs is in some ways an entirely new discipline, but it benefits from the experience and wisdom we've acquired from software projects of the past. For me, it feels like a magical once-in-a-career opportunity to simultaneously re-learn everything anew while drawing on what years of experience have taught me.
We made some early choices for Laminar that have served us well:
- **Using the [“sandbox-as-a-tool”](https://builders.ramp.com/post/building-laminar/sandbox#sandbox-as-a-tool) paradigm.** A Laminar agent session lifetime is completely decoupled from whether we have sandbox infra provisioned or running at any given moment. We store the agent definition, conversation history, and turn-level state in a database, independent of any sandbox environment lifetime. When needed, Laminar agents can still access a full virtualized computer by issuing tool calls that run commands in a sandbox.
- **Using [“boring technology”](https://boringtechnology.club/):** Postgres, Temporal, and S3 for persistence and workflow execution. I’d personally love to play with more modern durable execution stacks, but the Ramp team (and thousands of engineers elsewhere) know how to run this battle-tested stack in production. We know how to scale it well beyond what we’ll need for years, and how to fix it when it breaks. So far, it hasn’t let us down.
- **Supporting non-blocking async agents as the default.** Early chat agent products made a compromise — users had to wait for a response before sending a new message. As agents took on longer-horizon work and agent turns took minutes to hours, this became less practical, especially when we’re constrained by a third-party client, like Slack. Laminar treats these interactions as non-blocking by default: human-in-the-loop flows, where an agent requests an approval from a real person to complete its work; message queuing and steering, where a user sends new messages to a session in progress; and subagent interactions, where an agent hands work to another agent and continues. Laminar goes out of its way to keep the agent session always open to new input.
- **Going all-in on the cloud** — late 2