AWS Training
Modules Listen Certification
0:00 0:00

← The Quick Suite AI Layer

Starts this lesson and continues through 13 more to the end of the course.

Quick chat and chat agents

Why this matters

Chat is the front door of the whole suite now — the docs describe it as the way to "ask questions, interact with your Quick resources, and accomplish tasks using multiple agentic worflows using natural language" (typo verbatim, Using Quick chat, verified 2026-08-26). When your boss asks "can our people just ask the data a question," this lesson is the answer, including the parts marketing leaves out: what it's scoped to, what it costs to trust, and where the knobs are.

The chat surface

From the same page (verified 2026-08-26):

That Generated-SQL explanation panel is the single most useful thing to teach analysts: the model's answer is auditable down to the query.

System agent vs custom agents

Working with agents (verified 2026-08-26) defines exactly two kinds:

System chat agent ("My assistant") Custom chat agents
Availability "automatically available to all users by default" shared explicitly, private until shared
Character "an unopinionated chat agent by design", "a base planner with no inherent data or actions of its own" persona, knowledge, and actions you choose
Data reach spaces/topics/dashboards/KBs/actions based on user permissions can be "Preconfigured with resources" (answers only from its configured sources) or left open

The system agent has "all chat capabilities, including file upload functionality, LLM knowledge access, toxicity and other guardrails, web search" (default-assistant, verified 2026-08-26).

Building a custom agent

Console path: Chat agents → Create chat agent (custom-agents, verified 2026-08-26). Two authoring flows: describe it in natural language and Generate, or the builder view. Builder sections, exact console terms:

Reference documents vs spaces — the design decision

Agent knowledge best practices (verified 2026-08-26) draws the line:

Rule of thumb the docs support: policy the agent must always follow → reference document. Library the agent should search → space. The quota table also caps resources per chat agent at 20 (not adjustable).

Embedding and the API

Agents embed in external sites: admin allowlists the domain under Manage account → Security → Manage domains, then the owner uses Share → Share via embed (custom-agents, verified 2026-08-26). AWS announced embedded chat "either through 1-click embedding or through API-based iframes for registered users" (What's New, 2025-11-24, verified 2026-08-26).

Agents are API objects — in the QuickSight API, of course:

aws quicksight create-agent | update-agent | describe-agent | list-agents |
    search-agents | delete-agent |
    describe-agent-permissions | update-agent-permissions

CreateAgent (verified 2026-08-26) is POST /accounts/{AwsAccountId}/agents — described as "Creates an agent in Amazon QuickSight", one word, in 2026 — and its shape confirms the console limits: ActionConnectors max 10, Spaces max 10, StarterPrompts max 3, plus CustomPromptInput, WelcomeMessage, and AgentLifecycle (PREVIEW | PUBLISHED).

⚠️ There is no conversation API. The API reference has agent CRUD, embedding URL generation (GenerateEmbedUrlForRegisteredUser[WithIdentity], GenerateEmbedUrlForAnonymousUser) and Q&A config ops — but nothing that sends a chat message. If someone wants programmatic chat, the supported route today is embedding, not a REST call. Chat content logging is also not in CloudTrail — it's CloudWatch vended logs (lesson 6).

Check yourself

  1. An analyst asks "why does chat cite our wiki for a revenue number?" What setting do you look at?
  2. When do you put a document in an agent's reference documents rather than in a linked space?
  3. A custom agent needs 12 action connectors. What stops you, and where is that documented?
  4. Compliance asks whether users can chat with data they aren't permitted to see through the system agent. Answer?
  5. A developer asks for "the SendChatMessage API." What do you tell them?
  6. How does an analyst verify a numeric claim chat just made about a dataset?
Answers
  1. The data-scoping mode. "All data and apps" includes knowledge bases and LLM knowledge; switch to "Specific data and apps" and pin the dataset or topic if answers must come from governed data.
  2. When it's short, mandatory context — instructions the agent must always apply. Reference documents stay in the agent's context permanently (10 files / 50 MB / 100K chars); spaces are searched at question time.
  3. The API caps ActionConnectors at 10 per agent (CreateAgent request shape), and the quota table caps resources per chat agent at 20, not adjustable.
  4. No — the system agent reaches spaces, topics, dashboards, KBs, and actions "based on user permissions." The caveat worth adding: files uploaded into a shared space are readable by everyone with the space (lesson 2's exception).
  5. It doesn't exist. Agent management is API-scriptable; conversations are not. Offer embedded chat (1-click or API-based iframe for registered users) instead.
  6. Open Explanations on the response — for dataset answers it shows the generated SQL that produced each numerical claim, plus sources and assumptions.

Teaching this section

← PreviousSpaces, knowledge bases, and the Quick IndexNext →Topics, dashboard Q&A, and natural-language BI