---
title: "What's an analytics agent? The 4 levels of the agentic loop"
canonical: "https://motherduck.com/blog/what-is-an-analytics-agent-4-levels-of-the-agentic-loop/"
---

# What's an analytics agent? The 4 levels of the agentic loop

2026 is definitely the year of agents. In a nutshell, an agent is a smart AI that runs a loop until a goal is met.
So why all the fuss? And why do we keep seeing more companies claiming "the agent for X"? What's the complexity behind this?

Then there is data work. What makes an analytics agent different from a classic agent? Spoiler alert: the dependency on data...But what does that mean?

In this blog, we'll answer all these questions. We'll go back to the fundamentals of what an agent is, and break its complexity down into 4 levels, with a focus on analytics agents. There will be real datasets and prompts for you to try, so you can grasp every level properly. We remember by doing, so I recommend that you follow along!

While the levels showcase MotherDuck's features, I believe the primitives here are the same no matter which tool you use, so there should be something for you even if Ducks aren't your thing :)

The higher the level, the more you control and manage.

Let's start by getting on the same page.

## What's an agent?

As I said, an agent is a loop. You give it a goal, then it gathers context, decides, acts, observes, and loops until the goal is met.

For an analytics use case, you ask a business question about your data, and the agent calls the tools it needs to explore, ingest and transform the data until it can give you an answer.

![The agentic loop: gather context, decide, act, observe. Three turns to answer a retention question.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/the_agentic_loop_03788e4cea.svg)

In the above example with "Which live-ops change hurt day-7 retention?" question, we have basically 3 turns : 

The first turn, the LLM context window holds the system prompt, the list of tools and the question. The model doesn't answer yet: it writes a tool call, `list_tables`. The harness runs it, and the 8 tables it finds are appended to that context window as the result of the call, so the model's next turn reads a longer log than its last one. Second turn, same thing: the model now sees those tables in its context and writes a query. The harness runs the SQL, and the 4 rows it returns are appended the same way. On the third turn, the model has everything it needs in that growing, appended log, and replies

That last reply has no tool call in it, so the harness has nothing to run, and the loop ends. That's the only stop rule: no tool call, no next turn (plus a step limit in the harness, in case things go wrong). 

An agent can literally be broken down into a few components. Around the model, everything else is what we call the **harness**: the instructions, the context and the tools it calls. In our analytics context, tools are traditionally databases, APIs and object storage.

![The parts of an agent: a human, the harness (instructions, context, model, tools) and the environment.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/anatomy_f7828c5583.png)

One underrated thing is all the other components an agent needs: **permissions, sandboxing, hooks, memory, compaction of old turns, etc.** These are usually more complex and often overlooked, but they are just as important as the core instructions.

For instance, you will typically want a human in the loop for critical operations, and clear hooks (your own code running before and after every tool call, able to block it). You also want the agent to share memory and to be able to spawn subagents to parallelize work.

Claude Code, Codex and Cursor are all harnesses, and the loop inside each of them have the same approach.

Keep this in mind, because the 4 levels are basically about which of these parts you hands off, and which ones you own for more customization and control.

## What's the role of an analytics agent?

It's interesting to talk about the name and the scope first.

In a data team, we typically have data engineers, analytics engineers, data scientists and others.

Their scope and their work always overlap, but each tends to focus on a specific area of the data lifecycle, from raw ingestion to final analytics and business decisions.

I like to think of an analytics agent with a broader scope but it's focused on the business outcome, which is the analytics.

### Tasks

![A flow diagram showing data moving left to right through explore, ingest and transform, and data apps, ending in a business answer.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/the_agent_s_tasks_left_to_right_eae96891fb.svg)

It's interesting to also think about non-deterministic and deterministic tasks. That doesn't mean there's no non-determinism in an ingest/transform pipeline (there are always multiple ways to build one), but testing those is much easier than testing the ad hoc exploration phase or the visualization part.

The work usually goes in that order. First, the agent **explores**: before it can write anything reliable, it has to look at the real data, its schemas, samples, value distributions, and run one-off queries. That's the non-deterministic part. Then what it learned becomes **ingest and transform** code, deterministic, that runs again on a schedule (or not) without the agent. And finally, **data apps**: dashboards, charts, small tools that people actually look at.

