Declarative agent
Custom instructions, knowledge and actions on top of Copilot’s orchestrator and foundation models.
- No extra hosting
- Inherits Microsoft 365 compliance
- Designed for individual use
- Responds when a person asks
An agent in Teams is an app with a conversation. Microsoft carries the message; your choice of agent decides what answers it — and the Teams admin decides who may use it.
People already spend the day in Teams, which makes it the obvious place to put an agent. Getting it right means knowing three things: how a message travels from a chat to an agent and back, which kind of agent to build, and which controls an administrator holds. This guide covers all three from Microsoft’s own documentation, then the pitfalls teams hit in production.
Updated · 8 sources
AI agents in Microsoft Teams are apps that hold conversations. A person messages the agent in a one-to-one chat or @mentions it in a group chat or channel; Teams sends the message to the agent’s endpoint; the agent’s engine — Copilot’s, or one you host — reasons over its knowledge and tools and replies in the thread. Administrators decide in the Teams admin center which agents are allowed and for whom.
Microsoft separates agents by who runs the brain. A declarative agent configures Copilot with instructions, knowledge and actions. A custom engine agent brings its own orchestration and models. Copilot Studio can build either style with little code.
Custom instructions, knowledge and actions on top of Copilot’s orchestrator and foundation models.
Your own orchestration and choice of models, reached from Teams and Microsoft 365 Copilot.
The same agent behaves differently depending on where it is installed. The biggest surprise for new builders: in group chats and channels, an agent hears only the messages that @mention it.
Every message the person sends reaches the agent. The natural place for questions about one person’s own work.
Installed for the chat; members address it with an @mention. Replies are seen by everyone in the chat.
Installed for a team; it can see the team’s details and channel list. Answers in the thread it was mentioned in.
A few seconds pass between the @mention and the reply. In that time the message crosses from Teams to the agent’s own service and back, and the agent decides what to do with it.
A person types “@Supplier Desk which invoices are unmatched?” in a thread.
Teams sends a JSON activity to the agent’s single messaging endpoint.
The agent checks the mention is its own and strips it, leaving the question.
The engine reads its knowledge, calls its tools, and composes an answer.
The answer lands in the same thread — as text or as an Adaptive Card.
@Supplier Desk which invoices are still unmatched this quarter?
42 invoices are unmatched for Q3; the largest is $48,920 from Bayside Freight, whose purchase order was closed early. Sources: Invoices table · PO-5521
An agent in Teams reads conversations and answers on behalf of the organisation, so it is governed like any app — and then some. These are the controls Microsoft gives a Teams administrator, plus the questions to put to whoever built the agent.
Most of the decision is where the agent’s knowledge and actions live. If they are in Microsoft 365, Copilot’s own engine goes far. If they are in other systems, or the agent needs your own models and rules, bring your own engine.
Where do the agent’s knowledge and actions live?
Microsoft documents that Copilot Studio agents in group chats and channels can’t use knowledge that needs each person’s sign-in, such as SharePoint — that works only in one-to-one chats.
A person can install an agent from a link and still be unable to chat with it if the agent is not shared with them.
Keep replies concise and avoid floods of messages; Microsoft throttles agents that send too many.
Changing an approved agent’s icon or descriptions means submitting it for approval again; content updates do not.
With Agent Reach, a Botminds agent answers in Microsoft Teams as itself — the same agent, knowledge, tools and record as in the app, for people who will never open another tool.
Read how the same agent reaches every screen, inbox and Teams chat in conversational AI on Botminds.
Yes. AI agents in Microsoft Teams are installed as apps: people chat with them one to one, or add them to a group chat or a team and @mention them. An administrator must allow the agent in the Teams admin center first.
Three common routes: build a declarative agent with Microsoft 365 Copilot or the Microsoft 365 Agents Toolkit; build in Copilot Studio and connect the Teams and Microsoft Copilot channel; or build a custom engine agent with the Teams SDK and host it yourself. Then publish it and have an admin approve it.
The agent must support the team scope. Install it to the team from the Teams app store, then @mention it in any channel of that team. In Copilot Studio, the maker must also allow users to add the agent to a team.
Only with permission. By default an agent in a channel or group chat receives only messages that @mention it. With resource-specific consent granted by the conversation’s owner, it can receive every message in that conversation.
A declarative agent runs on Copilot’s orchestrator and models with your instructions, knowledge and actions, and needs no hosting. A custom engine agent brings its own orchestration and models, is hosted by you or in Copilot Studio, and can work for groups and message people proactively.
Facilitator is one of Microsoft’s built-in Teams agents, alongside the Channel Agent. Built-in agents are managed on their own page in the Teams admin center, where an admin sets who can use each one.
Teams administrators. They allow or block each agent, assign it to everyone or to chosen users and groups, approve agents built inside the organisation, and can install and pin agents for people with setup policies.
Yes. Microsoft documents three labels an agent can put on its messages: an “AI generated” label, numbered citations that open the source, and a sensitivity label. All three work in personal chats, group chats and channels.
Bring one process and its documents. We’ll show you the agents, the controls and the record, running on your data.