An Aggie's Guide to Your First Copilot Studio Agent
Audience: IT staff, developers, content creators new to Copilot Studio
Purpose: Build your first custom AI agent step-by-step
Quick Reference
- Create agent — Use conversational setup or manual configuration; focus on the
Instructionsfield - Add knowledge — Upload documents or point to public websites
- Test and tune — Refine knowledge sources and create specific Topics
Overview
Copilot Studio is a toolbox for building conversational agents (copilots) without coding expertise. These agents can:
- Answer questions based on provided information
- Perform tasks through integrations
- Interact with users in natural language
Understanding Environments
Everything in Copilot Studio lives in a Power Platform Environment:
| Environment Type | Use Case |
|---|---|
| Default | Initial learning and experimentation |
| Development | Building and testing agents |
| Production | Live deployment for users |
Agents can interact with data sources and Power Automate flows within the same environment.
Prerequisites
| Requirement | Details |
|---|---|
| License | Copilot for M365 or Copilot Studio license |
| Environment Access | Permission to create agents (may require admin approval) |
| Knowledge Sources | Public websites or documents (Word, PDF, TXT) ready |
Procedure
Step 1: Create Your Copilot Agent
Navigate to Copilot Studio
- Open Copilot Studio in your browser
- Verify you're in the correct environment (top-right corner)
- Click Create in the left navigation
- Click + New agent
Choose Your Setup Path
Option A: Conversational Setup (Default)
Chat with the assistant to describe:
- What your agent should do
- Its purpose and tone
- Initial website URLs
Option B: Manual Configuration
Click Skip to configure and fill in:
| Field | Description |
|---|---|
| Name | Clear name for your agent |
| Instructions | Critical — Define behavior, rules, persona, limitations |
| Knowledge | Initial URLs or documents |
| Language | Confirm language setting |
Create the Agent
- (Optional) Click
...→Edit advanced settingsfor Solution and Schema Name - Click Create
- You'll land on the Agent Overview page
Advanced settings can be ignored — defaults work fine for getting started.
Step 2: Add Knowledge Sources
Knowledge sources power your agent's ability to answer questions.
Access Knowledge Settings
- On the Agent Overview page, find the Knowledge section
- Click + Add knowledge
Adding Websites
- Select Public websites
- Enter the URL of a publicly accessible website
- Prefer directory URLs (e.g.,
.../storage/) over file URLs (e.g.,.../storage-intro.html) - Depth limit — Crawler reads pages up to 2 levels deep from your URL
- No authentication — Cannot access login-protected pages
- Redirects excluded — If URL redirects to different site, content won't be included
- Add descriptive Name and Description
- Click Add
Uploading Documents
- Select Upload a document
- Add your files
Supported formats:
- Word (
.docx) - Excel (
.xlsx) - PowerPoint (
.pptx) - PDF (
.pdf) - Text (
.txt,.md)
- Add descriptive Name and Description
- Click Add
Using uploaded files requires Dataverse search enabled in your environment.
Step 3: Understand and Use Topics
Topics are conversation scripts that provide controlled responses.
Navigate to Topics
- Click Topics in the top navigation
- View pre-built topics like
GreetingandEscalate
Key Topics
| Topic | Purpose |
|---|---|
| Greeting | Initial user interaction |
| Escalate | Hand-off to human support |
| Conversational Boosting | Uses Knowledge Sources when no topic matches |
When to Create Custom Topics
- Common questions needing specific responses
- Guided workflows with multiple steps
- Actions requiring specific data collection
- Integration triggers (Power Automate, etc.)
Step 4: Test Your Agent
Open Test Panel
- Click Test your copilot (usually bottom-right)
- The test panel opens alongside your editor
Testing Best Practices
| Practice | Description |
|---|---|
| Test frequently | After each knowledge or topic change |
| Vary questions | Use different phrasings |
| Check citations | Verify sources are being used correctly |
| Note failures | Identify gaps in knowledge |
Refine Based on Testing
- Poor answers → Improve knowledge source quality or coverage
- Wrong topic triggered → Adjust topic trigger phrases
- Missing information → Add more knowledge sources
Step 5: Tune Agent Performance
Refine Instructions
The Instructions field is critical. Include:
- Agent's persona and tone
- What it should and shouldn't do
- Limitations and boundaries
- How to handle unknown questions
Adjust Generative AI Settings
Access through agent settings:
- Response length and detail level
- Citation preferences
- Fallback behavior
Create Specific Topics
For common questions or workflows:
- Create a new topic
- Add trigger phrases
- Design the conversation flow
- Test thoroughly
Tips for Success
| Tip | Description |
|---|---|
| Start Simple | Begin with minimal knowledge, add gradually |
| Quality Over Quantity | Better knowledge sources = better answers |
| Clear Instructions | Be specific about agent behavior and limitations |
| Test Like a User | Ask questions the way real users would |
| Iterate Continuously | Improvement is ongoing |
Common Issues
| Issue | Resolution |
|---|---|
| Agent gives wrong answers | Check knowledge source accuracy; add specific topic |
| Agent says "I don't know" | Add more relevant knowledge sources |
| Agent hallucinates | Improve Instructions with explicit limitations |
| Website content missing | Verify URL is accessible; check crawl depth |
Related Resources
- Copilot Overview — Platform documentation
- Agentic Workflows — Advanced automation
- Microsoft Copilot Studio Docs — Official documentation