Lesson 4 of 4 Extending Copilot Studio Agents

Designing Agent Behaviours, Reasoning and Voice

This lesson explains how to shape agent behaviour, including deep reasoning and voice agents.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain how instructions and settings shape behaviour.
  • Describe deep reasoning and its constraints.
  • Compare basic and real-time voice agents.

Shaping behaviour

An agent's behaviour is shaped first by its instructions and settings. Instructions define the role, the steps to follow, the tone and what to do when uncertain. Settings control content moderation, whether ungrounded or web answers are allowed, and how responses are formatted for each channel. Behaviour design also covers how the agent opens a conversation, how it confirms actions, how it handles a request it cannot fulfil and how it ends. These decisions should be written in the design so that testing can check them, and they should differ by channel: a response suitable for a chat window is usually too long to be spoken.

Deep reasoning

Deep reasoning lets a Copilot Studio agent use a reasoning model for steps that need careful analysis, such as comparing complex contract clauses or working through a multi-condition eligibility rule. It is turned on in the agent's settings after generative orchestration is enabled. The agent can decide which steps need deep reasoning, or the maker can add the keyword reason to specific steps in the instructions. Each step that should use it needs the keyword, and using it on many steps slows responses. The activity map shows deep reasoning as a separate node, which helps with troubleshooting.

Deep reasoning is in preview at the time of writing. It uses the Azure OpenAI o3 model, is available only in the United States and the European Union (not the United Kingdom), makes no data residency commitment during the preview, and consumes Copilot Credits. A design should therefore reserve it for steps that genuinely need it, and avoid it where residency or production commitments apply.

Voice

Agents can talk to callers over telephone lines. Copilot Studio offers two kinds of voice agent. The following table compares them.

AspectBasic voice agentReal-time voice agent
OrchestrationTopics with classic orchestration and NLUGenerative orchestration
SpeechSpeech recognition and synthesis around text processingSpeech-to-speech real-time model with low latency
Interaction featuresDTMF keypad input, context variables, call transferBarge-in, dynamic language switching, DTMF fallback, context kept on escalation
SuitsStructured IVR menus and data captureNatural, conversational calls

A phone number is needed, which Azure Communication Services can provide, and voice agents integrate with Dynamics 365 Contact Center for routing and escalation. Voice design differs from chat design: responses must be short, lists should be avoided, numbers should be confirmed, sensitive data such as account numbers is often better captured with DTMF, and the agent must explicitly end calls.

Worked example

Designing behaviour for two channels

A travel company's Copilot Studio agent handles bookings in web chat and over the phone. In chat, it shows itinerary options as a list with links. Callers complain that the phone version reads long lists aloud and does not let them interrupt. The company also wants the agent to work through complex fare rules for multi-city trips. What should you recommend?

The phone channel should use a real-time voice agent, which supports barge-in, with instructions that limit spoken responses to two or three options at a time and confirm choices aloud. Channel-specific response formatting keeps the list with links for chat. For complex fare rules, deep reasoning could help, but it is a preview feature with regional limits, so the architect should check the company's region and residency requirements first. Alternatively, a prompt tool or an agent flow that evaluates the fare rules deterministically can provide the analysis.

Check yourself

How can a maker make sure a specific step in the instructions uses deep reasoning?

Show answer

Add the keyword reason to that step. Each step that should use it needs the keyword.

Exam Tips

Remember for the exam

  • Design behaviour per channel; spoken responses must be short.
  • Deep reasoning (preview) uses o3 in the US and EU only; trigger it with the reason keyword.
  • Basic voice agents use NLU and IVR features; real-time voice agents use speech-to-speech with barge-in.
  • Voice agents need a phone number, often from Azure Communication Services, and an explicit call end.