Skip to content

Conversations, Responses & Context

This page covers how Agent Q processes your messages and what happens during a response. It also explains how context from your current page is injected automatically and how Agent Q manages long conversations.

Starting a Conversation

Type your request in the message box at the bottom of the chat and press Enter to send it. Here are some examples of what you can ask:

Task Example Prompt
Explore data "What tables are in our sales database?"
Create quality checks "Add a not-null check on the email field in the customers table"
Investigate anomalies "Why did anomaly volume increase last week?"
Build transformations "Create a computed table aggregating daily revenue by region"
Validate queries "Check if this SQL is valid against our Snowflake warehouse"
Analyze quality "Show the quality score trends for the last 30 days"
Run operations "Run a profile scan on the orders container"
Sync a datastore "Sync the sales_db datastore" (you can also say "Catalog the sales_db datastore"; catalog is kept as a legacy alias for sync)
Promote assets "Promote the customer_lifetime_value computed table from sales_db to analytics_db"
Manage tags "Add the 'production' tag to the sales_db datastore"
Send notifications "Send a Slack message summarizing today's anomalies"
Create tickets "Open a Jira ticket for the null email anomalies"
Get quality scores "What are the quality scores across the 8 dimensions for sales_db?"

Note

Agent Q has a built-in topic guardrail. Requests unrelated to data quality, governance, or the Qualytics platform will be politely declined. Short follow-ups like "yes" or "that one" are recognized as continuations of an on-topic conversation and pass through automatically. See Agent Q Best Practices for more on the guardrail.

Smart Suggestions

When you open a new conversation, Agent Q generates 3 personalized prompt suggestions based on your data assets. The suggestions are not static. They are tailored to the containers in your workspace with the most active anomalies, so the prompts are immediately useful instead of generic.

Suggestions are designed around the 5 guided workflow tools: investigating anomalies, analyzing trends, interpreting quality scores, generating quality checks, and transforming datasets. These appear as Workflow steps in the response, and each suggestion is formatted with explicit container and datastore names so you can send it directly without editing.

Suggestions disappear once the conversation has messages, and reappear when you start a new session.

Understanding Responses

When Agent Q processes your request, you see its progress unfold in three phases:

  1. Thinking. Agent Q analyzes your message, decides which tools to call, and builds an execution plan. A "Thinking..." indicator appears while this happens.
  2. Tool execution. Each action it takes appears as an expandable step labeled with the operation name (for example, Quality Scores, List Quality Checks, Create Quality Check). Click any step to see the exact input parameters sent and the raw output returned.
  3. Response. The final answer is rendered in Markdown with tables, code blocks, and formatted text as appropriate.

You can continue the conversation to refine results, ask follow-up questions, or request additional actions.

Tool Step Labels

The step labels you see during a response correspond to specific platform operations. The table below covers the most common labels for exploration, quality checks, insights, and guided workflows:

Step Label What It Does
Search Queries across datastores, containers, and fields
List Quality Checks Retrieves existing checks on a container
List Check Specifications Fetches available rule types and their schemas
Create Quality Check Creates a new quality check rule
Update Quality Check Modifies an existing quality check
Quality Scores Retrieves 8-dimension quality scores
Get Insights Retrieves daily metrics time series
Operation Insights Retrieves historical operation data
Describe Anomaly Gets full details for a specific anomaly
Workflow Executes a guided multi-step workflow

Note

This is a partial list. Other operations appear as their own step labels named after the tool that was invoked, including:

  • Running operations (Sync/Profile/Scan/Materialize)
  • Promoting assets (computed tables/files/fields and quality checks)
  • Managing quality check templates and tags
  • Sending notifications and opening tickets
  • Anomaly bulk updates
  • Schedule management

Message Actions

Each message includes action buttons:

Action Description
Copy Copy the full response content to your clipboard.
Export as PDF Download the response as a formatted PDF (assistant messages only, not available while streaming).
Context View the injected context that was included with your message (user messages only, when context was present).

Context-Aware Conversations

Agent Q automatically detects the page you are on and injects the relevant asset context into the conversation. This means you can ask direct questions without repeating which datastore, container, or anomaly you mean.

