← Back to Technical blog

Technical article

The Agentic BI Divide: How Analysis and Operations Agents Work Together

An architectural view of analysis and operations agents through evidence chains, tool execution, shared state, and enterprise governance.

Aug 26, 2026Technical blogHENGSHI8 min read
Agentic BIAnalysis AgentOperations AgentMulti-Agent SystemsHENGSHI CLI

Article body

Full article

ChatBI lets a user access data through natural language. Agentic BI takes responsibility for a complete analytical task. A sales example makes the boundary clear. “What was East China’s revenue this month?” asks for conversational analysis. “Find the cause of the revenue decline, prepare a review, and send the priority account list to the sales team” requires planning, analysis, deliverable creation, and action. That task belongs to Agentic BI.

Analysis Agents Own the Evidence Chain

An analysis agent receives a business goal and builds a problem tree. A revenue decline might result from customer count, average order value, product mix, or refunds. The system reads metric definitions, calls query tools, compares results, and adjusts the next step based on intermediate evidence. It must retain the metric, filters, source data, and result for every step so that business users can review the conclusion.

The analysis agent also manages uncertainty. If data is missing, it should name the gap and offer a testable hypothesis. If metric definitions conflict, it should pause and ask for a decision. Enterprises need an explainable analytical process, not a confident paragraph with no evidence.

Operations Agents Connect Business Systems

An operations agent turns a conclusion into an executable task. It can create a dashboard, update a subscription, produce an account list, or call CRM, ticketing, and notification systems. Every action needs explicit parameters, permissions, and state feedback. The system must also handle timeouts, partial failure, and repeated calls without creating duplicate tasks.

High-risk actions need Dry Run. The agent first shows the target objects, impact, and expected outcome. It executes only after approval. The operations agent then returns the write result to the analysis agent, which can monitor subsequent metric changes.

Engineering Boundaries Between the Two Agent Types

DimensionChatBIAgentic BI
Technical roleNatural-language analytical entry pointPlannable and executable analytics-agent system
CoverageQuery and explanationModeling, querying, creation, delivery, and feedback
Core componentsLLM, semantic layer, query engineAgents, orchestrator, semantic layer, CLI or APIs
Data modelingPrepared in advanceCreated or modified within authorized boundaries
VisualizationReturns tables or chartsCreates complete analytical resources
Error handlingReports the error or asks againClassifies, corrects, retries, or hands off
Enterprise governanceQuery permissions and auditTool permissions, approval, idempotency, rollback, and audit

The supporting responsibilities should also remain explicit:

  • The analysis agent manages hypotheses, evidence, and conclusions.
  • The operations agent manages parameters, permissions, execution, and receipts.
  • The orchestrator manages dependencies, timeouts, retries, and human takeover.
  • The semantic layer supplies common metrics, dimensions, calendars, and business terms.
  • The CLI or API supplies stable and reviewable tool contracts.
  • The permission system decides what each principal can read and change.

HENGSHI CLI currently covers command domains such as data connections, datasets, semantic models, dashboards, permissions, exports, and data pipelines. These commands give each responsibility structured parameters and receipts. An agent can call the tool, and a reviewer can use the same command contract to inspect the target and impact.

Three Shared State Families

The agents need shared state to coordinate.

StateContentsTypical check
Business stateGoal, constraints, success criteria, deadlineDoes the task still serve the original objective?
Analytical stateHypotheses, metrics, filters, evidence, confidenceCan the conclusion be derived from query results?
Execution stateDry Run, approval, progress, errors, rollback pointsCan the write be retried without duplication?

Without business state, an agent can complete steps while missing the objective. Without analytical state, an action lacks evidence. Without execution state, retries can corrupt resources during a long task.

One Collaboration Sequence

Consider “analyze the East China revenue decline and notify the responsible sales owners”:

  1. The orchestrator divides the task into metric confirmation, attribution, account-list generation, and notification.
  2. The analysis agent reads the “revenue” definition and confirms time and region.
  3. Query tools return customer count, average order value, product mix, and refund data.
  4. The analysis agent builds an evidence chain and selects the accounts with the largest impact.
  5. The operations agent prepares the account list and notification parameters, then runs a Dry Run.
  6. After the user confirms the impact, the operations agent performs the write and returns resource IDs.
  7. The orchestrator records the receipt, and the analysis agent checks revenue and follow-up state in the next period.

Each step needs structured inputs and outputs. Natural language works for goals and explanations. Resource IDs, permissions, approvals, and error codes should use machine-verifiable fields.

Four Production Thresholds

Idempotency

Every write task needs a stable idempotency key or duplicate-detection mechanism. A network timeout only shows that the client did not receive a result. It does not authorize creating the resource again.

Least Privilege

Tool permissions should be bound to the current task. Permission to query a metric should not grant the right to modify a dataset or send external notifications.

Layered Failure Handling

Syntax errors, missing parameters, permission denials, and downstream timeouts require different responses. Automatic correction suits parameter and syntax problems. Permission and metric-definition conflicts belong with an authorized person.

Replayable Audit

Audit records should capture the plan version, metrics, tool parameters, approver, receipt, and final result. A team should be able to replay the decision process without re-executing high-risk actions.

Procurement Should Measure Task Completion

One successful demo question does not prove Agentic capability. A procurement test should use 10 to 20 real tasks and record completion rate, human interventions, recoverability, definition consistency, and audit completeness. A platform that only recommends actions remains an analysis assistant. A platform that delivers resources and actions within governed boundaries has the engineering foundation for Agentic BI.

Sources and Verification

HENGSHI SENSE

Resources, ecosystem, and implementation stories

Explore how teams design and ship analytics with HENGSHI.

Request a trial

Enterprise deployment, embedded delivery, and trial requests can all be handled quickly.