Skip to content

By playing, you agree to uListen's Terms and Privacy Policy and YouTube's Terms of Service.

The Pragmatic EngineerThe Pragmatic Engineer

How Ramp builds with AI

Why did a fintech company build its own coding agent, managed agent platform, and model router? And what made it decide to start selling some of these tools externally?

Gergely OroszhostRahul SengottuveluguestVeeral Patelguest
Dec 2, 20261h 35mWatch on YouTube

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 how

CHAPTERS

Jump to publisher timestamps

Chapter summaries

  1. CTO-scale shipping: using Inspect to merge 100–300 PRs/month

    Gergely opens by asking how Rahul merges an unusually high number of pull requests while serving as CTO. Rahul explains that Inspect automations and AI agents let him delegate work differently and personally merge smaller changes without pulling other people in.

    • •Rahul attributes high PR throughput largely to Inspect automations
    • •Agents replace some delegation that previously required other humans
    • •Rahul weighs change size and ownership to decide whether to delegate or merge himself
    • •Staying close to the code helps Rahul track fast-moving model and system changes
  2. How Veeral and Rahul joined Ramp—and how the company evolved into AI-heavy workflows

    Veeral and Rahul share their paths into tech and how they ended up at Ramp. Veeral then describes Ramp’s long-standing customer focus and how that culture translated into quickly using agents to fix issues across the company.

    • •Veeral started coding early, interned with Ramp founders’ prior company, then joined Ramp full-time
    • •Rahul started a startup after college and later joined Ramp via existing connections
    • •Veeral describes early Ramp as highly customer-centric with focus on tickets and issues
    • •With agents, the default becomes “fix it now” by looping in Inspect rather than debating roadmaps
    • •Ramp’s toolset and ways of working have changed rapidly quarter to quarter
  3. From classic ML to LLMs in the product: dropdowns, prefilled forms, and merchant normalization

    The discussion shifts to how AI appears inside Ramp’s customer-facing product—often subtly. Veeral and Rahul describe moving from rules and regexes toward LLM-based pipelines for tasks like merchant name cleanup and UI improvements such as prefilling and ordering form options.

    • •Veeral describes early ML use cases like receipt matching and SMS flows, later expanding with LLMs
    • •Merchant normalization moved from rules/regexes to model-based cleanup and standardization
    • •Rahul describes “sprinkling” LLMs into many small UX details without flashy UI indicators
    • •Ramp uses multi-stage pipelines with caching/smaller models up to larger models and agents
    • •The pipeline can add assets like merchant logos and crop images to fit UI constraints
  4. Ramp Labs: an internal applied-AI research team feeding production systems

    Rahul explains Ramp Labs as a dedicated experimentation and research group that explores new techniques and occasionally ships results into core products. The team blends researchers and engineers and has produced key infrastructure used broadly at Ramp.

    • •Ramp Labs exists to learn-by-doing in a fast-evolving field with few established experts
    • •Team includes a mix of software engineers and researchers
    • •Areas explored include fine-tuning, RL, mech interp, steering vectors, and “memory” experiments
    • •Work includes cyber-related scanning experiments on the codebase
    • •Ramp Labs built the harness that powers many agents, including Laminar foundations
  5. Choosing and upgrading models across hundreds of LLM touchpoints

    Gergely asks how Ramp decides when to switch models across many product features. Rahul and Veeral describe a distributed ownership model: critical features have stronger evaluation coverage, but long-tail features often upgrade based on the general trend that newer models improve and can be cheaper for comparable capability.

    • •Ramp has hundreds of LLM usages across products, creating a long-tail of token spend patterns
    • •Critical features have evaluation setups to support quicker decisions
    • •For long-tail features, Ramp often upgrades even with incomplete info because models usually improve
    • •Staying on older models can waste money if newer models offer better price/performance
    • •Model choice and evaluation ownership is distributed across teams to build company-wide capability
  6. Fine-tuning vs prompting: brittleness, retraining overhead, and when it’s worth it

    Fine-tuning is discussed as a tradeoff rather than a default approach. Rahul describes running fine-tunes in production and learning that retraining, brittleness, and operational overhead can outweigh benefits, so Ramp reserves fine-tuning for select high-volume cases where gains are likely to persist.

    • •Fine-tuning can be operationally frustrating when prompts/tools/features change rapidly
    • •Fine-tuned models can become brittle and behave oddly when inputs shift
    • •Fixing errors is often easier with base models by adjusting prompts directly
    • •Many fine-tunes across many features can become a maintenance liability and data-management mess
    • •Ramp reserves fine-tuning for high-volume production use cases where improvements should hold
  7. Inference strategy and reliability lessons: multi-provider usage and the origin of Ramp Router

    Rahul outlines how Ramp mixes self-hosted inference for smaller models with buying tokens from major providers and open-source hosts. He explains early lessons that LLM APIs can be unreliable, motivating routing, fallbacks, and multi-model pinning—starting as a reliability project that grew into Ramp Router.

    • •Ramp runs smaller models (embeddings, rerankers) and some autoregressive LLMs on managed GPUs
    • •Ramp also buys tokens from multiple major providers and open-source model providers
    • •Everything plugs into Ramp Router for spend visibility and dynamic rerouting decisions
    • •Ramp learned early that LLM APIs can go down and must be treated as not fully robust
    • •Many features are pinned to multiple models/providers rather than a single dependency
  8. Spare GPU capacity and background automations: maintenance work queued for agents

    The conversation turns to how Ramp uses off-peak compute and long-running agents for tasks where latency isn’t important. Rahul describes a steady pipeline of engineering maintenance and refactoring work executed via Inspect-based automations on schedules or triggers.

    • •Off-peak workloads suit long-running background agents where latency doesn’t matter
    • •Examples include removing unused feature flags, deleting dead code, and speeding up slow tests
    • •Automations can scan errors and propose fixes continuously
    • •Teams can define scheduled or trigger-based automations using shared infrastructure
    • •Inspect can run with different models depending on the workload’s requirements
  9. Laminar: Ramp’s managed agent platform (durability, tool hooks, traces, and debugging UI)

    Rahul introduces Laminar as the cross-platform managed agent API that powers most of Ramp’s agents. He explains the need for durability, tool hooks, retries, streaming, and debugging tooling, plus visibility into traces and latency so teams can tune and fix agent behavior.

    • •Laminar provides a managed agents API with durability, async agents, streaming, and cross-provider support
    • •Developers define tools and prompts; Laminar handles execution, retries, and ordering hooks
    • •An internal UI shows traces, flame graphs, slow tools, model errors, and fallbacks
    • •Laminar enables debugging and improvement loops, including introspecting traces and prompting Inspect to fix definitions
    • •Many different internal agents run on Laminar, spanning support, accounting, and engineering workflows
  10. Inspect’s architecture evolution: from sandbox-embedded loops to Laminar-managed harnesses

    Gergely asks why Inspect started with agent loops running inside Modal sandboxes and how Laminar changed that. Rahul explains the durability and upgrade drawbacks of running the harness inside sandboxes and how Laminar separates concerns while still integrating sandbox providers.

    • •Early Inspect ran the agent loop inside sandboxes, which is straightforward to implement
    • •Running harness inside sandboxes creates durability and upgrade challenges
    • •Keeping sandboxes alive and upgrading code across them becomes operationally painful
    • •Laminar aims to run harness logic outside sandboxes while still integrating sandbox execution where needed
    • •Rahul notes inspiration from Anthropic’s managed agents approach, while remaining model-agnostic
  11. Ramp Router as spend visibility + routing control: tiers, cross-provider strategies, and ROI tagging

    Veeral and Rahul describe Ramp Router as evolving from infrastructure reliability into a visibility layer for AI spend. They discuss routing strategies like choosing between efficient vs capable models, using flex vs standard tiers, and cross-provider routing, plus ambitions around semantic tagging and outcome-based tracking.

    • •Ramp Router began as reliability infrastructure and expanded into observability and control
    • •Veeral frames it as an AI spend visibility layer analogous to Ramp’s broader cost visibility mission
    • •Routing includes strategies like choosing efficient vs capable models and tier-based routing (flex vs standard)
    • •Cross-provider routing supports multiple hosts for similar models and benchmark-based choices
    • •Ramp is building toward tying spend to outputs (e.g., sessions, PRs, repos), though it’s not fully solved
  12. Onboarding with Inspect + Glass: dev environments, deep context, and multi-session workflows

    Veeral and Rahul describe what a new engineer experiences: Inspect and Glass become central from day one. Inspect connects to key internal systems and can answer questions about code, owners, and past changes; many engineers no longer need a local dev environment because work runs in Inspect sandboxes.

    • •Inspect is positioned as the primary onboarding “buddy,” replacing much manual hand-holding
    • •Inspect is connected to internal tooling like Sentry, Datadog, LogRocket, Zendesk, and Salesforce
    • •New hires can ask who to talk to, explore past PRs, and learn system behavior quickly
    • •Repo setup is standardized so sandboxes can spin up quickly; many engineers skip local environment setup
    • •Engineers run multiple concurrent sessions, lowering the activation energy to delegate work continuously
  13. AI-driven code review and production safeguards: Review Buddy, Stamp Buddy, monitoring, and rollbacks

    Rahul explains a layered system where AI sessions review PRs, debate changes, and sometimes decide whether human approval is required. The episode also covers accountability and guardrails: humans still merge, sensitive areas can require stricter control, and post-deploy monitoring can trigger alerts or automatic rollbacks.

    • •Code review uses an Inspect API automation that spins up fresh sessions to review changes and run tests
    • •Review involves debate between sessions, sometimes with subagents and parallel reviewers
    • •A “picky/thorough” slider affects how much inference is spent on review depth
    • •Stamp Buddy can decide whether a PR can go in without an additional human stamp, but a human still merges
    • •Post-deploy monitoring sessions can check behavior and automatically revert changes when needed
  14. Testo and richer PR context: screenshots, annotated diffs, and AI-narrated before/after videos

    Rahul describes Testo, a browser agent that validates frontend changes by deploying to a demo instance and capturing before/after screenshots. For automated PRs triggered by monitoring or customer feedback, Ramp goes further by generating narrated videos to establish both that a problem exists and that it was fixed.

    • •Testo automates frontend verification by clicking through the app and capturing screenshots
    • •PRs include before/after images, often annotated with boxes or arrows to highlight changes
    • •Automations can trigger PRs from errors, instrumentation, NPS feedback, or support tickets
    • •For cases without a human reporter, Inspect generates a narrated video showing the bug and the fix
    • •The goal is to reduce reviewer burden by attaching enough evidence to approve confidently
  15. Glass: a company-wide AI coworker and multiplayer workspace, including internal app building

    The episode shifts to Glass, Ramp’s broader internal AI system used beyond engineering. Rahul describes Glass as a coworker connected to company tools and data, designed to be multiplayer with shareable sessions and collaborative projects, and capable of generating internal apps that reuse tool-call access controls.

    • •Glass connects to company systems like Slack, Notion, Gmail, Salesforce, and Zendesk
    • •It’s designed for multiplayer collaboration: share sessions, collaborate in projects, and reuse knowledge
    • •Glass can generate internal HTML apps and dashboards that access data through governed tool calls
    • •The system emphasizes thoughtful permissions and enterprise-style access requirements
    • •Glass is built on Laminar and uses Ramp Router underneath, keeping it model-agnostic and observable
  16. Transparency, engineering culture, hiring, and the trust challenge for broader roles

    The conversation covers how public-by-default agent sessions help teams learn prompting and coordinate work. Veeral explains Ramp’s expectation that leaders still code and why there’s no formal engineering manager title, then both discuss hiring for judgment and agency in an AI era and the challenge of building trust in AI outputs across functions.

    • •Inspect sessions are public by default, with private sessions available for sensitive work
    • •Slack channels organized around “uses AI” help share work-in-progress and prompt patterns
    • •Ramp expects everyone—including leaders—to be able to code, aided by tools like Inspect
    • •Hiring focuses on ownership, agency, curiosity, and judgment; interviews allow AI tools and mirror real work
    • •Veeral highlights “trust in output” as a key next challenge beyond engineering, across roles like marketing, sales, and CX

