M365 Agents Toolkit
Toolkit for building Microsoft 365 Copilot declarative agents.
Installation
Via GitHub Copilot CLI Plugin Marketplace
bash
/plugin install microsoft-365-agents-toolkit@work-iqUsage
# Develop an agent
"Scaffold a new declarative agent for HR FAQ"
# Configure capabilities
"Add web search to my agent"
# Deploy
"Deploy my agent with ATK"
# Create evals
"Create an eval suite for my agent based on it's capabilities."
# Run evals
"Run my evals for the agent"
# Analyze and improve
"Analyze the evaluation failures by root cause, and recommend targeted agent instruction changes"
# Regression check after agent changes
"I changed my agent instructions. Re-run the evals with stable concurrency and compare the new results to .evals\baseline.json"The evaluator skill uses the public preview M365 Copilot eval CLI through package-scoped npx. Learn more about the preview, docs, issues, and feedback channels in the public m365-copilot-eval repository.
powershell
npx -y --package @microsoft/m365-copilot-eval@latest runevals --prompts-file evals\evals.json --output .evals\latest.jsonSkills
| Skill | What It Does |
|---|---|
| install-atk | Install or update the ATK CLI and VS Code extension |
| declarative-agent-developer | Scaffolding, JSON manifest authoring, capability configuration, security patterns, deployment via ATK CLI |
| ui-widget-developer | Build MCP servers with OpenAI Apps SDK widget rendering for Copilot Chat |
| m365-agent-evaluator | Generate, run, and analyze evaluation suites for M365 Copilot declarative agents |