New Tool Radar

AI Agents & Automation

How to Build Your First Agent in Copilot Studio

Create a first agent in Copilot Studio with a name, instructions and a test before publishing.

Schematic with three steps: Create the agent and write its instructions; Add one knowledge source; Test in the preview, then publish.

Copilot Studio builds agents on the web: you create an agent, give it a name and instructions, add knowledge, test it in the preview, then publish it and add a channel. The instructions are the whole job description: the goal, what is in and out of scope, the tone, when to use knowledge or take action, and when to stop or ask for input. Start narrow, with one audience and one approved knowledge set, and test with real questions before anyone else sees it.

What you need

  • A work account that can sign in to Copilot Studio
  • A Power Platform environment you are allowed to create an agent in
  • One narrow job for the agent, written in one sentence

Step 1: Create the agent and write its instructions

Open Copilot Studio, create a new agent, and give it a specific name and plain instructions: its job, its sources, its refusal behaviour and when to hand off to a person. Pick the name before the first save, because it becomes the schema name.

Step 2: Add one knowledge source

Add a single maintained knowledge source, such as a SharePoint site or a small set of current policy pages. Start with one source, not the whole intranet, and remove superseded copies first.

Step 3: Test in the preview, then publish

Test the agent on the preview tab with the real questions your audience asks, fix the instructions from what it gets wrong, then publish and add a channel. A trial can create and test agents but cannot publish them.

Worked example: synthetic first agent test

The table below is a synthetic example. It shows the expected result of a first Copilot Studio agent; no agent was created.

Check Expected Result
Agent answers from knowledge Yes Pass
Out-of-scope question refused Yes Pass
Handoff offered where needed Yes Pass

Expected result (UNTESTED). the agent answers from its knowledge source, refuses out-of-scope questions, and offers a handoff where needed. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • A trial can create and test agents but cannot publish them, so plan the publishing step on a licensed environment.
  • Check the selected environment before creating anything, and confirm your tenant policies allow the knowledge sources you plan to use.
  • An agent without an owner becomes an old intranet page that can talk, so name the owner before publishing.

Sources

See all