8. AI-Powered Insights
TDengine IDMP embeds AI intelligence throughout the platform, making data speak for itself — the system transforms from a passive data repository into an active operational advisor. This chapter covers all AI-powered features: from proactively pushed visualization generation to anomaly detection, forecasting, root cause analysis, and natural language queries.
Two Modes of AI Intelligence
IDMP delivers AI insights in two complementary modes:
Push Mode. Such as Zero-Query Intelligence — this is the shift from Pull to Push. The system automatically senses the application context, proactively analyzes your data, and pushes findings to you without waiting for you to ask. When you open an element's Panels tab, AI-generated visualizations are already waiting. When you navigate to an element's Analyses tab, the AI has already suggested relevant analyses. This is the core idea of Zero-Query Intelligence: the system continuously works in the background, applying LLM reasoning over your asset hierarchy and time-series data to surface insights before you think to look for them.
Pull Mode. Such as AI Chat — you ask, the system answers. You can describe a panel or an analysis in plain language — "show me daily average voltage as a bar chart" or "calculate the hourly max current and alert when it exceeds normal" — and the AI builds it for you. The AI Chat interface also accepts free-form questions about your data — "what was the average current for em-1 last week?" — and returns answers grounded in your actual TDengine data. Root Cause Analysis runs on demand from an event detail page and produces a structured investigative report.
Together, these two AI intelligence modes dramatically lower the barrier to operational intelligence. Traditional BI tools require SQL skills, data structure familiarity, and visualization expertise — a steep learning curve. Zero-Query Intelligence fundamentally changes this: engineers who are not data scientists can build dashboards, configure analyses, detect anomalies, and investigate incidents without writing SQL or mastering complex tooling. We believe that advanced industrial analytics should not be limited to large enterprises with dedicated data analysts — small and medium-sized businesses should be able to use it too.
AI Components
IDMP's AI capabilities are built on two underlying engines:
Large Language Model (LLM). An external LLM (configured via an OpenAI-compatible connection) handles natural language understanding, visualization and analysis generation, insight narration, and root cause reasoning. IDMP ships with a built-in 15-day trial connection so you can explore AI features immediately without any setup.
TDgpt. TDengine's built-in time-series AI engine handles computationally intensive analytical tasks that operate directly on time-series data: anomaly detection through forecast(), anomaly_window(), and other functions, as well as forecasting and missing data imputation. TDgpt is a separate module that must be installed alongside IDMP — once installed, it works independently of the LLM connection and requires no external AI configuration.
On top of these two foundational engines, IDMP builds the Industrial Agent Runtime (IAR).
The Industrial Agent Runtime architecture, from the bottom up, consists of core modules including: LLM Integration, Agent Framework, Agent Capability Extensions, AI Applications, and Security & Governance.
At the base of IAR is open LLM configuration management. TDengine supports integration with all mainstream LLMs, supports both cloud-based and locally deployed private LLMs, supports configuring different LLMs for different tasks to achieve optimal model-to-task matching, and provides prompt management capabilities.
TDengine IAR is a fully-featured AI Agent runtime that includes an agent execution framework, a cognitive framework, and a capability extension framework:
-
Agent Execution Framework: IAR includes a built-in AI agent execution and observation framework, with comprehensive caller permission management — an agent's permissions are identical to the initiating user's system permissions. It supports agent work scope control with clear limits on the tasks and content an agent can execute, along with comprehensive risk management strategies including circuit breaking, rate limiting, and retry mechanisms. TDengine IAR supports the standard ACP protocol, meaning users can not only use TDengine's built-in agents but also bring in external agents at any time, building an open agent ecosystem.
-
Agent Cognitive Framework: Built on the execution and observation framework, IAR establishes a cognitive framework adapted to industrial scenarios, including Planning (intent recognition, task planning & orchestration, task routing), Reasoning (context awareness, inference, constraints), Memory (short-term memory, medium/long-term memory, summarization & retrieval), and Agent Loop (perceive, reason, act, feedback loop), enabling agents to execute complex tasks more intelligently with the support of LLMs.
-
Agent Extension Framework: TDengine IAR includes built-in capability extension modules such as Skills, Knowledge Management, and Tools, significantly enhancing agents' complex task execution capabilities and making agents more attuned to industrial scenarios.
On top of the IAR, TDengine provides dozens of system-level Skills, builds 13 out-of-the-box AI assistants, and supports users in customizing personalized agent assistants based on the agent capability extension framework. At the application layer, TDengine has built typical AI application scenarios around the most common industrial data analytics use cases, including Zero-Query Intelligence, AI Q&A, Panel Insights, and Root Cause Analysis.
Across all these components, TDengine has constructed a complete enterprise-grade AI security and governance framework covering four dimensions — controllable, trustworthy, auditable, and robust — along with context governance. In industrial scenarios, AI security is not an optional feature — it directly affects whether production lines can run, whether accidents can be avoided, and whether compliance audits can be passed.
What's Covered in This Chapter
- Connecting to LLM — Configuring the AI connection (LLM endpoint, models, authentication)
- AI-Generated Panels — Panels automatically generated and suggested by AI on the element Panels tab
- AI Panel Insights — Natural language summaries and interpretations generated for individual panels
- AI-Generated Analyses — Analyses automatically suggested and created by AI on the element RT analysis tab
- AI Composite Metrics — AI-suggested formula and composite attribute definitions
- Natural Language Queries — The AI Chat interface for querying your data in plain language
- Anomaly Detection — TDgpt-powered anomaly detection as an analysis trigger type
- Forecasting — TDgpt-powered time-series forecasting for element attributes
- Missing Data Imputation — TDgpt-powered gap filling for time-series data
- Root Cause Analysis — AI-generated root cause investigation reports for events
- AI Functions — A unified AI entry point across pages that runs analysis using the current page context
📄️ Connecting to LLM
Most AI features in IDMP — panel generation, analysis suggestions, AI Chat, root cause analysis — require a connection to an external Large Language Model (LLM). IDMP uses an OpenAI-compatible interface, so any LLM provider or self-hosted model that exposes an OpenAI-compatible API can be used.
📄️ AI-Generated Panels
Powered by Zero Query Intelligence, IDMP can automatically generate visualization panels for an element based on its attributes, template, and collected time-series data. These panels are ready to use with no manual configuration required.
📄️ AI Panel Insights
AI Panel Insights generates a natural language narrative for an individual panel — describing what the data shows, identifying notable patterns, and highlighting anomalies or trends that may warrant attention.
📄️ AI-Generated Analyses
IDMP can automatically suggest and configure real-time analyses for an element based on its template, attributes, and collected data. This lowers the barrier to RT analysis creation: instead of manually configuring trigger conditions, expressions, and output attributes, you can start from an AI-generated configuration and save it with a single click.
📄️ AI Composite Metrics
Composite Metrics is an AI-generated library of business KPIs for your asset hierarchy. Based on your element templates, collected data, and industry context, the AI produces a curated set of domain-relevant metrics for each asset group — complete with calculation formulas, TDengine SQL, business meaning, and industry aliases. This gives engineers a ready reference for what to measure and how to compute it, without requiring data science expertise.
📄️ Natural Language Queries
The AI Chat feature lets you query your operational data using plain language. Instead of writing TDengine SQL or navigating the asset hierarchy to find a value, you can ask questions like "what was the peak voltage for em-1 yesterday?" and receive an answer grounded in your actual data.
📄️ Anomaly Detection
Anomaly detection requires the TDgpt module to be installed alongside IDMP. It does not require an LLM connection.
📄️ Forecasting
Forecasting requires the TDgpt module to be installed alongside IDMP. It does not require an LLM connection.
📄️ Missing Data Imputation
Time-series data in industrial environments frequently has gaps — sensors go offline, network interruptions delay data delivery, or hardware faults cause temporary measurement loss. Missing data imputation fills these gaps with estimated values, ensuring that downstream analyses, averages, and KPI calculations are not skewed by missing readings.
📄️ Root Cause Analysis
Root Cause Analysis (RCA) is an AI-powered investigative feature that, given an event, automatically retrieves relevant historical data, forms hypotheses about the cause, tests those hypotheses, and produces a structured analysis report — all without manual intervention.
📄️ AI Functions
An AI Function is a unified AI entry point available across pages. It combines the context of the current page (elements, attributes, events, panels, RT analyses, and so on) with a piece of AI processing logic, giving a scenario-aware analysis result in one click. AI Functions can be seen as a generalization of AI Panel Insights: panel insights act on a single panel, whereas AI Functions can run on almost any page.
📄️ AI Agent IM Channels
AI Agent supports interaction through instant messaging tools. After configuring message channels, you can converse with AI Agent on Feishu (Lark), Telegram, or WeChat without always needing to open the IDMP Web interface. The system administrator configures the channels, then each user binds their IM account to their IDMP user account to establish a secure conversation channel.
