Think first In a CX Agent Studio app, when should an agent steer the conversation itself, and when should it hand off to a deterministic flow?
Why it matters: Questions describe a conversation design and ask how to split work among agents, flows, transfer rules, callbacks and instructions.
LLM-driven agents steer the conversation and route between agents and flows. Flows run strict, step-by-step business logic as sealed black boxes. Instructions and model settings shape how each agent behaves.
Reported, thanks
Step 2 of 11
Term
Meaning
Steering agent
A CX Agent Studio agent that routes the conversation between other agents and flows.
Flow-based agent
An agent that hands the conversation to a Dialogflow CX flow until the flow reaches END_SESSION.
Transfer rule
A rule on an agent that moves the conversation to a target agent, such as from parent to child.
Callback
A step the agent runs at set points, such as before a model call; a list of callbacks runs in order.
Global instruction
An app-level instruction that applies to every agent and can set one stable identity or personality.
Reported, thanks
Step 3 of 11
CX Agent Studio agents act as the steering layer. The root agent is the entry point of the app. Steering agents then route between other agents and flows. Their LLMs, not flows, should decide what the user wants.
Exam trap Do not build intent classification and detection into a flow. Use LLMs for that job instead.
Reported, thanks
Step 4 of 11
Flows fit highly deterministic business logic. Pick a flow for strict logic that callbacks cannot handle, such as collecting and validating data in a fixed sequence. The agent treats the flow as a black box. It passes everything the flow needs through explicit input parameters.
Reported, thanks
Step 5 of 11
A flow-based agent keeps control until the flow reaches END_SESSION. At that point, the conversation returns to the agent that started the hand-off. User input reaches the flow through the DetectIntent API method. When you import a flow-based agent, the flow environment defaults to draft.
Exam trap Do not assume the agent application can call a flow out of the box. It needs you to give the Customer Engagement Suite Service Agent the Dialogflow API Client role.
Reported, thanks
Step 6 of 11
Variable mappings carry data across the flow hand-off. Input mapping turns agent variables into flow session parameters, and output mapping does the reverse. By default, every parameter a flow gathers moves to session scope, so later flows can read it.
Input and output variable mapping compared
Feature
Input mapping
Output mapping
Direction
Agent application to flow
Flow to agent application
Arrives as
Session parameters in the flow
Variables in the agent application
Reported, thanks
Step 7 of 11
Transfer rules move the conversation between parent and child agents. A deterministic rule transfers to the target agent at once when its condition is met. That condition can be a Python code block, and the transfer happens when it evaluates to true.
The two transfer directions compared
Feature
PARENT_TO_CHILD
CHILD_TO_PARENT
Moves from
Parent agent
Child agent
Moves to
Child agent
Parent agent
Exam trap Matching rules do not all fire. When several transfer rules match, only the first rule in the list is used.
Reported, thanks
Step 8 of 11
Callbacks run one at a time, in list order. If a callback returns an overridden response, the remaining callbacks are skipped. A callback marked disabled is ignored by the agent.
Exam trap Before-model callbacks do not run just once per turn. They run before every model call, so they can run several times.
Reported, thanks
Step 9 of 11
An agent's instruction field guides how its LLM behaves. A global instruction covers every agent in the app, which keeps one identity or personality. For a built-in system tool, the instructions should say when to use it and supply its arguments.
Exam trap You cannot edit a system tool. You shape how the agent uses it through instructions and tool arguments.
Reported, thanks
Step 10 of 11
App model settings are defaults that agents can override. An agent with no model set inherits the model of its parent agent. A lower temperature makes answers more predictable, while a higher one makes them more creative.
Reported, thanks
Step 11 of 11
Agents steer and route; flows run strict, deterministic logic as black boxes.
A flow-based agent keeps the conversation until END_SESSION, then hands it back.
When several transfer rules match, only the first one in the list is used.
A global instruction gives every agent in the app one stable identity or personality.
Think first How would you let an agent query enterprise systems safely and also search images, audio or text by meaning?
Why it matters: Questions describe an enterprise data need and ask which connector, identity, search or endpoint option fits it.
Agents reach structured business data through connector tools that run actions on a connection, under their own identity. Unstructured data such as text and images becomes embeddings that Vector Search compares by meaning.
Reported, thanks
Step 2 of 11
Term
Meaning
Connector tool
An agent tool made of one Integration Connectors connection plus one or more actions.
Agent Identity
A unique SPIFFE-formatted ID that gets its own IAM permissions instead of a shared service account.
Hybrid search
Vector Search that mixes dense and sparse embeddings, using a weight you set for each type.
Restrict
A Vector Search feature, also called filtering, that limits a search to part of the index with Boolean rules.
Endpoint
Where a Vector Search index is deployed: a public endpoint or a private one inside a VPC.
Reported, thanks
Step 3 of 11
A connector tool pairs one connection with one or more actions. In CX Agent Studio, the connection comes from Integration Connectors. Each connection exposes entities that match the objects of the connected system. For BigQuery an entity is a table; for Salesforce it is an object such as Order or Case.
Reported, thanks
Step 4 of 11
Many connectors offer the ExecuteCustomQuery action for SQL queries. This action lets the agent run SQL directly against the connected system. To keep responses small, choose a set of output fields on the tool. A smaller response only carries the fields the agent needs.
Exam trap Returning every field is a poor choice when token limits are a concern. Picking output fields shrinks the tool response and exposes only relevant fields.
Reported, thanks
Step 5 of 11
Give each agent its own Agent Identity, not a shared service account. Administrators grant that identity specific IAM permissions, such as on a BigQuery dataset. Agent Identity Auth Manager handles OAuth and refresh tokens, so developers never manage those credentials. If a connection allows authentication override, a connector tool can pass credentials from session parameters.
Exam trap A shared service account is the option Agent Identity replaces. Agent Identity gives one agent its own granular permissions in IAM.
Reported, thanks
Step 6 of 11
Excluded domains always win over other domain settings. This applies in the CX Agent Studio Google Search tool. An excluded domain stays out even if it is also a preferred domain or a URL for context. When a citation sets requires_attribution to true, your client app must show attribution and link to the cited URI.
Domain settings in the Google Search tool
Feature
Excluded domains
Preferred domains
What it does
Removes the domain from results
Restricts results to the listed domains
Precedence
Highest; beats preferred domains and URLs for context
Overridden by an exclusion
Limit
Not stated
At most 20 domains
Exam trap Listing a domain as preferred does not bring back a domain that is also excluded. Exclusion has the highest precedence.
Reported, thanks
Step 7 of 11
The Agent Search ranking API reorders documents by relevance. It scores each document against a query with a pre-trained language model. Use it when you already have candidate documents and need them in precise relevance order.
Reported, thanks
Step 8 of 11
Clean and preprocess data before you generate embeddings. The data must be in a format the embedding model can use. Embeddings are not limited to text, and Vector Search can compare text and image data together. Next, pick a ready-to-use model or a custom one.
Ready-to-use and custom embedding models compared
Feature
Ready-to-use model
Custom model
Best fit
Standard semantic matching of text to text or text to images
Matching that needs a model tuned on your data
Training
None; no training or tuning needed
Must be trained on your data, which can take a long time
Typical choice
Text embeddings, from dense embedding models
Tuned model; a pretrained Model Garden model skips training
Exam trap A ready-to-use model does not need training for standard text or image matching. Only a custom model must be trained on your data.
Reported, thanks
Step 9 of 11
Vector Search supports dense, sparse and hybrid search. Hybrid search blends dense and sparse embeddings by the weight you give each type. To search only part of the index, use Restrict, which applies Boolean rules and is also called filtering.
Reported, thanks
Step 10 of 11
Pick the endpoint type before you create the index. A public endpoint needs no network setup, but its latency is slightly higher. A private endpoint in a VPC requires network setup first and supports two private network types.
Vector Search endpoint options compared
Feature
Public endpoint
VPC Network Peering
Private Service Connect
Network setup
None needed
Required first
Required first
Main benefit
Faster to set up and easier to maintain
Reduced network latency
Private use across VPCs of other teams, projects or organizations
Exam trap A public endpoint is not the low-latency choice. It is simpler to run, but private networks have slightly lower latency.
Reported, thanks
Step 11 of 11
A connector tool is one connection plus one or more actions; entities map to tables or objects.
Agent Identity replaces shared service accounts with granular IAM permissions for each agent.
In the Google Search tool, excluded domains beat preferred domains, which are capped at 20.
Ready-to-use embedding models need no training; custom models must be trained on your data.
Choose a public or private Vector Search endpoint before creating the index.
Each topic's Check tested it on its own; this mixes them.
Mixed quiz
Take the Domain 1 quiz
8 questions mixed from every topic in this domain, each answer explained. Mixing topics is harder than one at a time, and it is what the exam does. No account needed; with a free account your answers also build your estimated exam score.
Free to start: the study notes and plan, quizzes, flashcards and the first mock exam, no card needed. A free account keeps your place and saves your quiz scores.