[ ABORT TO HUD ]
SEQ. 1
SEQ. 2

Authoring Declarative Copilot Agents

🪟 Microsoft 365 Copilot & The Agent 365 Plane⏱ 20 min⭐ 200 BASE XP⌨ HANDS-ON LAB

Anatomy of a Declarative Agent

A Declarative Agent customizes Microsoft 365 Copilot by declaring custom instructions, grounded knowledge sources (SharePoint sites, Graph connectors), and action plugins. It requires two JSON manifests packaged in a ZIP archive:

{
  "$schema": "https://developer.microsoft.com/json-schemas/copilot/declarative-agent/v1.0/schema.json",
  "version": "v1.0",
  "name": "FinancialReportAgent",
  "description": "Analyzes quarterly financial disclosures and balance sheets.",
  "instructions": "You are a chartered financial analyst. Cite balance sheet line items explicitly.",
  "capabilities": [
    {
      "name": "OneDriveAndSharePoint",
      "items_by_url": [
        "https://contoso.sharepoint.com/sites/finance/q3"
      ]
    }
  ]
}
⌨ HANDS-ON LABValidate Declarative Agent Manifest Schema
⭐ +200 XP

Verify declarative agent JSON manifest file conforming to the official Microsoft 365 Declarative Copilot Agent specification.

1Validate declarative agent manifest using jq.
lab-sandbox — simulated environment
INFINITY LAB SANDBOX v2.6 — simulated shell
Type the command for the current objective. Helpers: "hint", "solution", "clear".
$
OBJECTIVE 1 / 1 — type "hint" if stuck
SYNAPSE VERIFICATION
QUERY 1 // 1
What schema capability grounds a Declarative Agent in enterprise SharePoint sites?
PublicWebSearch
OneDriveAndSharePoint with items_by_url specified
WindowsFileShare
LocalHardDriveStorage