declarative-agents

Develop Microsoft 365 Copilot declarative agents with TypeSpec and the Agents Toolkit.

1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill declarative-agents-gabeujin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: declarative-agents
Source: https://github.com/Gabeujin/workspace-init-mcp/tree/main/awesome/skills/declarative-agents
Command: npx skills add https://github.com/Gabeujin/workspace-init-mcp --skill declarative-agents-gabeujin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive development kit for creating Microsoft 365 Copilot declarative agents, simplifying the process from basic creation to advanced enterprise design and validation.

Core Features & Use Cases

  • Agent Development Workflows: Offers three distinct workflows: Basic Agent Creation, Advanced Enterprise Agent Design, and Validation & Optimization.
  • TypeSpec Support: Enables modern, type-safe agent definitions that compile to JSON.
  • Microsoft 365 Agents Toolkit Integration: Seamlessly integrates with VS Code extensions, local debugging via Agents Playground, and environment/lifecycle management.
  • Use Case: A developer needs to create a new agent for Microsoft 365 that can search internal company documents and schedule meetings. This Skill will guide them through defining the agent's capabilities, writing the TypeSpec definition, and testing it locally.

Quick Start

Use the declarative-agents skill to create a basic Microsoft 365 Copilot agent.

Frequently Asked Questions about declarative-agents

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Microsoft 365 Copilot declarative agent using TypeSpec?

You can build a Microsoft 365 Copilot declarative agent by writing a type-safe TypeSpec definition that compiles to JSON, guided by the M365 Agents Toolkit integration for planning, capability selection, and schema generation.

What is the best way to define capabilities for an M365 Copilot agent?

Defining capabilities for an M365 Copilot agent involves selecting specific functionalities like searching internal documents or scheduling meetings, which are then structured using type-safe TypeSpec definitions that compile into the required JSON schema.

Can I test and debug Microsoft 365 agents locally in VS Code?

Yes, you can test and debug Microsoft 365 agents locally in VS Code using the Agents Playground extension, which supports local debugging, environment configuration, and lifecycle management throughout the development workflow.

Does the M365 Agents Toolkit support advanced enterprise agent design and validation?

The M365 Agents Toolkit supports advanced enterprise agent design and validation by providing dedicated workflows for complex architecture planning, capability selection, and optimization to ensure robust declarative agent performance.

Why use TypeSpec instead of JSON for declarative agent development?

TypeSpec provides a modern, type-safe approach to declarative agent development, enabling developers to define agent structures cleanly before automatic compilation to the JSON format required by the Microsoft 365 Copilot platform.