Copilot Studio DirectLine Chat

•
245
•

Connects Claude Code to Microsoft Copilot Studio agents for real-time interaction and testing via the DirectLine v3 API.

This skill enables Claude Code to communicate directly with published Microsoft Copilot Studio agents, facilitating seamless testing and interaction within your development environment. It manages the technical complexities of the DirectLine v3 REST API, including token-based authentication, secret-based access, and conversation state persistence via IDs and watermarks for multi-turn dialogues. Beyond simple messaging, the skill robustly handles manual authentication workflows by processing sign-in URLs and validation codes, and it correctly parses rich responses such as suggested actions and Adaptive Cards, making it an essential tool for developers building and debugging conversational AI agents.

Key Features

01Maintains multi-turn conversation state using watermarks and IDs
02245 GitHub stars
03Supports DirectLine v3 REST API for robust agent communication
04Supports manual authentication workflows with sign-in URL handling
05Parses complex JSON outputs to render Text, Suggested Actions, and Adaptive Cards
06Handles token-based and secret-based authentication modes

Use Cases

01Automating conversation flows to verify agent logic and authentication paths
02Testing and debugging Microsoft Copilot Studio agents directly from the command line
03Validating agent responses and Adaptive Card rendering during the development cycle