

Reduce LLM Query Time and Cost with an AI-Native SQL Engine
As more interactions flow through AI, agent traces are becoming key business data. Finding patterns and errors takes a hybrid of traditional analytical queries and newer AI functions to reason over data. Accurate analysis at scale is costly with traditional tools.
Quail is an AI-native SQL query engine built to scale AI functions. It jointly optimizes query planning and model inference to sharply reduce cost and query time.
Join Shreya Shankar and Hamel Husain for a live demo of Quail. They'll show how it runs AI queries and how its approach compares with AI functions in existing databases.
What we'll cover
Learn how to query your agent's activity to answer questions such as:
What are users asking for, and which requests go unmet?
When does an agent say it succeeded even though a tool failed?
Which tasks require repeated attempts or the most tool calls?
We'll show you how to find answers to these and other questions in a way that is fast, cost-effective and accurate.
Who this is for
Engineers and PMs who build or evaluate AI agents.
Speakers
Shreya Shankar builds open-source systems for AI-powered data processing, including Quail and DocETL. She holds a PhD from UC Berkeley and will join Carnegie Mellon as a CS professor in 2027.
Hamel Husain works on evals at OpenAI. He has 20+ years of experience in machine learning and teaches AI evals with Shreya.
How fast is it?
The below charts come from the Quail team's tests on agent messages, company filings, and contracts. They compare Quail with vLLM, software for running LLMs. The "tuned" version of vLLM includes optimizations to reduce repeated work.
Speed and estimated GPU cost
Time to finish each query
Shorter bars mean less waiting.
Further reading from the Quail team
These posts explore how an AI-native SQL query engine can run LLM queries faster and at lower cost.