Metrics are YAML.
Metrics are YAML in your dbt project, with SQL in expression strings and Jinja in filters. In January 2026, dbt Labs changed the spec to make metrics easier to define.
“My issue with DBT is it is a mix of SQL, yaml, jinja2 flow controls (and metrics is whole another thing).”
In Kater Kater SQL is your warehouse’s SQL with DIMENSION, MEASURE and EVAL. Your agent writes it, and anyone who reads SQL can review it.