---
title: "eve Company Brain"
description: "Ask an eve agent about dbt models and data from Slack, using local DuckDB or MotherDuck with constrained SQL queries."
url: "https://vercel.com/templates/eve/eve-company-brain-template"
links:
  repository: "https://github.com/vercel/eve/tree/main/apps/templates/eve-company-brain-template"
  deploy: "https://vercel.com/new/clone?demo-title=eve+Company+Brain&demo-description=Ask+an+eve+agent+about+dbt+models+and+data+from+Slack%2C+using+local+DuckDB+or+MotherDuck+with+constrained+SQL+queries.&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2Feve-gallery-brain-cover-aefc5a0356b4%2Ff2be0d8dbcfa84e614422b9a73bac1bb%2Feve-company-brain-template-cover.png&project-name=eve+Company+Brain&repository-name=eve-company-brain-template&repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Feve%2Ftree%2Fmain%2Fapps%2Ftemplates%2Feve-company-brain-template&from=templates&skippable-integrations=1"
---

# eve Company Brain

Ask an eve agent about dbt models and data from Slack, using local DuckDB or MotherDuck with constrained SQL queries.

## Ask your dbt models a question with eve.

Build a Slack assistant that answers questions about your data using the documentation you already maintain in dbt. This [eve](https://eve.dev/) template reads model definitions before querying local DuckDB or MotherDuck, with Jaffle Shop customers, orders, and payments as a working example.

### Ground answers in your data definitions

The agent can list exposed models, read their documentation, and run constrained SQL queries. dbt supplies descriptions, model SQL, and authored definitions for joins and metrics through a generated catalog.

Ask how customer lifetime totals are calculated or request payment totals by month. The sample covers January–April 2018; it is historical data, not a live business dashboard.

### Start locally, then connect Slack

Local setup requires Node.js 24 or newer, pnpm 12, uv, and model credentials. Build the sample data with `pnpm data:build`, then follow the [setup guide](https://github.com/vercel/eve/tree/main/apps/templates/eve-company-brain-template) to connect an authenticated terminal session or Slack.

Slack access requires explicit workspace, user, and conversation allowlists. Everyone admitted shares one warehouse identity, and replies are visible to others in the conversation. There are no per-user warehouse permissions, so use only conversations appropriate for the entire exposed dataset.

### Bring your own models

Replace the example dbt project and tag the tables you want to expose. Rebuild the catalog alongside the data; it does not refresh automatically.

For deployment, prepare the models in MotherDuck and configure a Read Scaling token rather than writer credentials. Switching the connection does not upload a local DuckDB database.

Queries are limited to read-only statements against exposed models, with capped results. These limits do not cap warehouse scans or spending. This template is not a general-purpose SQL sandbox or production access-control platform. See the [query policy and deployment guide](https://github.com/vercel/eve/tree/main/apps/templates/eve-company-brain-template) before connecting company data.

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
