agent-academy

🚨 Mission 02: Copilot Studio Fundamentals

🕵️‍♂️ CODENAME: OPERATION CORE PROTOCOL

⏱️ Operation Time Window: ~30 minutes – intel only, no fieldwork required

🎥 Watch the Walkthrough

Copilot Studio fundamentals video thumbnail

🎯 Mission Brief

Welcome, Recruit. This mission will equip you with foundational intel to understand how Copilot Studio works, and how to build intelligent agents that deliver real business value.

Before building your first agent, you need to understand the four key components that make up every custom AI agent: Knowledge, Tools, Topics, and Instructions. You’ll also learn how these elements work together in the Copilot Studio orchestrator.

🔎 Objectives

In this mission, you will:


What Are Agents in Copilot Studio?

An agent is a specialized AI assistant you design to handle specific tasks or queries. Unlike a general-purpose chatbot, your agent:

Because Copilot Studio is low-code, you can drag and drop prebuilt components—no deep coding skills required. Once your agent is built, people can call on it inside Teams, Slack, or even a custom webpage to get answers or trigger workflows automatically.


When and Why to Use Copilot Studio

While Microsoft 365 Copilot provides general AI assistance across Office apps, you’ll want a custom agent when:

You need domain-specific knowledge

You want to automate multi-step workflows

You need a contextual, in-tool experience


Four Building Blocks of an Agent

Every Copilot Studio agent is built from four core components:

  1. Knowledge
  2. Tools (Actions)
  3. Topics
  4. Instructions

Below, we’ll define each building block and show how they work together to make an effective agent.

1. Knowledge

Knowledge is the data and context your agent uses to answer questions accurately. It has two parts:

Custom Instructions & Context

Knowledge Sources (Grounding Data)

!!! example A “Policy Assistant” agent might connect to your HR SharePoint site. If a user asks, “What is our PTO accrual rate?” the agent retrieves the exact text from the HR policy document rather than relying on a generic AI response.


2. Tools (Actions)

Tools (Actions) define what the agent can do beyond chatting. Each action is a task the agent executes programmatically, such as:

How Actions Work

!!! example “An “Expense Helper” agent could:”
1. Listen for a “Submit Expense” request.
2. Grab the user’s expense details from a form.
3. Use an “Add to SharePoint List” action to store the data.
4. Trigger a “Send Email” action to notify the approver.


3. Topics

Topics define the conversational triggers or entry points for your agent. Each topic corresponds to a piece of functionality or a question category.

Conversational Triggers

Topic Descriptions

!!! example “Example of topic description” This topic helps users submit an IT support ticket by collecting the issue details, priority, and contact information.

Mapping Topics to Actions

!!! example If a user says, “I need help setting up my new laptop,” the AI might match that intent to the “Submit IT Ticket” topic. The agent then asks for laptop model, user details, and pushes a ticket into the helpdesk system automatically


4. Instructions

Instructions (sometimes called “Prompts” or “System Messages”) guide the LLM’s tone, style, and boundaries. They shape how the agent responds in any situation.

Role & Persona

Response Guidelines

Memory & Context Rules

!!! example “In a “Benefits Advisor” agent, you might include:” “Always reference the latest HR handbook when answering questions. If asked about enrollment deadlines, provide the specific dates from the policy. Keep answers under 150 words.”


How the Four Building Blocks Work Together

When you assemble Knowledge, Tools, Topics, and Instructions, Copilot Studio’s AI orchestrator creates an agent that:

  1. Listens for a relevant Topic (guided by your topic descriptions).
  2. Applies Instructions to set its tone, decide when to ask follow-up questions, and enforce rules.
  3. Leverages Knowledge Sources to ground its answers in your organization’s data.
  4. Calls Tools (Actions) as needed to perform tasks—sending messages, updating records, or invoking APIs.

Under the hood, the orchestrator uses a generative planning approach: it decides which steps to take, in what order, to fulfill a user request. If an action fails (for example, an email can’t be sent), the agent follows your exception-handling guidelines (ask a clarifying question or report the error). Because the LLM adapts to conversation context, the agent can maintain memory over multiple turns and incorporate new information as the conversation unfolds.

Visual Flow Example:
<!–

  1. User: “Show me my PTO balance.”
  2. AI (Topics): Matches “Check PTO Balance” topic.
  3. AI (Instructions): Uses a friendly, concise tone.
  4. Agent (Knowledge): Queries the HR SharePoint list for the user’s balance.
  5. Agent (Actions): Retrieves the value and sends a Teams message:

    “Your current PTO balance is 12 days.”
    –>

sequenceDiagram
    participant User
    participant AI
    participant Agent

    User->>AI: "Show me my PTO balance."
    AI->>AI: Match topic: "Check PTO Balance"
    Note over AI: Instructions: Apply friendly, concise tone
    AI->>Agent: Request user's PTO balance
    Note right of Agent: Knowledge: Query HR SharePoint list
    Agent-->>AI: PTO balance = 12 days
    AI->>Agent: Send message to user (Teams)
    Note right of Agent: Action: Deliver notification
    Agent-->>User: "Your current PTO balance is 12 days."

🎉 Mission Complete

You’ve successfully completed your fundamentals briefing. You’ve now learned the four essential building blocks of any agent in Copilot Studio:

  1. Knowledge – Where the agent looks up factual information and maintains conversation memory.
  2. Tools – The tasks the agent can perform to make things happen automatically.
  3. Topics – How the agent recognizes user intent and decides which workflow to run.
  4. Instructions – The rules, tone, and boundaries that guide every response.

With these components in place, you can build a basic agent that answers questions and executes simple workflows. In the next lesson, we’ll walk through a step-by-step tutorial to create a “Service Desk” agent—from connecting your first knowledge source to defining a topic and wiring up an action.

Up next: You’ll build your first declarative agent for M365 Copilot.

Analytics