anfra docs

Agentic analytics

What is agentic analytics?

What is agentic analytics?

Agentic analytics is an operating model in which people delegate analytical work to AI agents while retaining judgment and control. An agent can clarify a business question, plan an investigation, gather relevant context, query governed data, explain its findings, and identify uncertainty.

This is broader than chat with your data or text-to-SQL. Those approaches focus on generating a query from a prompt. Real analytical work also requires business definitions, context, permissions, evaluation, and a reviewable reasoning path.

The 5 layers

A complete agentic analytics system needs five connected layers:

  1. Context layer — makes business and operational knowledge available when an analysis requires it, including definitions, goals, known data issues, and prior decisions.
  2. Semantic layer — defines governed metrics, dimensions, relationships, entities, and other business concepts, then translates requests into database queries.
  3. Evaluation system — tests whether agents select the right definitions, follow governance rules, execute valid queries, and support their conclusions.
  4. Learning system — turns feedback and repeated usage into better context, definitions, tests, and reusable analytical workflows.
  5. Consumption interfaces — give people and agents places to request, delegate, review, and continue analytical work.

anfra connects these layers through a code-native project and a stable interface. Its semantic layer is the foundation: it gives every agent and application the same governed language for querying business data.

An anfra semantic project uses four core building blocks:

  • Data models map warehouse tables or SQL queries into dimensions and measures.
  • Datasets combine related data models into governed, queryable views.
  • Metrics define named, reusable calculations such as revenue or active users.
  • Dimensions define how metrics can be grouped and filtered, such as by date, plan, or country.

On this page