# dbt-meta CLI tool for AI agents for instant metadata extraction from dbt artifacts

**URL:** <https://discourse.getdbt.com/t/dbt-meta-cli-tool-for-ai-agents-for-instant-metadata-extraction-from-dbt-artifacts/20458>\
**Category:** Show and Tell\
**Tags:** best-practice, metadata, cli, dbt-core\
**Created:** [November 29, 2025, 12:08pm UTC](https://discourse.getdbt.com/t/dbt-meta-cli-tool-for-ai-agents-for-instant-metadata-extraction-from-dbt-artifacts/20458 "2025-11-29T12:08:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Filianin](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@Filianin](https://discourse.getdbt.com/u/Filianin)\
**Post date:** [November 29, 2025, 12:08pm UTC](https://discourse.getdbt.com/t/dbt-meta-cli-tool-for-ai-agents-for-instant-metadata-extraction-from-dbt-artifacts/20458/1 "2025-11-29T12:08:40Z")

</div>

Hello team!

Over the past few months, I’ve been getting pretty tired of Claude Code constantly getting lost when working with dbt 🔦

— Agent confuses schemas and tables (prod vs dev, alias vs filename)

— Hallucinates non-existent columns and wrong data types

— Doesn’t know dependencies between models

— Spends forever scanning .sql files and BigQuery for metadata

I have ~1000 models, custom naming patterns, aliases, and defer workflow. So, I’ve built a solution.

dbt-meta — CLI for instant metadata extraction from dbt artifacts.

meta schema dim\_customers → project.analytics.customers

meta columns -j orders → [{“name”: “order\_id”, “type”: “INT64”}, …]

meta parents -a model → all upstream dependencies

and many other commands…

⚡ Most commands ~250ms, not 5-10 tool calls at 2-3 seconds each

📦 pip install dbt-meta

🔗 [GitHub - Filianin/dbt-meta: AI-first CLI for dbt metadata extraction](http://github.com/Filianin/dbt-meta)

Give it a try — feedback welcome!

 ![commands](https://us1.discourse-cdn.com/flex020/uploads/getdbt/original/2X/9/911d9ef967844ab87ce20d8a93fd7f4ae0a0382d.png)
