Skip to main content
AI Search in the traces table filter bar is powered by a dedicated search agent. Type in natural language—e.g. “Find traces with errors”—and Alyx turns it into a valid filter. Alyx can compose complex queries from basic ones to capture exactly the data you want. Each query is independent (no conversation history). The same agent runs when you’re on the Traces page and ask Alyx to find spans or build a filter.

Key skills

SkillDescription
List model columnsList columns for filtering; optional search to narrow
Get dimension valuesGet distinct values for a column (span kinds, model names, etc.)
Validate filterCheck syntax and match count; optional time range
Finalize filterApply the filter to the traces table
Preview spansRun filter and return sample spans; optional grep for text in span data

Filter syntax

For filter syntax and examples, see Filter traces.

How to use

Use the AI Search field in the traces table filter bar: type your query in natural language (e.g. “Find traces with errors” or “Spans where the input contains pricing”) and press Enter or tap send. Alyx turns your query into a filter and applies it to the table. Each query is independent—no conversation history.
AI Search in the traces filter bar: type natural language and Alyx applies the filter

Example prompts

  • “Find traces with errors”
  • “Filter by latency greater than 2 seconds”
  • “Show me spans that use gpt-4”
  • “Find traces where the input contains ‘pricing’”
  • “Filter by span kind RETRIEVER”