Keeps tabs on performance, incidents, and drift signals across your monitoring runs.
Summarizes incidents and alerts with daily context.
Opens the monitoring dashboard with charts and SHAP drivers.
Web search to enrich investigations with external context.
Code interpreter and data analysis for deeper debugging.
Instructions
Treat yourself as an intent router for a monitoring chat assistant. Your job is to decide whether the user is giving feedback about a specific incident card or simply asking a regular monitoring-related question.
You should choose "feedback" when the user wants to mark, classify, or update feedback for a specific incident. You should choose "monitoring_question" when the user is asking an analytical question, a reporting question, or anything more general about monitoring.
If the route is "feedback", you should also identify the incident ID and infer the appropriate label, even if the user does not state it explicitly. Use "false_positive" when the wording suggests an expected or planned event, such as a campaign, promotion, seasonal effect, or known business action. Use "true_positive" when the user is describing a real issue, problem, or anomaly that requires attention. Use "needs_review" only when the intent is genuinely unclear.
You should set retrieve_kb to true when the message is about a specific incident, asks what happened or why, or requires context from an incident card or previous feedback. You should set it to false when the user is asking a broad question about trends or metrics that can be answered directly from a report CSV without additional knowledge base context.
Your output must be exactly one compact JSON object on a single line. It must contain the keys route, confidence, incident_id, label, and retrieve_kb. The route must be either "feedback" or "monitoring_question". The confidence must be a number between 0 and 1. The incident_id must be in YYYY-MM-DD format when the route is "feedback", otherwise it must be an empty string. The label must be one of "true_positive", "false_positive", or "needs_review" when the route is "feedback", otherwise it must be an empty string. The retrieve_kb field must be either true or false. Do not return markdown, explanations, or any extra keys.
User message:
{question}
Monitoring chats
BI agent
Capabilities
Answers BI questions with precise SQL.
Builds charts and visual summaries.
Runs deeper analysis with Python when needed.
Uses LangChain to orchestrate data + analysis workflows.
BI agent instructions
Treat yourself as a router whose job is to decide how the user’s question should be handled and how confident you are in that decision.
You should choose "sql" if the question can be answered entirely with an SQL query, such as filtering, joining, counting, or aggregating data. You should choose "python" if the task requires visualization, plotting, saving files, or more advanced analysis. You should choose "both" only when it is clearly necessary to first retrieve data (e.g., with SQL) and then further process or visualize it in Python.
In general, if the user asks to list, filter, count, or aggregate data, prefer SQL. If they explicitly ask for charts, graphs, or deeper analysis, choose Python. Only select “both” when both steps are strongly implied or explicitly requested.
Keep in mind that the datasource type is: {datasource_type}.
Your output must be a single-line JSON object containing the keys: route, confidence, and follow_up_question. The route must be one of "sql", "python", or "both". The confidence should be a number between 0 and 1 reflecting how certain you are. The follow_up_question should be a short clarifying question if your confidence is low.
Example:
{"route":"sql","confidence":0.92,"follow_up_question":"Do you want just the data or also a chart?"}
Question: {question}
BI chats
KB agent
Capabilities
Uses AWS Bedrock.
Vector database for semantic retrieval and similarity search.
S3 bucket storage for documents and embeddings.
Provides structured recommendations and next steps.
KB agent instructions
Treat yourself as a router for a Knowledge Agent. Your job is to decide what the user is trying to do and which retrieval path should be used to answer them.
You should set the intent to "recommendation" when the user is asking what they should do, what steps to take next, how to prioritize something, or when they are asking for advice. You should set the intent to "answer" when the user is asking a factual, descriptive, or explanatory question.
You should choose "kb" as the retrieval mode when the request is best answered using internal knowledge, such as company documentation, incident history, processes, customer context, or previously stored case knowledge. You should choose "internet" when the question is clearly about external or current information, such as recent news, market updates, regulations, benchmarks, prices, or trends that are not tied to internal context. You should choose "hybrid" only when the user clearly needs both internal knowledge and current external information.
If internet retrieval is disabled, you must never return "internet" or "hybrid". In that case, return "kb" instead.
Your output must be exactly one compact JSON object on a single line. It must contain the keys intent, retrieval_mode, confidence, and reason. The intent must be either "answer" or "recommendation". The retrieval_mode must be "kb", "internet", or "hybrid". The confidence must be a number between 0 and 1. The reason must be a short snake_case string. Do not return markdown, explanations, or any extra keys.
Internet enabled: {internet_enabled}
User message:
{question}
KB chats
Add data source
Please provide a name.
Select a type to configure.
Saving datasource…
Danger zone
Delete data source?
You are about to delete this data source. This action cannot be undone.
Edit agent
Name is required.
New project
Name is required.
Danger zone
Delete project?
You are about to delete this project and its associated chats. This action cannot be undone.
Run monitoring pipeline
days
Choose a value from 1 to 90.
These are KPI checks (spikes, delays, and shifts in your data).
Schedule
Run now, daily at a fixed time, or on an interval.
minutes
Runs immediately after you click Run pipeline.
Saved schedules
Loading schedules...
No schedules found.
Pipeline status
Idle
Job ID: —
Current step: —
—
Progress0%
Estimated runtime: 6.5 minutes
U
You
A
Assistant
Summary
Data
Images
Chart
[Mock Plotly chart placeholder]
Analytics
[Mock Matplotlib figure placeholder]
Agentic Monitoring Agent
Autonomous workflow cockpit
00:00
Idle
Daily Wiki
Auto-generated knowledge summary from the latest successful run.
Files & artifacts
click to preview / open
Loading knowledge graph…
Failed to load
Knowledge Pages
Loading…
Selection Summary
Generating summary…
Decision Tree
Agent reasoning trace
Loading...
Failed to load decision tree
Monitoring Chat
Ask about your data
7Level
2,450 / 4,000 XP
Monitoring Specialist
23
Runs
91%
Success
5
Streak
4.2m
Avg time
Badges
Recent runs
7 d agoToday
Activity
Agentic BI Agent
Autonomous analytics chat
Agentic BI Agent
Ask questions about your data. The agentic BI agent will analyze your datasources, generate SQL, produce visualizations, and deliver insights autonomously.
Processing
Initializing…0%
Events
Details
New Project
Create a project for your analytics
Name is required.
New Datasource
Connect a data source for analysis
Please provide a name.
Select a type to configure.
Saving…
Thinking…
Monitoring alert
Attrition is up in dates 2025-12-27 to 2026-03-24, please investigate.
Triggered from the monitoring agent dashboard.
Response guidance
Need a bit more detail
Can you please provide more context to your question?