Case study
- Organisation
- Burda Luxury, Asia Pacific
In-house AI-enabled Analytics Agent
In-house conversational analytics agent combining governed semantic querying, tool orchestration and production analytical workflows.
What changed
Natural-language analytics moved onto governed semantic APIs rather than bypassing the metric layer.
Context
Leaders and operators across 8 brands and 5 APAC markets needed answers faster than a ticket-driven analytics queue could provide, without giving up the governance that makes numbers trustworthy.
The organisation already had a governed semantic layer. The opportunity was to put a conversational interface on top of it rather than beside it.
Challenge
Most conversational-analytics attempts fail on trust: free-form SQL generation drifts from governed definitions, answers are hard to validate, and failures are silent.
The agent had to answer in production, on governed metrics, with visible validation, sensible retries and responses that stream rather than stall.
My Role
I lead the programme as part of the in-house production analytics platform, setting the product direction, the governance boundaries the agent must respect and the engineering priorities of the cross-functional team delivering it.
Approach
- Anchor every answer on governed Cube semantic APIs so the agent queries defined measures and dimensions rather than raw tables.
- Give the agent semantic-catalog inspection so it can discover what is measurable before it attempts a query.
- Model the workflow as tool orchestration: catalog inspection, governed query execution, chart generation and dashboard-artefact generation.
- Validate outputs and handle retries before anything reaches the user.
- Stream responses so users see progress and partial results instead of waiting for a single final payload.
Architecture / Analytics Design
The agent is orchestrated with LangGraph and LangChain, with LiteLLM providing model routing across providers. Tool orchestration connects the orchestration layer to governed Cube semantic APIs, chart generation and dashboard artefacts. Validation and retry handling wrap query execution, and responses stream back to the interface.
The design deliberately keeps business logic in the semantic layer, not in prompts, so that definitions stay governed and auditable.
Business Impact
The agent is a production conversational analytics capability that lets teams interrogate governed metrics, generate charts and produce dashboard artefacts within business workflows, reducing dependence on ad hoc analyst requests.
Technology
- LangGraph
- LangChain
- LiteLLM (model routing)
- Cube semantic APIs
- Semantic-catalog inspection and tool orchestration
- Validation and retry handling
- Streaming responses
Key Lessons
- Governed semantics are the prerequisite for trustworthy AI analytics; a great model on ungoverned data still produces ungoverned answers.
- Validation and retries are product features, not implementation details.
- Streaming changes how people perceive latency and how willing they are to iterate.
Related work
- Burda Luxury, Asia Pacific
Semantic-Layer Governance
A governed measurement layer separating business definitions from individual dashboards and analyses.
View project - Burda Luxury, Asia Pacific
APAC Unified Commerce Analytics Platform
Governed commerce analytics across 8 brands and 5 APAC markets, built on 22+ source-specific transformation layers.
Read case study - Burda Luxury
LLM-assisted Reporting Automation
AI-enabled reporting workflows with human validation, cutting recurring reporting effort by approximately 30%.
View project