-
Foundations: What the Copilot SDK Actually Is
The SDK/CLI split, the JSON-RPC boundary, install and hello-world in TypeScript, and the five setup paths from laptop to platform.
-
The Agent Loop and the Event Model
Turns as LLM calls, the session.idle vs session.task_complete distinction, the event envelope, the full event taxonomy, and streaming.
-
Sessions as Durable State
Structured session IDs, what actually gets persisted, resume options, infinite sessions and compaction, context clearing, and deployment topologies.
-
Tools and Tool Packages
defineTool anatomy, ToolResultObject and result types, built-in overrides, deferral, live tool replacement, and how to package a reusable, testable tool set.
-
Guardrails I โ Hooks
All ten session hooks, their exact inputs and outputs, how hooks compose, and the guardrail patterns that hold up: allowlists, path jail, secret redaction, audit logs, and retry policy.
-
Guardrails II โ Permissions, Modes, and Sandboxing
The permission decision ladder, request kinds, session and agent modes, mode: "empty" as the multi-tenant baseline, managed network policy, and defence in depth.
-
Extending the Agent โ Skills, Plugins, and MCP
SKILL.md modules and providers, plugin directory layout and loading, MCP server types and tool allowlists, all three MCP OAuth ownership models, and session-scoped diagnostics.
-
Orchestration and State Management
Custom agents as delegation targets, agent-exclusive tools, steering vs queueing, the SQL-todo blackboard pattern, fleet mode, and a taxonomy of where each kind of state belongs.
-
Observability, Cost Control, and Evals
TelemetryConfig and trace propagation, the full usage/billing API surface, session and workflow budgets, and a six-layer eval strategy built on deterministic replay.
-
Production Deployment โ Auth, Scaling, and Multi-Tenancy
Authentication priority and token types, rotating per-session tokens, BYOK and Azure managed identity, server-to-server auth, and the two deployment topologies with their isolation guarantees.
-
Grand Quiz โ Production Agents with the GitHub Copilot SDK
Twenty questions spanning all ten lessons: architecture, the loop, state, tools, guardrails, extension, orchestration, observability, and deployment.