How to create an AI agent in SharePoint

1
Step

Select your files

Open a SharePoint folder and select the files for your agent.

2
Step

Create an agent

Open the Copilot menu and choose "Create an agent".

3
Step

Name your agent and add instructions

Name your agent and paste the instruction below.

Instruction line for any agent
4
Step

Ask a question

Ask a question, such as "How do I raise a purchase order?" Check the source document in the answer.

Questions to test an agent with
5
Step

Share it

In Copilot, open Agents → three dots → Share. Send the link to your team.

What you get

Answers only from your files

Keep answers focused on the files you selected.

Shows the source document

See which document the answer came from.

Works on any folder

Use the same steps with another SharePoint folder.

Share with your team

Let colleagues ask questions about the same files.

No code needed

Set it up in SharePoint using plain instructions.

Try it on

SOP and process folders

Find the steps for everyday tasks.

HR policies

Check leave rules, benefits and policies.

Client folders

Find answers in client briefs and documents.

Project notes

Look up decisions, updates and deadlines.

Training material

Ask questions about the learning resources.

Vendor contracts

Find the terms, limits and renewal dates.