Skip to content

How to Read This Book

The Gem Format

Every Gem in this book follows the same structure. Once you've read one, you know how to read them all.

Section What It Contains When to Read
Classification Category, complexity, channel support, prerequisites Scan first — does this Gem match your situation?
The Problem Why this matters, what happens if you don't solve it Read if you're not sure whether this Gem applies to you
The Ideal Outcome Acceptance criteria — what success looks like Use as your evaluation rubric
Approaches (2-4) Each with: How It Works, Implementation (code), Evaluation, Limitations Read the approaches relevant to your constraints
Comparison Matrix Side-by-side across all approaches Quick visual decision — scan the "Best When..." row
Recommended Approach Opinionated default + alternatives Start here if you want a fast answer
Platform Gotchas Channel limitations, undocumented behaviors Read before deploying — saves hours of debugging
Related Gems Cross-references Follow the thread to connected patterns

Rating System

Per-Approach Evaluation

Symbol Meaning
🟢 Good — works well, minimal friction, low risk
🟡 Acceptable — works with caveats, extra steps, or partial support
🔴 Poor — significant limitations, high effort, or unreliable

Complexity Scale

Rating What It Means Typical Effort
Configuration only, no code 15-30 minutes
⭐⭐ Basic YAML editing, simple Power Fx 1-2 hours
⭐⭐⭐ Multiple components, Power Automate Half day
⭐⭐⭐⭐ Custom connectors, multi-agent coordination 1-2 days
⭐⭐⭐⭐⭐ Deep platform expertise, significant architecture 2+ days

Three Ways to Read This Book

Path 1: Cover to Cover

Follow the Parts in order. Each Part builds on the previous:

Part I (State)  →  Part II (Personalization)  →  Part III (UX)  →
Part IV (Security)  →  Part V (Integration)  →  Part VI (Knowledge)  →
Part VII (Observability)

This path gives you the most complete understanding. Part I's state patterns are referenced by almost every subsequent Gem.

Path 2: Jump to Your Problem

Find the Gem matching your current challenge:

Your Problem Start With
"Users have to re-introduce themselves every session" GEM-001 (Part I)
"I can't debug my agent in M365 Copilot" GEM-004 (Part VII)
"My agent responds in the wrong language" GEM-005 (Part II)
"Collecting 5 fields takes 10 messages" GEM-006 (Part III)
"My agent can't find answers in the knowledge base" GEM-008 (Part VI)
"What happens when my API is down?" GEM-009 (Part V)
"I need to connect to an MCP server" GEM-023 (Part V)
"Users type passwords into the chat" GEM-022 (Part IV)
"I need deterministic flows for compliance" GEM-027 (Part III)

Path 3: By Role

Your Role Focus On
Maker (low-code) Parts I, II, III — state, personalization, UX. Start with GEM-001, GEM-002, GEM-006.
Solution Architect Parts IV, V, VI — security, integration, knowledge design. Start with GEM-007, GEM-023, GEM-026.
Pro Developer Parts V, VII — integration patterns, testing, analytics. Start with GEM-015, GEM-025, GEM-013.
Production Ops Parts VI, VII — cost control, monitoring, testing. Start with GEM-012, GEM-004, GEM-016.

Complete Gem Catalog

# Gem Category Complexity Part
001 Persisting User Context Across Sessions Context & State ⭐⭐⭐ I
002 Persona-Adaptive Agent Instructions Personalization ⭐⭐⭐ II
003 Tracing Agent Progress Before Response Observability ⭐⭐–⭐⭐⭐ VII
004 Debug Mode for M365 Copilot Channel Observability ⭐⭐⭐ VII
005 Multi-Language Agent Response Personalization ⭐⭐⭐ II
006 Adaptive Cards as Multi-Field Forms UX ⭐⭐⭐ III
007 Role-Based Feature Gating Security ⭐⭐⭐ IV
008 Knowledge Source Optimization Performance ⭐⭐ VI
009 Graceful Degradation and Fallback Chains Integration ⭐⭐⭐ V
010 Agent-to-Human Handoff with Context UX ⭐⭐⭐–⭐⭐⭐⭐ III
011 Conversation Memory Within a Session Context & State ⭐⭐–⭐⭐⭐ I
012 Cost Estimation and Token Budget Management Performance ⭐⭐⭐ VI
013 Testing Strategies for Multi-Agent Architectures Observability ⭐⭐⭐–⭐⭐⭐⭐ VII
014 Proactive Agent Messages and Event-Driven Conversations Integration ⭐⭐⭐⭐ V
015 Dataverse CRUD Operations Patterns Integration ⭐⭐⭐ V
016 Conversation Analytics and Quality Measurement Observability ⭐⭐–⭐⭐⭐ VII
017 Multi-Tenant Agent Configuration Context & State ⭐⭐⭐⭐ I
018 SharePoint Document Retrieval and Display Integration ⭐⭐⭐ V
020 Agent Instructions as Living Documents Personalization ⭐⭐⭐⭐ II
021 Conversation Branching and Disambiguation UX ⭐⭐⭐ III
022 Secure Data Handling in Conversations Security ⭐⭐⭐⭐ IV
023 MCP Connector Integration Patterns Integration ⭐⭐⭐ V
024 Multi-Agent Composition and Connected Agent Patterns Integration ⭐⭐⭐⭐ V
025 Custom Canvas and Embedded Agent UX UX ⭐⭐–⭐⭐⭐⭐ III
026 Azure AI Search Advanced Integration Performance ⭐⭐⭐–⭐⭐⭐⭐ VI
027 Deterministic Flows for Regulated Workflows UX ⭐⭐⭐⭐ III
028 Grounding Agents in Enterprise Analytics Data Integration ⭐⭐⭐–⭐⭐⭐⭐ V

Prerequisites

This book assumes you have:

  • Basic familiarity with Microsoft Copilot Studio (created at least one agent)
  • A Power Platform environment with Copilot Studio access
  • For code samples: VS Code with the Copilot Studio Extension

No specific programming language expertise is required, though familiarity with YAML, JSON, and basic Power Fx helps.

Platform Version

This book was written and validated against Copilot Studio as of February 2026. Each Gem includes a "Last Validated" date. If you're reading this after a major platform update:

  1. Check the Gem's validation date
  2. Verify code samples against the current platform
  3. Check Microsoft Learn for feature changes
  4. The web version of this book is updated more frequently than print