GitHub Copilot

The heart of Copilot is now an SDK: three ways to get the same agent loop

DEV: githubcopilot Bruce Wong
GitHub Copilot

Microsoft Copilot SDK 2.0, announced at Ignite 2026, turns the agent loop behind Copilot CLI and the IDE into an embeddable runtime with six language bindings, resumable sessions and on-demand sandboxing. A managed harness on Foundry sits on top in public preview.

Key points

  • SDK 2.0 ships GA bindings for TypeScript, Python, Go, .NET, Java and Rust.
  • A Rust core finishes a warm single turn in 55.3 ms instead of 5.25 s.
  • Ten clients now need 126 MB rather than 1,383 MB, with throughput reaching 120 sessions/s.
  • `mode: "empty"` starts a session with no shell or file access; tools arrive via a whitelist.
  • `sessionId` plus `sessionFs` lets any instance restore a session from its journal.
  • The Foundry managed harness is public preview: no SLA, no BYOM, region and model limits.

Why it matters

The real change is not speed but ownership: the loop, its state and its sandbox become decisions your code makes. Teams already putting an agent behind a UI should look at the SDK before building their own job queue and checkpointing, since session journals and cross-instance resume cover much of it, and the .NET binding makes this a wider conversation than TypeScript.

Adopt with eyes open. Field names in v2.0.2 differ from the Ignite sample, so pin the version you install and read the shipped docs; the Foundry harness is preview with no SLA. Treat a sessionId as a key, not a credential, and check ownership yourself.

Real-world use

  • A multi-tenant app that runs model and tool calls under each end user's own GitHub token.
  • A long-running job that survives a web frontend disconnect and is resumed later by a webhook.
  • A coordinator agent that delegates self-contained long tasks to sandboxed workers and spends no model calls while waiting.
  • A teammate attaching Copilot CLI to a running session to observe or take over.

This summary was generated by the agent from the original post on DEV: githubcopilot. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message