In short you can interact with an analytics agent to do any of the above tasks or all of them. The interface can be a chat, or an MCP if you bring your own agent.

To do any of this, the agent needs context (what the data means), storage (where it lives), and permissions and a sandbox (what it can see, touch and break). And you need observability across all of it.

At MotherDuck, we worked on these primitives so that every piece is a MotherDuck product an agent can use natively through our [MCP server](https://motherduck.com/docs/getting-started/mcp-getting-started/): the [MCP tools](https://motherduck.com/docs/sql-reference/mcp/) to explore, [Flights](https://motherduck.com/docs/key-tasks/flights/) for pipelines, [Dives](https://motherduck.com/docs/key-tasks/dives/) for data apps, [Guides](https://motherduck.com/docs/key-tasks/guides/) for context, and [Ducklings](https://motherduck.com/docs/concepts/compute/hypertenancy/) and [secure views](https://motherduck.com/docs/key-tasks/sharing-data/secure-views/) for permissions.

### Less UI, more chat

Can we do all the data tasks we used to do through a chat UI?
Yes and no.

We used to have too many dedicated UIs. Each layer of the modern data stack ships two of them: one to build things (connectors, models, schedules, dashboards) and one to watch them run. Count them for ingestion, transformation, orchestration, BI and data quality, and you get about ten browser tabs to ship one metric!

These UIs were designed for BUILDING and for OBSERVING (runtime, debugging) for humans. The building part is now left to the agent so we actually need fewer and fewer UIs to build, but we definitely still need them to observe and tweak.

For data tasks, three of these still survive: visualization (which can be a simple table), pipeline observability, and agent traces. 

Thanks to [MCP apps](https://modelcontextprotocol.io/extensions/apps/overview), however, **we can bring these UIs right where people chat **with their Claude or ChatGPT session. An MCP app is a small web UI that an MCP server ships, and that the chat client renders inside the conversation. It became the [first official MCP extension in January 2026](https://blog.modelcontextprotocol.io/posts/2026-01-26-mcp-apps/), and it works in Claude, ChatGPT, VS Code, Goose, Cursor and more.

At MotherDuck, we have 2 MCP apps so far. For data apps and dashboarding, **Dives** ([`view_dive`](https://motherduck.com/docs/sql-reference/mcp/dives/view-dive/)):

![A MotherDuck Dive rendered as an MCP app inside the chat.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/mcp_app_dive_36803cba59.png)

And for pipeline observability, the **Flight Explainer**, which shows a Flight run ([`run_flight`](https://motherduck.com/docs/sql-reference/mcp/flights/run-flight/), [`view_flight_run`](https://motherduck.com/docs/sql-reference/mcp/flights/view-flight-run/)):

![The Flight Explainer: a Flight run rendered as an MCP app inside the chat.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/mcp_app_flight_fa69827ae4.png)

For agent traces, there's no dedicated app (yet): we [store the traces in MotherDuck and look at them through a Dive](https://motherduck.com/docs/getting-started/agent-observability/). More on that at level 4.

More and more people want to bring their own AI to an external tool, so forcing them into a custom UI may not always be the best option. MCP apps help solve this problem: we meet users where they build stuff.

## 4 levels of analytics agents

To understand how analytics agents graduate, here's an overview. The higher you go, the more you own and the more you tweak.

| Level | Harness | Model | Tools | Data and compute | Who can use it |
| --- | --- | --- | --- | --- | --- |
| 1. Local | Claude Code or Codex | managed | DuckDB CLI + a skill | your laptop | you |
| 2. Remote MCP | Claude Code or Codex | managed | a remote MCP server + a guide | MotherDuck | anyone you share with |
| 3. Custom MCP | Claude Code or Codex | managed | your own MCP server | MotherDuck | your users |
| 4. Custom agent | your loop | your key, any model | your own MCP server | MotherDuck | anyone with access, no AI tool needed |

Let's explore every level pragmatically, with a couple of prompts and the technical setup.

### About the dataset we'll use

Every level runs on the same data: **Gloamwick Studios**, a fictional game studio running a free-to-play mobile game on iOS and Android. It's 8 tables and 122.9 million rows (59.4M ad impressions, 54.0M sessions, 8.8M players and 675K purchases) covering one year, from 2024-10-01 to 2025-09-30. That's 1.5 GB of Parquet once on your laptop, and it's public at `s3://us-prd-motherduck-open-datasets/synthetic/gaming-gloamwick-liveops/20261115-82cb146b-m-r1/tables/`.

Why this size? Across the Amazon Redshift fleet (the [Redset dataset](https://github.com/amazon-science/redset)), 94% of real analytics queries scan 10 GB or less. So this is not a toy: it's what most analytics actually looks like.

The game had a few live-ops changes, and that's what our questions will be about: a level 12 boss rework (2025-04-10), a starter pack price cut from $4.99 to $1.99 (2025-05-01), a rewarded chest video (2025-06-15) and a summer event (2025-07-01).

### Level 1: local analytics agent

Level one is the one everyone has experienced (hopefully, unless you've been living in a cave).

We write a skill file with instructions about our data, and tell the agent to use DuckDB, that powerful single-binary, in-process OLAP database, to crunch all the data we need.

```markdown
---
name: company-analytics
description: Answer business questions on the Gloamwick Studios
  duckgen dataset with DuckDB, locally.
---

# Company analytics

The data is Gloamwick Studios, a fictional mobile game: 8 tables, 123M rows, 1.5 GB of Parquet.
The files are already on this machine, one per table: `data/<table>.parquet`. Do not download
anything.

1. Load every table from `data/` into a local DuckDB file (company.duckdb) with the DuckDB CLI.
2. Read the tables and their columns before writing SQL.
3. Keep money in cents until the final SELECT.
4. Show the SQL you ran under every answer.
5. Build dashboards as one local HTML file (dashboard.html) with the numbers inlined.
```

Put it in `.claude/skills/company-analytics/SKILL.md` (Claude Code) or `.agents/skills/` (Codex). How does the model know where the data is? The skill tells it, which is why the prompts can stay short. To get the files locally, one DuckDB `COPY` per table from the public S3 bucket above does the job.

Here the compute, the dashboard and the instructions of our agent are all local.

![Level 1: Claude Code, the DuckDB CLI and a skill, all on the laptop. New at this level in yellow.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/level_1_local_f59e0104f2.png)

Then it's three prompts: load the data, ask the question, ask for a dashboard.

```prompt
Use the DuckDB CLI to load every Gloamwick table from the data folder into company.duckdb, then tell me what each table holds.
```

```prompt
Which live-ops changes since spring 2025 moved day-7 retention or revenue per daily active user, and on which platform? Show the SQL.
```

```prompt
Build dashboard.html, one file I open locally: weekly day-7 retention and revenue per daily active user by platform, with a marker on each live-ops change.
```

I got the result in 16 turns and 3.4 minutes (for $0.38), with a nice dashboard.

Now the question: how do I share this result with my teammates? How do we make sure we collaborate on the same SKILL file instructions? Put things in git?

How do I manage access and identity for the data and the other assets?

That's a lot of boxes to build yourself.

Not every problem has an obvious solution, but the next step is basically to move some of the components remote, to the cloud.

## Level 2: remote analytics agent through MCP

We'll hook up a [remote MCP server](https://motherduck.com/docs/getting-started/mcp-getting-started/) so that the compute and the dashboard can be processed and hosted remotely.

Take the level 1 picture again, and look at what can leave the laptop:

![What do we hand off? The skill becomes a Guide, the DuckDB CLI a Duckling, the local file a database, the HTML dashboard a Dive.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/level_handoff_2eadc760c8.png)

The skill's definitions become a cloud hosted [**Guide**](https://motherduck.com/docs/key-tasks/guides/), the DuckDB CLI becomes a [**Duckling**](https://motherduck.com/docs/about-motherduck/billing/duckling-sizes/) (remote compute), the local database file becomes a **MotherDuck database**, and the HTML dashboard becomes a [**Dive**](https://motherduck.com/docs/key-tasks/dives/) that anyone I share it with can open. What stays with me: Claude Code is still the harness, and I still pay for the model (my Claude subscription).

As we move things to MotherDuck, we benefit from RBAC around the compute, we can scale up or down, and our Dives (aka data apps) are hosted there, so we can easily embed them anywhere we want.

The skill files can become Guides in MotherDuck. These live close to our data, and can be versioned and read by anyone on the team. Note that nothing is injected into the agent's context. The agent has to ask, and the MotherDuck MCP server points it there: the [`get_query_guide`](https://motherduck.com/docs/sql-reference/mcp/guides/get-query-guide/) tool's description says to call it before writing SQL, and [`list_tables`](https://motherduck.com/docs/sql-reference/mcp/core/list-tables/) and [`search_catalog`](https://motherduck.com/docs/sql-reference/mcp/core/search-catalog/) return the related guides.

![Level 2: same harness, now connected to the MotherDuck MCP server, which reads the guide first. New at this level in yellow.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/level_2_remote_mcp_a71ec40302.png)

Prompt: "Did the starter pack price cut lift payer conversion?"

Let's assume that the database is not yet attached, so we will put the ATTACH command there. Of course usually your databases you used are already attached, but for the sake of the demo and a public dataset, we need to do this step.

```prompt
ATTACH 'md:_share/dg_gaming_gloamwick_liveops_m_82cb146b_r1/bed90580-42de-4668-99b5-e3fc36ef7969' AS gaming_gloamwick_liveops; This is fictional data for Gloamwick Studios, a free-to-play mobile game on iOS and Android. Did the starter pack price cut lift payer conversion? Split by acquisition channel, before and after. Show the SQL.
```

Without a guide, the agent picked its own definition (any purchase within 28 days) and told me paid social conversion went from 7.34% to 10.90%. Plausible, but not accurate.

So let's write the definitions once, in a guide:

```prompt
Create a private MotherDuck guide titled "Gloamwick: how we count" with the text below, word for word.

# Gloamwick: how we count

- Columns ending in `_cents` are integer USD cents. Columns ending in `_millicents` are thousandths
  of a cent: divide by 1,000 to get cents.
- Day-7 retention = `sum(d7_retained) / sum(installs)`, over rows where `d7_matured` is true.
  Never average `d7_retention_pct` across rows.
- Payer conversion for a sku = players who bought that sku / installs, grouped by install date
  (`players.install_date`), not by purchase date. For the starter pack, the sku is `starter_pack`.
  Count only cohorts with 7 full days of data.
- Live-ops changes are in `live_ops_events`. Open-ended changes have `end_date` 9999-12-31: compare
  before and after `start_date`.
```

Then we ask the same question in a new conversation. The agent read the guide first and returned the right answer: paid social conversion went from **2.52% to 6.28%**, while the other channels stayed flat at 2.5%. 19 turns, 53 seconds.

Last step, save it as a Dive:

```prompt
Save a Dive titled "Starter pack price cut: did it work?" that answers the question on one page. Four key numbers: paid social conversion after the cut (and what it was before), the other channels after the cut, starter packs sold per month and starter pack revenue per month, each compared with before the cut. Three charts: weekly conversion by acquisition channel as lines with a marker on the price cut; conversion before and after by channel as bars; starter pack revenue per month as bars. Follow the guide for the definitions. Then show it with view_dive and give me the link.
```

When we move agents to the cloud, there are also two things we want to be clear on: sandboxing (one agent's queries shouldn't impact the performance of others) and clear security boundaries (RBAC).

For the sandbox, MotherDuck's operating model helps a lot: we scale our Ducklings up or down, and every user, service account or agent gets its own Duckling ([hypertenancy](https://motherduck.com/docs/concepts/compute/hypertenancy/)) over the same copy of the data. One agent in its own Duckling can never slow anyone else down and has predictable capped costs.

For access management, we have row-level and column-level security through [secure views](https://motherduck.com/docs/key-tasks/sharing-data/secure-views/). A secure view, defined once by the data owner, applies three rules in the database for every query: a `WHERE` clause keeps some rows (row-level security), a column left out of the `SELECT` doesn't exist for the consumer (column-level security), and an expression replaces a column's values (masking). It holds for every agent and person behind the share, whatever the prompt says.

![A secure view applies three rules for every query: a WHERE clause keeps EU rows, email is left out, ssn is masked.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/secure_views_7975dce83a.gif)

## Level 3: building your own remote MCP

In level 2, we rely on a single remote MCP server. In reality, agents often need a bit more context and freedom in their tooling.
Maybe you want your analytics agent to pull a live feed of trading data from an external API and join it with your existing data for various analyses.

In that case, you would build your own MCP server, in front of MotherDuck. It may sound complicated, but honestly it's not. The pattern is a [white-label MCP server](https://motherduck.com/docs/key-tasks/ai-and-motherduck/mcp-workflows/white-label-mcp-server/): your server proxies the MotherDuck MCP server, forwards a small set of tools under your own names, drops the ones you don't want (like `query_rw`), and adds your own tools only you have.

Let's look at some code. Here's a tool that converts our monthly revenue from US dollars to euros, using the European Central Bank's rates:

```python
@mcp.tool
async def revenue_in(question: str, currency: str = "EUR"):
    """Monthly revenue converted from US dollars to another currency,
    at the European Central Bank's average rate of each month."""
    result = await motherduck("query", {"sql": REVENUE_BY_MONTH})
    rows = result["structuredContent"]["rows"]

    rates = await monthly_rates(currency, first, last)

    return [
        {"month": month, "revenue_usd": usd, "rate": rates[month],
         "revenue_eur": usd * rates[month]}
        for month, usd in rows
    ]
```

My MCP server wraps two services: MotherDuck, called with my token, and the [Frankfurter API](https://frankfurter.dev), which serves the ECB's exchange rates. The agent sees one tool and its docstring. It never sees the token, the SQL or the second API, and the multiplication happens in code, so the number is the same every time. 

The full server is about 150 lines of Python with [FastMCP](https://github.com/jlowin/fastmcp), the framework for building MCP servers: it forwards three MotherDuck tools (`query`, `list_tables`, `get_query_guide`) under its own names, and adds `revenue_in`. The setup for this demo: run `server.py` locally (it could just as well be hosted), then point Claude at that local MCP server.

![Level 3: my own MCP server in front of MotherDuck and an exchange rate API. New at this level in yellow.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/level_3_custom_mcp_d2e035774a.png)

```prompt
Using only the company-data mcp tools: what was our revenue in euros, month by month? Then tell me in one line how December 2024 compares with September 2025, in dollars and in euros.
```

4 turns, 19 seconds, one `revenue_in` call. Revenue is flat in dollars (527,246 to 527,295) and down 10.7% in euros (503,174 to 449,451), because the dollar fell from 0.954 to 0.852 euros. Any outside service can sit behind a tool this way: a CRM, a ticketing system, an internal API.

Now you own the MCP server (and need to run it!), but you also need to manage access to it. In the previous level, every user in MotherDuck could access the MCP server through OAuth. Here, the server calls MotherDuck with whatever token it holds. Give it a [service account](https://motherduck.com/docs/key-tasks/service-accounts-guide/), and your users get that account's rights: only the shares you granted, read-only with [read scaling tokens](https://motherduck.com/docs/key-tasks/authenticating-and-connecting-to-motherduck/read-scaling/), rows and columns cut by a secure view.

## Level 4: building your own remote agent

The line between level 3 and level 4 is thin. In level 3, we just added an extra tool from an API and linked it to an existing MCP server. There is no agentic loop of our own: we are just providing tools for people to bring their own AI.

The next step is to also manage (or rather, use) a specific AI model, and then provide an interface (it can be a UI with a chat, or an MCP server, or... a dashboard) where there's an agentic loop.

The goal below is to build something which is running fully remote and in our case, we may not even need to interact with it through chat!

For our case, the agent is a **dashboard watcher**. It watches a dashboard (a Dive) and keeps it correct. A dashboard goes wrong in three ways:

- a chart **breaks** because a column was renamed or dropped
- a chart is **wrong** because the data changed under it (here, a new `web` platform that the retention chart leaves out)
- the **data itself** is wrong or stale The one rule in its prompt: fix the dashboard when the dashboard is wrong, report when the data is wrong. It never edits data.

The loop is simple. The agent, running Claude Haiku in our case (through OpenRouter, so any model works), will:

```python
dive = read_dive(DIVE_ID)
for step in range(MAX_STEPS):
    reply = ask_model(messages, TOOLS)
    for call in reply.tool_calls:
        if call.name == "query":
            result = run_sql(call.sql)
        if call.name == "edit_dive":
            draft = draft.replace(call.old, call.new)
        if call.name == "flag" and returns_rows(call.evidence_sql):
            flags.append(call)
        trace.add(step, call.name, result)
    if finished:
        break

for sql in queries_of(draft):
    run_sql(sql)
update_dive(DIVE_ID, draft)
write(flags)
write(trace)
```

It reads the dashboard, loops (ask the model, run the tools it asks for, record each step), and then does two things the model does not decide: re-run every query of the draft, and only then publish a new version. The loop is the agent; everything around it is the harness, and at this level it's mine: the model and its key, the system prompt, the tools, the checks, the step limit, the schedule and the traces.

The real file is 356 lines, deployed as a [MotherDuck Flight](https://motherduck.com/docs/key-tasks/flights/), so it can [run on a schedule](https://motherduck.com/docs/key-tasks/flights/scheduling-and-runs/), every morning before anyone opens the dashboard. The OpenRouter key lives in a [MotherDuck secret](https://motherduck.com/docs/key-tasks/flights/flights-authentication-config-and-secrets/). And deploying it is one prompt:

```prompt
Deploy flight.py as a watcher agent on this dashboard, run it and wait for it to finish. Then show me the last lines of its log.
```

![Level 4: Claude Code deploys flight.py as a Flight; it reads and edits the Dive, queries the database and calls the model through OpenRouter. New at this level in yellow.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/level_4_custom_agent_50fdf7397f.png)

Each run takes 6 to 7 model steps, 17 to 18 seconds, and costs under a cent. It added the missing `web` line to the retention chart and flagged the Android day-7 retention drop of April 2025.

The best part: using the agent takes nothing. A colleague logs in to MotherDuck and opens the dashboard. They install no agent, hold no model key and write no prompt. That's the real difference with the other levels: anyone with access can use it, no AI tool needed.

Here the dashboard after the dashboard watcher agent flagged the events and annotated the charts :

![The Dive after the watcher agent runs: Dive Keeper flags the Android D7 retention peak, the iOS dip and a daily revenue spike, each linked to its chart.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/dive_after_watcher_aac3e85564.png)

## Observability

So when you build level 4, it's important to have traces from day 1. Luckily for us, MotherDuck provides the whole stack: send your agent traces as [OpenTelemetry spans](https://motherduck.com/docs/key-tasks/ai-and-motherduck/load-opentelemetry-agent-traces/), store them in MotherDuck and inspect them as a Dive (see the [getting started guide on agent observability](https://motherduck.com/docs/getting-started/agent-observability/)).

Our watcher writes one row per thing that happened in a run to an `agent_traces` table: every model call with its tokens and cost, every tool call with its input and result, each check, and the outcome. A Dive on top of that table lets you pick a run, see its steps on a timeline, and open one to read what the model asked for and what came back.

![The agent observability Dive: runs, steps on a timeline, tokens and cost.](https://motherduck-com-web-prod.s3.us-east-1.amazonaws.com/assets/img/agent_observability_931885abae.png)

One run: 4 model steps, 8 tool calls, 10.7 seconds, 16,746 tokens in and 1,940 out, $0.0026. Then comes the loop for us humans: read a trace, change the prompt, a tool, a check or the model, deploy again, and compare the next trace.

An agent that edits things needs a record you can query. The trace tells you why it did what it did, what it cost, where it loops, and which prompts or tools to change.

## Going to the last level

If you look back at the four levels, each one answered something a production analytics agent needs: picking its next step and acting through tools (level 1), doing the whole job with pipelines, apps and storage (level 2), knowing what your business means (the guide), showing results where your users are (level 4, through a link), only seeing and touching what it should (secure views and your own MCP server), and leaving a trace you can check. Most demos stop at the first one: a model with a SQL tool. Production needs all of them.

Hopefully this blog helped you understand the different steps you can take toward more advanced analytics workflows.

One extra level would also be: how do we bring collaboration back? A lot of people are chatting with their agents, but we have less human brainstorming and interaction.

And what should humans still operate? Agents write the code, but a human still answers for the numbers: a clean data model, the definitions a model can't guess (how your company counts revenue), and keeping it all working.

I'll leave you there. Don't hesitate to try MotherDuck and deploy your first agentic loop :)