In this guide we build a complete agent in the new Copilot Studio from scratch: An HR agent that answers questions from an employee handbook and drafts leave requests as finished emails. We give it instructions, knowledge and a skill, test it in Preview, and publish it to Teams, with no topics and no dialogue trees.
The case is the agent type I get asked about most often in my training sessions: An internal handbook agent. The company here is called Nordfalk and is fictional, but the handbook is real enough, 25 pages of policy covering vacation, sick days, parental leave and a leave request procedure with eight required fields. The whole build is also recorded as a video, so you can follow every click.
Before you click: Two things from the first articles
The harness choice is hard to undo: An agent built on the Microsoft Copilot harness cannot be moved to standard, and a standard agent can only be copied the other way (preview). What a harness is, and what else is new, is covered in The new Copilot Studio explained. You also pay while you build: Every test chat costs credits before the agent is published. The rates, purchase options and a calculator are in the pricing guide.
If you are on board with both, we click the Agent card on the home page.
Step 1: Name, icon and instructions
The first things the agent needs are a name and an icon. The icon feels like a detail, but it is what your colleagues see in Teams later, so spend ten seconds on it.
Then the most important field in the whole build: Instructions. Microsoft's own placeholder example in the field describes role, scope, tone, and when the agent should ask questions. Our HR agent got these instructions:
- You are the HR assistant for Nordfalk employees.
- Answer only from the employee handbook, and name the chapter your answer comes from.
- Be brief and friendly.
- If the handbook doesn't cover it, say so, and point to the right contact from chapter 16.
- Never guess.
Two of the lines do the heavy lifting. "Name the chapter" makes every answer verifiable: The agent has to state where its answer comes from. And "Never guess" is the difference between a useful HR agent and a dangerous one, as test 2 shows.
Step 2: Pick the model
The right-hand panel has a model picker, a feature classic Copilot Studio never had. You can choose from GPT models and the Claude family. Claude Opus 5 is the default at the time of writing. Remember the distinction from the first article: The model is the brain, and the harness is everything around it. You can change the model later, but you cannot switch the harness.
Pick one and move on. The models sit in different price tiers, which the pricing guide covers.
Step 3: Knowledge, and the default you need to turn off
Right now the agent knows nothing about Nordfalk. Under Knowledge we upload the handbook as a single PDF, and while it indexes, here comes the most important single click of this guide.
Under Knowledge it says "Search all websites". It is on by default on a new agent, and it means: When the handbook does not have the answer, the agent searches the web. For an HR agent that is a source of errors: It should answer from our policy, and the web is full of other companies' vacation rules. Click the X and remove it. It is the one default I change on almost every agent I build.
Step 4: Build a skill
In the new Copilot Studio, you build skills in place of the classic topics and dialogue trees. A skill has three parts: A name, a description of when to use it, and instructions in plain language. The agent figures out the rest.
Our agent needs to draft the leave request described in chapter 8 of the handbook. The request has eight required fields, which employees often fill in incorrectly. The skill is called draft-leave-request-emails and has the following instructions:
- When an employee wants time off, draft the leave request email to leave@nordfalk.com.
- Follow chapter 8: Include all required fields.
- In appendix A you will find an example of the leave request email.
- Ask for any missing field. Do not invent values.
That last line is there because I have watched agents invent an employee ID with complete confidence. "Do not invent values" forces it to ask instead. We skip Tools, Connected agents and Memory: A first agent does not need them, and Tools, where you connect the agent to real systems, deserves its own video.
Step 5: Test in Preview
Open the Preview tab. The chat costs credits even though nothing is published. That is the deal on the new harness, so test with a plan. I ran three questions, each testing its own part of the build.
Test 1: Can it answer from the handbook? "How many vacation days do I get?" The answer: 30 paid days off per year, 25 vacation days plus 5 Nordfalk days, with a citation pointing to chapter 5. The answer matches the handbook, and the chapter reference lets you verify every answer.
Test 2: Can it say no? "What's the bonus structure at Nordfalk?" That one is a trap: The handbook deliberately does not cover pay. The agent answers that the handbook does not cover it and points to the right contact from chapter 16, without inventing a bonus policy. That is "Never guess" and the disabled web search working together: An HR agent that guesses about salary is how you end up in a very awkward meeting.
Test 3: Does the skill work? "I want two weeks off in October." The agent starts on the email draft, but stops and asks for the fields it is missing: Employee ID, leave type, exact dates. It does not invent them, exactly as the skill demands. Once the fields are supplied, the finished email is ready: Eight fields, correct recipient, same structure as appendix A in the handbook.
Step 6: Publish to Teams
Click Publish in the top right. The agent uses instructions, knowledge and one skill, and needs neither dialogue trees nor topic triggers.
Among the channels we pick Teams + Microsoft 365, because an internal HR agent should live where your colleagues already are. And one piece of advice here: Look at the availability options, and keep the agent to yourself first. Test it in Teams, then share it with the organisation. Publishing to everyone on day one is the fastest way for a typo in your instructions to become the whole company's problem.
Inside Teams you add the agent and ask it one last control question. Mine was "When do I need a doctor's note?", and the answer came promptly: After five consecutive sick days, chapter 6.
My recommendation
The pattern is worth taking with you: Instructions, knowledge, one skill, publish. Build your first agent in a development environment with a small credit allocation, so you can experiment without watching the meter. You move the agent to production later in a solution, as described in the guide to Power Platform ALM with environments and Pipelines. One real limitation you should know about: At the time of writing you cannot see your consumption in real time while you build, so note your credit number before and after if you want to know what your build cost. The calculation behind it, and when packs pay off, is in the pricing guide with calculator.
Frequently asked questions
Does it cost credits to build an agent in the new Copilot Studio?
Yes. On the Microsoft Copilot harness, billing starts the moment you start building: Every test chat in Preview costs credits, even before the agent is published. Clicking around and configuring manually is free; it is the AI usage that costs.
Do I still need topics?
No. In the new Copilot Studio, topics are replaced by skills: A name, a description and instructions in plain language. The agent plans for itself when to use a skill and how to complete the task.
Why should I turn off Search all websites?
Search all websites is on by default on new agents. It means the agent searches the web when your own sources do not have the answer. For an agent that should answer from your own policy, that is a source of errors: Turn it off, and let the agent say so instead.
Can I change the model later?
Yes. The model is picked in the right-hand panel and can be changed after the agent is created. The harness is harder to switch: An agent on the Microsoft Copilot harness cannot be moved to standard. At the time of writing, a standard agent can be copied to the Microsoft Copilot harness (preview), but not everything comes along.
This is the third part of the series on the new Copilot Studio. Tools, where the agent gets connected to your real systems, are covered in the guide to letting an agent fill a Word template, where the agent gets a workflow and Work IQ.