Page You're On What Agent Q Receives Example You Can Ask
Datastore Datastore name + ID "What containers are in here?"
Container Container name + ID "Create a completeness check on the amount field"
Field Field name + ID "What quality checks exist for this field?"
Quality Check Rule type + ID "Why is this check failing?"
Anomaly Anomaly ID "Explain this anomaly and suggest a fix"

When you open the floating chat widget from a page, the injected context appears as a badge above the input box (icon plus a short asset label) before you send your message, so you can see exactly what Agent Q is working with.

Tip

Use the floating chat widget when investigating a specific anomaly or container. Open it from that page and Agent Q automatically knows which asset you are referring to without you having to name it.

Long Conversations & Memory

Agent Q automatically manages conversation length to keep the context window efficient without losing important history.

How Compression Works

Agent Q keeps your conversation lean so the model stays fast and within budget:

  1. Recent turns stay intact. The last 4 turns (user + assistant pairs) are always kept exactly as you wrote them.
  2. Older turns get a short recap. Before the conversation grows large, older turns are condensed into a compact summary (around 3,000 characters). Tool calls and tool outputs from those turns are dropped to save space.
  3. At around 10 messages, the recap becomes a smarter summary. Once the session reaches 10 messages, Agent Q replaces the short recap with a structured summary (also up to 3,000 characters) generated by the model. This summary stays with the session even if you come back days later.
  4. Big tool outputs get trimmed. In older rounds (anything before your last 2 messages), tool results are trimmed to 300 characters, so a large output like a full container list isn't re-sent on every turn.

Information from early in a long conversation is not lost. It stays available to Agent Q as part of the summary throughout the session.

Background Streaming

If you navigate away from the Agent Q page while a response is being generated, the stream continues in the background. The full response is waiting for you when you return to that session.

For other interface tips like stopping a response or pasting large content, see Chat Interface Tips.

Session Persistence

Every conversation is saved. When you resume a session, Agent Q restores the full message history and the conversation summary, so it picks up exactly where you left off, even across days or sessions.

For step-by-step instructions on resuming a session, see Resume a Conversation.

Example Conversations

Investigating a Data Quality Alert

You: We got an alert about anomalies in the transactions table. What's going on?

Agent Q: I found 3 anomalies from the last scan. The most significant is a "Not Null" check failure on the merchant_id field. 247 records have null values where this field is expected to be populated. This started appearing after the batch that loaded at 2:00 AM. The affected records all have source_system = 'legacy_import'. Would you like me to show you the specific check that's failing or help investigate the source of these null values?

Setting Up Quality Monitoring for a New Dataset

You: We just connected a new PostgreSQL database called "ecommerce_prod". Can you help me understand what's in there and set up some basic quality checks?

Agent Q: I found 12 tables in the ecommerce_prod datastore. The main ones appear to be customers, orders, order_items, products, and inventory. Would you like me to describe the schema for any of these in detail?

You: Yes, tell me about the orders table and suggest some quality checks.

Agent Q: The orders table has 15 fields including order_id, customer_id, order_date, ship_date, status, and total_amount. Based on the schema, I'd recommend these quality checks:

  • order_id should be unique
  • customer_id should not be null
  • total_amount should be positive
  • ship_date should be after order_date when both are present
  • status should be one of your valid status values

Want me to create these checks?

You: Yes, and also look at order_items. I think the same line shouldn't appear twice per order.

Agent Q: For order_items, the natural identifier is a pair like (order_id, line_item_id) rather than either column on its own. order_id repeats across line items in the same order, and line_item_id resets per order. I'll add a Unique check on both fields together so the combination is enforced as a composite key. Want me to apply it now?

Building Cross-System Analytics

You: I need to analyze customer lifetime value but our customer data is in Salesforce (synced to Snowflake) and our transaction data is in our PostgreSQL operational database. Can you help?

Agent Q: I can create a computed join that combines data from both sources. I'll join the customer table from your Snowflake datastore with the transactions table from PostgreSQL on customer_id. What fields do you need in the result? At minimum I'd suggest customer details, total transaction count, total spend, and first/last transaction dates.

You: That sounds right. Also filter out any test customers.

Agent Q: I've created a computed join called "customer_lifetime_value" that combines the data and excludes records where the customer email contains "test" or the customer_type is "internal". The join is now available as a container in Qualytics. Would you like me to set up quality checks on this new dataset or run a profile to understand the data distribution?