Skip to main content
Availability: Reviews is a Beta feature available on Enterprise and Cloud Pro plans. It is off by default and must be enabled by an organization admin.
Reviews scans every AI agent turn for signs that the answer was probably wrong — a missing metric, an ambiguous field, a gap in your project context — and groups the findings by root cause so you can fix them in one place. For each finding, Reviews proposes the smallest change that would have prevented it:
  • Semantic layer fixes open a pull request against your dbt project (rename a field, add a description, add a metric).
  • Project context fixes add a short note that your agents read before answering future questions.

When to use it

Turn Reviews on once you have agents in regular use and want a feedback loop that improves them without manually reading thread transcripts. It’s most useful when:
  • Users ask the same kind of question repeatedly and the agent struggles
  • You want to keep dbt metadata and agent instructions tight as your data model evolves
  • You’re rolling agents out to a wider audience and want admin-level visibility into quality
If you’re still setting your first agent up, start with agent setup and evaluations first — Reviews works best once there’s real usage to learn from.

Enabling Reviews

Reviews is opt-in. Until an admin enables it, no agent turns are processed and no findings are collected.
  1. Go to Settings → Ask AI → General.
  2. Toggle Review AI agent turns on.
Once enabled, future agent turns are reviewed in the background. Existing threads are not back-filled. To stop collecting findings, toggle the setting off. Previously collected findings remain visible until you act on or dismiss them.

Reviewing findings

Open Settings → Ask AI → Reviews to see what Reviews has surfaced. Findings are grouped by root cause so you can fix the underlying issue once instead of replying to threads one by one. Each finding links back to the original agent turn so you can see the question, the answer, and the evidence Reviews used to flag it.

The lightdash.project_context.yml file

Project context fixes don’t touch your dbt models. Instead, they write to a separate file — lightdash.project_context.yml — that lives next to lightdash.config.yml inside your dbt project directory. Your AI agents read it before they answer, so notes you add here change future behavior without changing the semantic layer. The file is committed to your dbt repo and travels with the rest of your project metadata. The first time Reviews applies a project context fix, it creates the file (with a header explaining what it’s for) and opens a pull request. Subsequent fixes add or update entries in the same file. The full JSON Schema is published at lightdash-project-context-1.0.json — point your editor at it for autocomplete and validation.

File shape

lightdash.project_context.yml
The top-level document is { version, entries }. A bare array of entries is also accepted for backward compatibility, but new files are written in the canonical shape.

Top-level properties

Entry properties

Each item in entries is a single self-contained fact your agents should know. Unknown keys on an entry are preserved on round-trip, so a field a newer Lightdash version adds won’t be silently dropped if you edit the file by hand.

Editing the file

You can edit lightdash.project_context.yml directly — it’s a normal file in your dbt repo. The Reviews flow is designed to coexist with manual edits: writeback uses the GitHub API to merge a single entry at a time, preserving comments, quoting, and key order in the rest of the file, so the resulting diff is just the changed entry. If you do edit by hand, the same validation rules apply: invalid files surface schema-backed errors at ingest time.

Project context vs. semantic layer fixes

Both kinds of fix open a pull request, but they change different things and have different review costs. A rule of thumb: if a new analyst joining the team would also benefit from the change, it’s probably a semantic layer fix. If only the agent needs to know it, it’s project context.

Privacy and data handling

  • Reviews runs against agent turns inside your organization only.
  • Findings are stored in Lightdash alongside your other agent data and respect your existing project and admin permissions.
  • Disabling the toggle stops new collection immediately; it does not delete previously collected findings.
  • Agent visibility — where Reviews fits into admin visibility overall.
  • Evaluations — run a fixed set of prompts against your agent and grade the answers.
  • AI writeback — let an agent open a dbt pull request from chat.
  • Autopilot — scheduled agent that cleans up content and flags issues for review.