LangSmith adds AI Search to query agent traces by described behavior
LangChain introduced AI Search in LangSmith, which lets users describe a behavior in plain language—such as whether a user got frustrated or PII leaked—and returns the traces where it occurred. LangChain says a fast decision model reads traces normalized into trajectories by its SmithDB data layer, combining existing structured filters with parallel scanning and streamed matches to cut context bloat and keep searches fast. AI Search is in public beta on LangSmith Cloud in GCP US, EU and APAC regions at no additional cost, and org admins must enable it in settings. These capability and performance claims come from LangChain's own blog posts and have not been independently benchmarked.
It moves agent observability beyond keyword and metadata filters to behavior-level trace search, which teams can use to mine production traces for eval examples and failure patterns.
Key Takeaways
- AI Search now enables users to find conversations based on semantic understanding of traces, like "did the user get frustrated?" or "did PII leak?"
- Describe a behavior in plain language, and a fast decision model reads traces and returns the ones where it happened.
- LangSmith uses trajectories to normalize traces, reduce context bloat, and deliver query results fast.
Agent traces are large, multimodal, and information-dense. They capture key details such as user inputs, how agents respond, and logic failures. That makes traces uniquely valuable for understanding user behavior and improving agent performance, but traditional data platforms weren’t built for large, unstructured payloads like this.
To make trace data useful, teams need infrastructure that can support the full lifecycle: ingest and store high-volume runs, query traces flexibly, and turn them into views for debugging, product analysis, and operational workflows like annotations. That’s why we built SmithDB, the database purpose-built for trace data in LangSmith, and more recently Custom Apps, which let teams create tailored views on top of their traces.
Today, we’re adding AI Search, a new way to query traces using natural language.