GitHub has published github/copilot-sdk, an MIT-licensed multi-platform SDK for integrating the Copilot Agent into applications and services.

Embedding an agent is not the hard part. Connecting its proposed actions to your application's permissions, persistence, and UI is.

A safe full-stack path starts with an action envelope that every layer understands.

The envelope

type AgentAction = {