Build and publish a grounded service agent
Choose the boundaries between conversation, knowledge, an authenticated tool and a published channel.
Build and publish a grounded service agent
Work through the decision
A support agent must explain return policies and look up a customer’s current refund. Should both answers come from the handbook?
Check your reasoning
Use an approved knowledge source for the policy. For an individual refund, collect the reference through a topic and call a scoped tool that checks the caller’s access. Build an agent flow for a repeatable workflow or connect an appropriate MCP server for its advertised tools. Publish and test in the intended channel as a real user.
Compare the choices
- Knowledge source
- Ground answers in approved, accessible documents or sites. Inspect freshness, access and citations.
- Topic
- Define a conversation path with questions, variables and branches for a particular intent.
- Agent flow
- Encapsulate an action sequence with explicit inputs and outputs for an agent to invoke.
- MCP server
- Expose compatible tools through a standard Model Context Protocol interface. Configure authentication and authorize the operations an agent can invoke.
- Channel publication
- Publish the current agent and configure how users reach it, such as Teams or a website. Verify the channel’s identity and access behavior.
- Human handoff
- Escalate cases that need human judgment or unresolved claims with an appropriate case reference and consent.
Test the decision
“Can I return this item?” may need a policy citation. “Has refund R7 been issued?” needs current business state and authorization. A refund action changes state and may require confirmation. Test each intent in the deployed channel with a permitted account and a denied account.
Inspect an MCP tool connection at 44:43
Practice the guide skills
- Decide whether an agent should answer a question, invoke an authorized operation or hand off to a person. Watch 42:53
- Draw a topic with an initial question, collected variable and branch for a missing reference. Watch 43:02
- Choose approved knowledge sources and test that citations and user permissions are respected. Watch 43:28
- Compare an agent flow with a tool exposed through an MCP server. Identify inputs, outputs and the authority needed for each. Watch 44:26
- Publish a tested agent to its intended channel and verify it as a user with realistic permissions. Watch 45:38
Official objectives for this lesson
Related lesson · Publish a knowledge article for the intended readers
Build and publish a grounded service agent quiz
Answer 3 questions. Check each answer for an explanation.