Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
root.copilotAgents object
Defines one or more agents to Microsoft 365 Copilot, selectable as Agents from the Microsoft 365 Copilot navigation panel. Declarative agents are customizations of Microsoft 365 Copilot that run on the same orchestrator and foundation models. Custom engine agents use custom AI language models and orchestration.
Note
Custom engine agents support in Microsoft 365 Copilot is currently in public preview.
Properties that reference this object type:
Syntax
Properties
declarativeAgents
Array of objects that each define a declarative agent.
The declarativeAgents property is required if customEngineAgents is not specified.
Type
Array of declarativeAgentRef
Required
—
Constraints
Minimum array items: 1. Maximum array items: 1.
Supported values
declarativeAgents
Array of objects that each define a declarative agent.
Type
Array of declarativeAgentRef
Required
✅
Constraints
Minimum array items: 1. Maximum array items: 1.
Supported values
customEngineAgents
Array of objects that each define a custom engine agent.
The customEngineAgents property is required if declarativeAgents is not specified.
Type
Array of customEngineAgents
Required
—
Constraints
Minimum array items: 1. Maximum array items: 1.
Supported values
Remarks
Note
Custom engine agents support in Microsoft 365 Copilot is currently in limited private preview and not all developers have access during the staged rollout.
Examples
{
"copilotAgents": {
"declarativeAgents": [
{
"id": "agent1",
"file": "declarativeAgent1.json"
}
]
}
}
Feedback
Was this page helpful?
