PATTERN Cited by 1 source
Continuous agent evaluation framework¶
Pattern¶
Run a continuous evaluation loop over agent traces that tests not just the agent but the entire context stack it relies on — tools, context documents, system prompts, and domain assumptions — using multiple scorer types before any change shapes production behavior.
Structure¶
- Standardised traces — MLflow tracing across all agent adapters; each interaction is a structured execution path (model calls → tool calls → intermediate steps → final answers)
- Multi-scorer evaluation — run against traces:
- Deterministic correctness scorers
- SQL-grounding scorers (did the agent query the right tables with correct logic?)
- Cache-aware cost scorers (is the agent efficient?)
- LLM-judge scorers with domain-expert alignment
- Context-stack testing — markdown can drift from pipelines and table definitions; system prompts evolve; tool contracts change; domain assumptions age. The framework tests all of these together.
- Observable substrate — AI Gateway routes model traffic → inference tables land in Unity Catalog → analysable with SQL
Why test the context, not just the agent¶
"The context layer itself needs evaluation: markdown can drift from pipelines and table definitions, system prompts evolve, tool contracts change, and domain assumptions age. Traces and evals let us test the agent, the tools, and the context it relies on together before any of them shape production behavior." (Source: sources/2026-07-21-databricks-why-rd-data-belongs-in-the-lakehouse-and-why-agents-need-it)
Seen in¶
- sources/2026-07-21-databricks-why-rd-data-belongs-in-the-lakehouse-and-why-agents-need-it — cellcentric's continuous evaluation framework on Databricks (MLflow tracing + AI Gateway + inference tables + multi-scorer eval).
Related¶
- systems/mlflow — tracing substrate
- systems/unity-ai-gateway — observability choke-point
- patterns/data-product-as-agent-context-layer — what the eval framework tests