AI & Machine LearningAI agentsNo-code
Build your first AI agent without coding: a study planner
A no-code walk-through of a study planner agent: set its goal, choose what it may read, add rules and an approval step, then test its work.
3 min read
In Copilot Studio, you can create an agent by describing it in plain language, then test it before you publish. Yet an agent can't act on an instruction to use knowledge it doesn't have.
01 What are we building, and why?
You have an exam date, a pile of notes and no plan. Here you sketch an agent that turns them into a study plan, without writing code.
An agent is an AI assistant that follows the instructions you give it, and draws on the knowledge sources you connect. Microsoft Copilot Studio is a graphical, low-code studio for building one.
Four decisions behind a study planner agent
- GoalWhat the plan must do
- InformationThe notes and pages it may read
- Rules and approvalWhen you review its work
- TestingChecking its answers
Find the simplest solution, and add complexity only when needed.
02 Step 1: what is the agent's goal?
Instructions are the central directions an agent follows. Describe the agent in plain language and Copilot Studio writes them for you.
So state the goal plainly, such as a weekly plan built from your exam date and notes. Agents add the most value on tasks with clear success criteria.
Define what success looks like before you test.
03 Step 2: what information may it use?
Knowledge sources ground an agent's answers in data such as websites and external systems. An instruction to search a source you have not added can't be followed.
With Allow ungrounded responses turned off, the agent blocks any answer from a turn where it used no knowledge source or tool.
Add your notes as a source before you tell the agent to use them.
04 Step 3: what are the rules, and when do you approve?
A request information action pauses the flow and emails the assigned reviewers; the flow resumes when one replies.
Agents can pause for human feedback at checkpoints. In your planner, the checkpoint is you approving the plan.
Collect a reviewer's input before the next steps run.
05 How do you test it and check its work?
The test panel shows how the agent leads a conversation, but it doesn't fully replicate published channels.
Agent evaluation runs test cases and scores each answer against an expected response.
If your plan leads to a certification, MockCert, an independent study platform, offers each certification's study guide, flashcards and quiz questions free, with no account.
Test in chat and with an evaluation set before you rely on it.
Summary
- An agent follows your instructions and the knowledge you connect.
- It can't use a knowledge source you have not added.
- A request information step pauses the flow for a reviewer.
Sources
- Copilot Studio overview (opens in a new tab)
- Write agent instructions (Copilot Studio) (opens in a new tab)
- Building effective AI agents (Anthropic) (opens in a new tab)
- About agent evaluation (Copilot Studio) (opens in a new tab)
- Knowledge sources summary (Copilot Studio) (opens in a new tab)
- Request information from human review (Copilot Studio) (opens in a new tab)
- Test your agent (Copilot Studio) (opens in a new tab)
- MockCert: free study guides, quizzes and mock exams