Build an initial agent
Scenario
In this exercise, you will:
- Create and name an agent
- Add description for what the agent should do
- Configure Generative AI answers
This exercise will take approximately 15 minutes to complete.
What you will learn
- How to create an agent using natural language
- How to configure Generative AI answers for an agent
High-level lab steps
- Create a new agent
- Tell your agent what its primary purpose is and how it should act
- Add Generative AI instructions
Prerequisites
- Must have completed Lab: Import Dataverse solution
Exercise 1 - Create agent
In this exercise, you will access the Microsoft Copilot Studio portal, the Developer environment and create a new agent.
Task 1.1 – Create an agent in the Bookings solution
-
In a new browser tab, navigate to
https://copilotstudio.microsoft.com. -
Make sure that you are in the appropriate environment.
-
Select Agents in the left navigation.
-
Select the arrow next to Create blank agent > Advanced create.
-
Update the Solution to Bookings
-
Enter
labagentfor Schema Name. -
Select Confirm and create.
Task 1.2 – Configure your agent
-
In the Details section, select Edit
-
In the Name text box, enter
Real Estate Booking Service -
In the Description text box, enter
Create bookings for real estate properties -
Select Save.
-
In the Instructions section, select Edit
-
Update the instructions to
Create an agent for topics relating to creating bookings for real estate propertiesand Save. -
In the right Test your agent pane, enter
How do I make a booking?and view the response.
Leave this window open.
Exercise 2 - Add Generative AI answers
In this exercise, you will access the Microsoft Copilot Studio portal and add knowledge that the agent will use to answer questions by using Generative AI.
Task 2.1 - Disable generative orchestration
-
Select Settings.
-
For Use generative AI orchestration for your agent’s responses? select No - Use classic orchestration, limiting responses to the content and behavior defined in your agent’s topics. This turns Orchestration off for the purpose of this lab.
-
Select Save.
-
Close out of the Settings window.
Task 2.2 – Add a knowledge source
-
Select the Knowledge tab.

-
Select + Add knowledge.
-
Select Public websites
-
In the Public website link text box, enter
https://word.cloud.microsoft/.
-
Select Add.
-
Select Add to agent.
-
Select the Overview tab.
-
Select the ellipses … menu at the top of the Test your agent pane.
-
Enable Track between topics.

-
At the top of the Test your agent pane, select the Start new test session icon.

-
In the Ask a question or describe what you need text box, enter
How do I boost real estate promotion?View your response.