A previous post covered embedding Copilot CLI into an existing pipeline — effectively adding a super agent to it. This time, the next level.
Ignite 2026 (November 17) pushed that evolution into the architecture layer: the agent loop that backs the entire Copilot family — CLI, IDE, the GitHub surfaces — is now open from Microsoft in three ways. Its predecessor, the GitHub Copilot SDK, went GA back in June and could already be embedded into applications; the 2.0 announced at Ignite reworks that capability into a production runtime that is shareable, resumable, and sandboxed on demand.
One Loop, Three Ways to Get It
L1 · Built into the product: the loop inside Copilot CLI and the IDE, wrapped in the product, ready out of the box with zero infrastructure — this is what you're already using today.
L2 · Self-assembled: Microsoft Copilot SDK 2.0 — the loop and its runtime packaged as an SDK you embed in your own app, driven by your code. The official definition is "direct, programmatic access to the Microsoft Copilot harness"; there are GA bindings for six languages (TypeScript, Python, Go, .NET, Java, and Rust). Its predecessor was the GitHub Copilot SDK that went GA in June, renamed alongside the October 28 announcement of the Microsoft Copilot harness (migration rolling out in phases); over that predecessor, 2.0 adds the Rust core, multi-session single process, and six deployment architectures.
L3 · Fully managed: a managed Copilot harness on Foundry (public preview). The loop and the sandbox are handed to Microsoft — the official wording is blunt: "Microsoft runs the agent loop and sandbox". You bring the knowledge, skills, and tools, orchestrate in the Foundry UI, the GitHub Copilot app, the Foundry CLI (azd ai), or the Foundry Toolkit for VS Code, and the agent definition goes into source control. The preview's limits deserve equal billing: no SLA, not recommended for production; the initial version only lets you pick the harness when creating a new prompt agent, with region and model restrictions, and no BYOM support yet.
The three layers are not three technologies — they are three answers to one question: who runs this loop — the product, your code, or Microsoft?
The Session Is No Longer a Container
SDK 2.0 rewrote its core in Rust, and the official numbers (same warmed-up workload) are:
| Metric | TypeScript CLI | Rust core (in-process) |
|---|---|---|
| Warm single-turn total time* | 5.25 s | 55.3 ms |
| Memory, 10 clients | 1,383 MB | 126 MB |
| Throughput | 7.55 sessions/s | 120 sessions/s |
*Warm single-turn total time = create client + session and complete 1 turn, same warmed-up workload (official figures).
Speed isn't the point. The point is the identity reversal behind these numbers: the session is no longer a container.
In the old architecture every session lived in its own container — the first turn waited for infrastructure to start, cost grew linearly with session count, and a session's identity was the process running it. The new runtime is multi-session in a single process: each session has its own state, credentials, tools, files, and history, invisible to the others. Sessions become cheap, disposable objects.
What the SDK Looks Like
The official minimal example (TypeScript), with all three selling points in one place:
import { CopilotClient, defineTool } from "@microsoft/copilot-sdk";
const client = new CopilotClient({ mode: "empty" }); // no host-default shell/file access, no CLI default capabilities
const lookupOrder = defineTool("lookup_order", {
description: "Look up the current customer's order",
parameters: { /* JSON Schema */ },
handler: async ({ orderId }) => orders.getForCustomer(user.id, orderId),
});
const session = await client.createSession({
sessionId: `user-${user.id}-orders`, // ③
github: { token: user.githubToken }, // ①
tools: {
definitions: [lookupOrder],
availableTools: ["custom:lookup_order"], // ②
},
});
Code follows the stable v2.0.2 (2026-11-24) multi-tenant docs; field names differ slightly from the Ignite announcement sample — trust the API of the version you install.
① Sessions run as the user, not as your server. Model calls and tool calls are attributed to the user who requested them. For governance-sensitive scenarios this is the foundation — the "agent behavior is attributable" property I kept stressing in my Agent Governance series is provided by the SDK at the runtime layer. But attribution is not the same as business authorization: your app still enforces authorization inside custom tool handlers.
② Tools are defined by the host and registered per session on a whitelist. A session that starts from mode: "empty" can touch nothing by default; it has exactly what you hand it. Least privilege isn't something you configure afterward — it's how the thing is constructed.
③ Sessions are durable. That unassuming sessionId in the code is the restore key: the runtime appends messages, tool calls, plans, and checkpoints to a session journal, and the state can live in your own storage (sessionFs). Any service instance that can read the same journal can restore the whole session by sessionId — provided your app first verifies the caller's ownership of that session (a sessionId is not an authorization credential). A web frontend disconnects and the long task keeps running; hours later a webhook picks the session back up; the docs even describe letting a teammate attach the GitHub Copilot CLI to the same session to take over or observe. Readers of the CLI series will recognize this: it's Copilot's session continuity, and now your app can get the same machinery.
Where It Thinks, Where It Acts
Diagram drawn by me, organized from the official docs; the Fleet/CLI mapping is my own analogy (inferred)
The most valuable design decision in SDK 2.0 is that it separates two things: where the model loop thinks and where the shell/files act can be deployed independently. The docs list six architectures; three are worth digesting:
Shared: all sessions live in one shared process, no sandbox, tools are host APIs. Sessions are lightweight objects with no container cold start.
Promotable: a session starts in the shared runtime, and the moment it genuinely needs a shell it is promoted, whole, into a sandbox — same ID, same conversation, same session object. The move is one-way and costs one sandbox startup wait; in exchange, you pay container cost only for the sessions that need a sandbox, only at the moment they do.
Delegation: a coordinator stays in the shared runtime and dispatches workers through a tool, each worker in its own sandbox running self-contained long tasks. While it waits, the coordinator burns no model calls.
Mapping them onto the products: Fleet is analogous to the Delegation shape; day-to-day CLI use approximates Shared plus on-demand sandboxing (my analogy, inferred). Microsoft turned its own products' architecture patterns into options in the SDK — the behavior you experience in Fleet can now be replicated in your own app.
If you'd rather not operate this yourself, there are two managed paths: GitHub Copilot cloud sandboxes (one isolated, GitHub-hosted Linux environment per session) and Foundry managed agents (that's the L3 managed harness). Where it thinks, where it acts, and who operates it are now three independent decisions.
Choosing Between the Three Layers
| L1 CLI / IDE | L2 SDK 2.0 | L3 Foundry-managed harness | |
|---|---|---|---|
| Who runs the loop | Built into the product | Your runtime (in-process by default; subprocess or standalone service also possible) | Microsoft |
| State & recovery | Closed inside the product | Host disk by default; optional self-managed sessionFs with cross-instance restore | Managed by the platform |
| Tools & permissions | Product capabilities | Host whitelist, least privilege by construction | Toolbox / MCP connections |
| Best for | Individual development, zero infra | Teams embedding agents into their own products | Enterprises that want platform-managed governance; currently pilot/evaluation |
| Status | GA | GA | Public Preview |
My read: L2 is for teams that want to turn agents into a product capability; L3 is for enterprises that want the platform to carry governance for them. For individual developers, L1 still suffices — but it's worth spending an hour with the SDK docs, because they will change how you understand the CLI you use every day.
Closing Thoughts
The surface news from Ignite is a string of product announcements. One layer down, Microsoft Foundry and GitHub Copilot are converging on the same technical foundation — Foundry's managed harness runs Copilot's heart, and the SDK lets you put that heart into your own app.
One loop, three ways to get it: built in, self-assembled, fully managed. Microsoft has set the multiple-choice question for everyone.
You can outsource your thinking, but you cannot outsource your understanding.
Official References
- Building modern agentic applications with Microsoft Copilot SDK 2.0 (performance numbers, six architectures, language list, code samples)
- Introducing the Microsoft Copilot harness (harness and rename announcement)
- What's new in Foundry Agent Service at Ignite 2026 (the managed-harness preview announcement)
- Use the Microsoft Copilot harness with prompt agents (preview boundaries, region and BYOM limits)
- About cloud sandboxes for GitHub Copilot (cloud sandbox details)
- Copilot SDK is now generally available (predecessor GA on 2026-06-02)
- microsoft/copilot-sdk repo (rename README and stable docs)
- Microsoft Ignite 2026 Book of News


Top comments (0)