AI Analyst for Consumer App Data with Postgres & OpenCode
Build a local AI analyst for consumer app data using Bruin CLI, Postgres, and OpenCode.
What
Goal - Build a local AI analyst for consumer app data using Bruin CLI, Postgres, and OpenCode.
Audience - Data engineers and analysts working with consumer app data in Postgres.
Prerequisites
- Consumer app data already loaded in Postgres
- Bruin CLI installed
- OpenCode installed and authenticated for
bruin ai enhance - Bruin MCP configured for OpenCode
More guides
Capstone: add returns to the pipeline
Extend the project, prove the result, and assess the finished pipeline.
Describe the model in its asset definition
Keep the metric definition, owners, limits, and checked examples next to the SQL.
Load and profile the source data
Load local commerce data and check its shape before modeling it.