Publisher timestamps

  1. 0:00Intro
  2. 2:50How Veeral and Rahul joined Ramp
  3. 4:51How Ramp’s CTO merges hundreds of PRs in a month
  4. 10:13Putting AI into forms, dropdowns, and merchant names
  5. 13:42Ramp Labs and how teams choose models
  6. 20:15Fine-tuning, inference, and spare GPU capacityRead this chapter
  7. 27:22Laminar, Ramp’s managed agent platformRead this chapter
  8. 34:38Ramp Router and tracking AI spend
  9. 40:20Where Ramp looks to cut AI costsRead this chapter
  10. 43:32Onboarding and working with Inspect
  11. 47:59How agents review each other’s codeRead this chapter
  12. 51:21On-call assistance, rollbacks, and human accountabilityRead this chapter
  13. 56:03AI-narrated before-and-after videos for bug fixes
  14. 1:00:20Glass, Ramp’s company-wide AI workspaceRead this chapter
  15. 1:04:42How non-engineers contribute code and share agent sessionsRead this chapter
  16. 1:08:50Engineering leads who still code
  17. 1:10:27Hiring and evaluating engineers who work with AI
  18. 1:18:43Building internal tools and bringing them to marketRead this chapter
  19. 1:25:46How agents are changing the engineering job
  20. 1:27:06Building trust in AI and what comes next
  21. 1:32:05Book recommendation
  22. 1:33:16Closing takeawaysRead this chapter

Get more out of YouTube videos.

Read along on your phone, search it beside the video, or ask your favorite AI app what was said.