Databricks built a RAG agent it says can handle every kind of enterprise search

· Source: VentureBeat · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics, Emerging Technologies & Innovation · Depth: Advanced, short

Summary

Databricks has introduced KARL (Knowledge Agents via Reinforcement Learning), a RAG agent designed to handle six distinct enterprise search behaviors simultaneously. The company claims KARL matches Claude Opus 4.6 on a custom benchmark, KARLBench, while achieving 33% lower cost per query and 47% lower latency. KARL was trained entirely on synthetic data generated by the agent itself, eliminating the need for human labeling. This multi-task reinforcement learning approach addresses the "generalization trap" where standard RAG pipelines, optimized for single search behaviors, fail on ambiguous or multi-step queries involving fragmented internal data. KARL's training leverages OAPL (Optimal Advantage-based Policy Optimization with Lagged Inference policy), a new RL algorithm that maintains stability with significant policy lags, enabling sample-efficient training within a few thousand GPU hours.

Key takeaway

For CTOs and VPs of Engineering evaluating their enterprise retrieval infrastructure, KARL's multi-task RL approach suggests that narrow RAG pipelines are likely underperforming on diverse query types. You should reassess your current RAG agent's generalization capabilities and consider purpose-built search agents trained with reinforcement learning to handle complex, ambiguous enterprise data more effectively, prioritizing robust search behavior over just cost savings.

Key insights

Multi-task reinforcement learning enables RAG agents to generalize across diverse enterprise search behaviors, improving performance and efficiency.

Principles

Method

KARL employs a new reinforcement learning algorithm, OAPL, to train an agent across six enterprise search behaviors simultaneously using self-generated synthetic data, learning context compression end-to-end.

In practice

Topics

Best for: CTO, VP of Engineering/Data, Director of AI/ML, AI Engineer, Machine Learning Engineer, MLOps Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by VentureBeat.