@LangChain: At Interrupt, @Rippling took the stage to share how they built and launched Rippling AI, a natural language assistant t…
Summary
Rippling shared how they built Rippling AI, a natural language assistant for HR and payroll, using a flat LangGraph agent, generic tools, SQL-based data retrieval, and eval-driven development.
View Cached Full Text
Cached at: 07/13/26, 02:01 PM
At Interrupt, @Rippling took the stage to share how they built and launched Rippling AI, a natural language assistant that can answer payroll, HR, and benefits questions across every system of record. https://t.co/Jv8vg5RLvG https://t.co/x2khmd2zed
TL;DR: Rippling built Rippling AI by layering a flat, LangGraph-based agent on top of their unified employee graph, using generic tools, SQL-driven data access, and eval-driven development to launch a natural language assistant for HR and payroll tasks.
Architecture: From Nested Sub-Agents to a Flat Agent
Rippling’s data is organized around a central employee graph – a unified system connecting HR, payroll, devices, benefits, and more. On top of that, they built an AI layer. The agent stack originally had a top-level assistant with many sub-agents built by different teams. This caused problems:
- Context sharing across sub-agents was messy.
- Handoffs between agents were unpredictable.
- Queries spanning multiple sub-agents often failed.
Solution: They flattened the architecture. Today there is a single flat agent running on LangGraph. All domain context (e.g., how to handle benefits, payroll, devices) is injected as declarative skills and SOPs written by product engineers. The user’s message history is exactly what the LLM sees – no extra abstractions. This simplified the system and improved performance.
Tooling: Fewer, More Generic Tools
Each team initially built many narrow tools, leading to a huge tool catalog and frequent tool selection errors. They shifted to generic, composable tools – following the Unix philosophy of doing one thing well. For example, instead of separate getEmployee, getDevice, getTax tools, they have a single getData tool that accepts parameters like entity type and query. The agent combines these primitives to answer complex questions.
Data Retrieval: Let the LLM Write SQL
Rippling’s users ask a lot of data questions – personal or aggregated. Hallucination is unacceptable. Instead of stuffing raw data into the LLM’s context, they do:
- Give the LLM the schema of the data (shape).
- Let the LLM generate a SQL query.
- Execute that SQL against a core data lake.
This approach:
- Avoids putting raw data in the context window.
- Leverages LLMs’ strong SQL capabilities.
- Reduces tool count and selection risk.
- Naturally handles joins across HRIS, benefits, and payroll.
They also cache the retrieved data so the LLM can iterate – exploring, fixing errors, and refining answers without re-fetching. This speeds up follow-up questions and reduces cost.
Eval-Driven Development (EDD)
Rippling practices eval-driven development: any change (prompt, tool, skill) must pass a set of evals. Key insights:
- Repeat evals multiple times because LLM outputs are stochastic. Running an eval once is not enough. Use Wilson confidence intervals: 1/1 passes could mean as low as 20% true pass rate; 3/3 still as low as 44%. More repetitions give higher confidence.
- The number of repetitions depends on:
- Baseline (current success rate)
- Expected regression size (detecting 95%→94% needs more reps than 95%→70%)
- Tolerance for false positives
- This forms a trade-off triangle: Cost, Uncertainty, Latency. Pick two.
Rippling’s Two-Tier Eval Pipeline
- Smoke evals – few evals, few repetitions, run on every commit. Low cost, low latency, higher uncertainty (catches big regressions).
- Health evals – many evals with many repetitions, run twice per day on a batch of commits. Higher latency, lower uncertainty. Passing health evals allows deployment to production.
They also built custom tools for exploring production data, and a vault workspace containing real PII data. Synthetic test data is generated from that vault to avoid exposing customer data in evaluations.
Key Takeaways
- Keep the agent flat. Remove glue code that tries to orchestrate sub-agents. Let the LLM handle complexity as models improve.
- Build generic, composable tools. When data is available, let the LLM write SQL instead of building many narrow API calls. This is more powerful and reduces surface area for errors.
- Eval first. Test every change. Even if your intuition is strong, evals tell the truth. Accept that you can only optimize two of cost, uncertainty, and latency.
Source: @LangChain: At Interrupt, @Rippling took the stage to share how they built and launched Rippling AI
Similar Articles
@LangChain: Next on the Interrupt main stage: Building Jarvis: @jpmorgan’s Agent Building Assembly Line How @useapolloio rearchitec…
An announcement for talks at the Interrupt main stage covering AI agent building with LangChain, JPMorgan's agent assembly line, and scaling agentic AI at Omnicom.
@LangChain: https://x.com/LangChain/status/2091932626961527086
LangChain's managed service enables one-command deployment of AI agents to Slack, automating app provisioning without manual configuration.
@LangChain: En route to improving your agents
LangChain announces a resource for improving AI agents.
@LangChain: Final sessions of Interrupt NYC Fireside Chat w/ @RogoAI CEO & Co-Founder @gabestengel Evaluating Agentic AI at Scale w…
A fireside chat at Interrupt NYC featuring the CEO of RogoAI discussing the evaluation of agentic AI at scale with LinkedIn.
@LangChain: You can now run recursive language model (RLM) workflows in Deep Agents. Everything you need to know in 6 minutes from …
LangChain announces support for recursive language model (RLM) workflows in Deep Agents, with a 6-minute explainer video.