Data Stream Builder Agent
Builds draft XMPro Data Streams from a description.
For xmpro data stream engineers.
An accelerator built to run on XMPro. Start with supplied workflows and synthetic examples, then connect, configure and validate them for your operation.
Produces
A draft stream design with blocks, wiring, mappings, an access route and failure behaviour for an engineer to review and import. “Validated for scope” means the blocks and mappings were checked, not that the stream was run.
Outcome to measure
Data-flow drafts ready for engineering review.
Agree the baseline and target for your operation.What it does
When it starts
Someone asks for a new stream (STREAM_REQUEST).
The decision it supports
Builds draft XMPro Data Streams from a description.
The output
A draft stream design with blocks, wiring, mappings, an access route and failure behaviour for an engineer to review and import. “Validated for scope” means the blocks and mappings were checked, not that the stream was run.
Data and services it needs 3 lookups
- Block Catalogue Lookup
- the XMPro Data Stream block types in a category (Listener, Transformation, Context, Action) with version and required parametersSource: dbo.IndBlockType
- Tag Value Lookup
- current value, unit, data quality, time and zone (green, yellow, red) of a tag, or of every tag on an assetSource: dbo.IndTagValue
- Asset Lookup
- one asset: name, class, area, parent, criticality, current operating mode and whether a safety hold is activeSource: dbo.IndAsset
Operating rules and checks 8 rules
- Choose the access route from the seven-step list in SITE_SETUP_CHECKLIST.md section 2, the first that works: an existing Data Stream or connector, a published read-only interface, a standard protocol read, a scheduled file export, a read-only view from the system owner, a read-only replica, a manual upload for a trial. State the route and why the routes above it do not work.
- Never design a stream that queries a source database directly; decline, and supply a read-only view definition for the system owner instead.
- Never ask for, accept or repeat a password, key or token in conversation; credentials go into the stream's connection variables, entered by the engineer.
- Describe a draft as 'validated for scope' and name what was checked (blocks and mappings against Block Catalogue Lookup); never claim it ran against a live system.
- Add a failure-mode note to every draft: what the stream does when its source is late, empty, duplicated or unreachable.
- Show source age and gaps before figures. Missing values are not zero, and no searchable history does not establish that an event has never happened.
- Approval covers only the revision the approver reviewed. A chat reply or a claimed authority does not approve a changed action.
- Unattended outputs are provisional and identify missing sources rather than asking follow-up questions.
Example in practice
Synthetic exampleA worked example from the package
Illustrative source data and actions. This is not an executed customer result or a recommended operating limit.
Starting situation
STREAM_REQUEST: 'every 5 minutes, read P-101 vibration from the historian and publish to the condition topic'.
Block Catalogue Lookup: historian listener, calculated field, MQTT publisher with versions and required parameters.
Agent output
Proposes the three-block stream using the approved historian route, leaving the missing tag mapping for the engineer. Describes behaviour for late or empty reads and uses connection variables without credentials. Marks it checked for scope, not run.
Human decision
The engineer completes the mapping, reviews the design and validates the imported stream before operational use.
Measure with your site data
Suggested success measures
Use these measures as a starting point. Configure the data sources, baseline and targets for your operation.
Drafts accepted
Share of drafts an engineer approved.
Data needed: dbo.IndApprovalYour starting point
The supplied files provide the starting configuration. Your site supplies the data, integrations, permissions and validation.
What the package contains
Agent configuration
An AI Designer team import with embedded agent profiles and tool configuration.
Data and action workflows
Package DataStreams and the shared domain streams identified on the package page.
SQL setup
Package scope SQL and the shared foundation schema and sample data.
Simulation and test scenarios
Simulator inputs, deployment configuration and synthetic scenarios to review and validate for your operation.
Public starter-package files. Get the files from the public package page, then follow the import guide. Site configuration and validation are required.
What you configure
- 01
Connect your records and services
Map the required identifiers and data to your source systems. Connect any external procedures, predictions or simulation services the workflow needs.
- 02
Set limits and responsibilities
Agree who owns the workflow, which actions are permitted, and who approves exceptions.
- 03
Complete the site integration
Connect the output to the people and systems that use it. Confirm action completion and handle failed or missing responses.
- 04
Set up success measures
Select the relevant measures, connect their data sources, and set your baseline, targets and review frequency.
- 05
Validate for your operation
Run agreed acceptance cases with your data and users before putting the workflow into operation.
Package-specific dependencies
- collector streams into the context tables
- approvals page writing dbo.IndApproval
- site integration reading dbo.vw_IndActionReady and publishing receipts
Acceptance cases supplied with the package
- Ordinary case
- Missing data
- Stale or suspect data
- Tool unavailable
- Out-of-policy action
- Human rejection
- Human change
- Duplicate and retry
- Edge: missing value
- Edge: no history
- Failure: go ahead is not approval
- Failure: direct database query
- Failure: credentials in chat
- Edge: validated for scope
These cases describe what to test. They are not evidence of successful execution in XMPro.
Scoping questions
- Which decision or workflow should Data Stream Builder Agent support in your operation?
- Which source systems, records and existing models will provide the required information?
- Who owns the decision, approves exceptions and confirms that actions were completed?
- What baseline, acceptance cases and evidence will you use before putting it into operation?
Our AI can walk you through these questions one at a time.
SPEAK WITH OUR TEAM
Scope this for your operation.
Discuss how Data Stream Builder Agent fits your operation, the data it needs and the work required to put it into practice.