This SDK is currently available in a Technical Preview phase, supporting major development environments including Python, TypeScript, Go, and .NET, ensuring broad applicability across modern software stacks. Integration is facilitated through dedicated packages for each language ecosystem, such as npm for Node.js/TypeScript and pip for Python. Architecturally, the SDK functions as a client that communicates with the Copilot CLI server, which must be installed separately, utilizing JSON-RPC as the standardized communication protocol. The SDK manages the lifecycle of this underlying CLI process, simplifying setup for developers who wish to leverage agent workflows.
A significant advantage of using this SDK is the flexibility it affords in terms of model sourcing and customization. While a GitHub Copilot subscription is prerequisite for general use, the SDK also embraces a Bring Your Own Key (BYOK) approach, allowing integration with other supported Large Language Model providers like Azure or Anthropic. Furthermore, developers have granular control over the agent's capabilities; although it defaults to enabling all first-party tools (including file system and Git operations), specific tools can be enabled or disabled via configuration. The platform also explicitly supports the creation of custom agents, skills, and tools to extend functionality beyond the defaults.


