d8a .tech

Resources / Blog

Ask AI: Chat Directly With Your Analytics Data

data tech team • #analytics#ai#llm#privacy#eu
Feature image

Dashboards answer the questions you predicted when you built them. The real questions show up later, and they are almost always ad-hoc: why did sessions spike on Monday, which campaign drove that, did the new landing page actually change anything.

Answering those usually means building another report, exporting a CSV, or pinging an analyst. d8a.tech now includes Ask AI: a chat that talks directly to your analytics data and produces insights without leaving the dashboard.

What Ask AI Can Do

Ask AI works a question the way an analyst would. You ask it in plain language, and the agent decides how to answer: which data to pull, how to aggregate it, and how to present the result. Answers come back as text, inline charts, and tables, directly in the chat.

Under the hood, it combines two kinds of access that analytics chatbots usually treat as either-or: the reporting API and raw read-only access to the underlying database tables. On top of that, it has access to the property settings, so it can investigate with the actual setup in mind: anonymization settings, the identifiers in use, and applied traffic filters. More on how that works below.

d8a.tech Ask AI panel in its empty state, with session context and database schema buttons

The Ask AI panel. The agent can read the current dashboard context, answer follow-up questions, compare segments, and render charts in the chat.

Preloaded With Your Dashboard Context

Every chat starts with the context of the dashboard you are currently viewing. The metadata forwarded to the AI engine includes the selected date range, the active metric, and any filters you have applied.

That makes deep dives immediate. You do not need to explain what you are looking at. Even a lazy prompt works: ask “any news?” and the agent already knows you are looking at users over the last 28 days, pulls the data, and summarizes what stands out.

Ask AI answering the prompt 'any news?' with a daily users chart and key takeaways

A two-word prompt is enough. The agent inherits the dashboard’s date range and metric, pulls the trend, and lists the takeaways.

The context is not a black box either: you can preview exactly what was forwarded to the agent at any time. And when the context changes because you edited the dashboard, a new session picks up the fresh state in one click.

How It Talks to the Data

Under the hood, the agent has two ways to reach your data:

The reporting API path covers most everyday questions:

Ask AI comparing sessions week over week with a chart and a day-by-day table

“Take the sessions metric for last week and compare it with the previous one.” One prompt, one chart, and a day-by-day breakdown.

The SQL path is what makes the agent genuinely useful for analysis. When a question crosses report boundaries, the agent queries the tables directly:

Ask AI building a custom funnel from an event parameter by inspecting the warehouse schema and running read-only SQL

A custom funnel built from an event parameter. No report covers this, so the agent inspects the schema, writes its own read-only SQL, and reports drop-off per step.

This works because of a decision we made long before the agent existed: the database schema is flat, documented, and designed to be queried by humans and BI tools. It turns out that what is easy for an analyst to query is also easy for an LLM to query. If your data model needs a tribal-knowledge decoder ring, no amount of prompt engineering will save the agent. Clean, documented data is what AI-ready actually means.

Built With Security First

Giving a language model direct access to run database queries is the part where most teams should get nervous. We designed for it from the start.

Our cloud is a multi-tenant environment, so isolation is strict:

This is especially important because the model runs queries directly. Tenant separation is not enforced by the prompt asking the model nicely. It is enforced below the model, at the access layer.

Which Model Answers: OpenRouter by Default

By default, Ask AI sends its requests through OpenRouter, a gateway that puts one API in front of many model providers. We pick the model that gives the best answers for the cost, and we can switch to a better one as models improve, without you changing anything.

Here is what that means for your data:

The full list of providers is in our privacy policy.

Enterprise: Skip OpenRouter, Plug In a Model Directly

The agent’s intelligence does not live in one specific model. The crucial part, the orchestration, the data access, the safety boundaries, lives in the d8a.tech core. The LLM API is a swappable component that the core manages.

On Enterprise, that means Ask AI can skip OpenRouter entirely and call one model directly:

With a direct EU model, every Ask AI request, including any logging by the provider, stays in the EU, and the provider keeps no prompts or answers and trains on nothing. Admins can switch Ask AI off for the whole organization in one place, or per property. Our DPA puts this in writing. Need a model we do not support yet? Tell us which one.

In our testing, any model scoring at least 40 on the Artificial Analysis Intelligence Index produces good quality insights. For reference Claude Sonnet max scores 51.7, Kimi K2.6 scores 54 and Fable 5 scores 64.9. All of them work well with our setup, which means you can trade off cost, speed, and provider preference without losing the feature.

What To Do Next

Ask AI is available now. Open any dashboard, start a chat, and ask the question you would normally turn into a report request.

Start with something you already half-know the answer to. Watching the agent pull the same numbers you would have pulled, faster, is the quickest way to build trust in the answers you did not predict.

If you are not on d8a.tech yet, start with a free cloud account. It takes a few minutes, and the database schema docs show exactly what the agent, and you, can query.

← Back to Blog

See d8a.tech on your own stack.

Talk to us about your architecture, terms, a partnership or sponsored development. Or start with free Cloud and evaluate it yourself.