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

Chat with an AI Agent
Use Bruin Cloud's chat to ask an AI agent about your data, generate reports, and run Bruin Cloud CLI tasks like pipeline status and history.

Configure AI Agents
Create and configure AI agents in Bruin Cloud - pick a project, add messaging integrations, attach a connection set, and set permissions.

Connect Bruin Cloud MCP to Claude Code
Set up the Bruin Cloud MCP so your AI agent can query pipelines, inspect runs, and trigger actions in Bruin Cloud directly from your terminal.