Education
9 min read

What Is a Decision Factory? How Data Turns Into Decisions in 2026

A decision factory turns raw company data into decisions you can act on: sources come in, agents build and check the pipelines, and a decision comes out with the numbers behind it. Here is how it works and how to build one.

What Is a Decision Factory? How Data Turns Into Decisions in 2026

Quick answer: a decision factory is a system that turns raw company data into decisions you can act on. Sources come in, pipelines clean and join them, quality checks stop wrong numbers, and what comes out is a decision (pause this campaign, call this account, hold this report) with the numbers behind it. AI agents run most of the line. A person still makes the call.

Most companies already have a lot of data and a lot of dashboards. What they rarely have is a reliable path from "something changed in the data" to "someone did the right thing about it". That path is what a decision factory is for.

Where the term comes from

Marco Iansiti and Karim Lakhani used the phrase in Competing in the Age of AI (Harvard Business Review Press, 2020). They describe the core of a data-driven company as a scalable system that turns data into predictions and decisions, and call it the AI factory: a decision factory at the center of the business.

At the time, building one took a large data team and years of work. Two things changed since then:

  1. AI agents can now do much of the building. Claude Code, Codex and Cursor write and fix SQL and Python quickly.
  2. The tools can be run by those agents. When the whole data stack lives in code, in one repository, an agent can read it, change it, run it and check its own work.

That puts a decision factory within reach of a team of one or two, not just companies with hundreds of data engineers.

The five parts of a decision factory

A factory turns raw materials into finished goods along a line, with quality control before anything ships. A decision factory works the same way.

PartWhat it doesIn Bruin
Raw materialsBring data in from every sourceIngestion with ingestr: databases, warehouses, SaaS apps, files, APIs, event streams
Production lineClean, join and model the dataSQL and Python assets in one Git repository
Quality controlStop wrong numbers before they shipColumn checks and custom SQL checks that block everything downstream
WorkersBuild, run and fix the lineAI agents running the Bruin CLI, plus your team reviewing pull requests
ShippingDeliver the decision where people workThe AI data analyst in Slack and Microsoft Teams, dashboards, data apps, scheduled heads-ups

The parts matter less than the connections between them. A decision is only as good as the weakest step behind it, so the line has to be visible end to end: where a number came from, which checks it passed, and who owns it.

Decision factory, data factory, dashboard factory

These terms get mixed up, so here is the difference in one table.

Data factoryDashboard factoryDecision factory
OutputTables in a warehouseCharts people look atA decision people act on
Who notices a changeNobody, until someone queriesWhoever opens the dashboardThe system, which flags it
What happens to a wrong numberIt moves downstreamIt shows up in a meetingA check stops it and the decision is held back
ExampleAzure Data Factory, Fivetran plus dbtA BI tool with 200 dashboardsBruin

A data factory is a fine place to start. It just stops one step short: someone still has to notice the change, find the number, trust it and decide.

Why agents need a decision factory

Agents are fast and confident. That is useful for writing code and dangerous for numbers. An agent stitching six tools together will guess at a join it cannot see, and a wrong number is worse than no number, because people act on it.

So a decision factory has three rules that make it safe to hand to agents:

  1. Everything is defined in code. Sources, models, checks and owners live in one repository, so an agent sees the whole line, not one tool's corner of it.
  2. A failed check stops the line. When a check fails, nothing downstream runs, so a broken number never reaches a dashboard or a decision.
  3. People approve, agents draft. Changes arrive as pull requests, and decisions arrive as drafts with "show the work" one click away.

Here is what rule 2 looks like in a Bruin asset. Revenue has to match Stripe, and if it doesn't, every decision built on it waits:

/* @bruin
name: mart.revenue
depends:
  - stg.orders
columns:
  - name: revenue
    checks:
      - name: not_null
      - name: min
        value: 0
custom_checks:
  - name: revenue matches stripe
    blocking: true
    query: |
      select count(*) from mart.revenue r
      join raw.stripe s using (order_date)
      where abs(r.revenue - s.amount) > 1
@bruin */

select order_date, sum(amount_usd) as revenue
from stg.orders
group by order_date

The depends line is also where lineage comes from: Bruin reads it from the code, so bruin lineage mart.revenue --full shows everything upstream and downstream before anyone renames a column.

What comes out of the factory

The output of a decision factory is not a report. It is a short message that says what changed, why it matters and what to do next, for example:

  • Marketing: cost per signup went from $4.10 to $5.78 in a week, driven by one Meta campaign. Pause it?
  • Customer success: an account's usage is down 46% in two weeks and their renewal is in three weeks. Draft a save offer?
  • Finance: today's revenue doesn't match Stripe, so the board numbers keep yesterday's checked figures until it does.

Each one comes with the query behind it, and nothing is sent or changed until someone approves it.

How to build a decision factory with Bruin

You can start with the open-source CLI on a laptop and add Bruin Cloud when you want schedules and the analyst in Slack.

  1. Install the CLI: curl -LsSf https://getbruin.com/install/cli | sh
  2. Start a project: bruin init. Already have a warehouse? bruin import database turns its tables into assets in one command.
  3. Bring data in: add ingestr assets for your sources (Postgres, Stripe, HubSpot, Shopify and many more).
  4. Model and check it: write SQL or Python assets, with checks on every column that matters and custom checks for business rules.
  5. Run it: bruin validate, then bruin run. A failed check names the asset, the column and the rows, and holds back everything downstream.
  6. Ship decisions: connect Bruin Cloud to Slack or Microsoft Teams, so people can ask questions in plain English and scheduled agents can send heads-ups when a metric moves.

Or let your agent do it: point Claude Code, Codex or Cursor at getbruin.com/agents.md and ask it to build a pipeline with quality checks. Every change it makes is a file in your repository, reviewed like any other code.

What a decision factory is not

  • Not autopilot. Agents draft, people decide. The point is faster, better-grounded decisions, not decisions nobody looked at.
  • Not another dashboard tool. Dashboards are one way to ship a decision, not the product.
  • Not a new category of software to buy. It is a way of running your data: in code, checked at every step, with the output measured in decisions made.

If you want to see one run, the Bruin homepage walks through a single decision from source to approval, and the AI data analyst page shows the Slack side. To try it on your own data, start free.

Sign up to our newsletter

Practical updates on open-source data pipelines, AI analysts, governance, and what we are shipping at Bruin.

The signup form is hosted by Brevo. Allow marketing cookies to load it.