GitHub Copilot SDK agents can now skip user sign-in entirely
Server-to-server authentication for the Copilot SDK reaches general availability, letting agents authenticate as a GitHub App instead of impersonating a person.
GitHub’s server-to-server authentication for the Copilot SDK left preview and reached general availability on 3 December. It lets services and agents built on the SDK call Copilot on behalf of an organisation using short-lived GitHub App installation tokens, rather than a signed-in user’s own credentials.
The setup: give a GitHub App the read-only “Copilot Requests” organisation permission, install it on an org, and pass its short-lived installation access token to the SDK. Usage is attributed and billed to the organisation the app is installed on, not to whichever person’s token happened to be lying around, and existing budgets and spend controls still apply. Owners can see app-attributed usage in the AI usage CSV reports and cut access by suspending or uninstalling the app. Anyone already running this from the October preview needs no changes.
Why it matters: a background agent or CI job that needs Copilot access has, until now, meant minting a personal token and hoping nobody leaves the company or rotates it at the wrong moment. A workload-owned identity means the agent’s access lives and dies with the GitHub App installation, not a person.
The caveat: this only covers Copilot SDK requests. Anything in your pipeline still authenticating as a user for other GitHub APIs keeps that exposure.