Using a personal token for automation is convenient until someone asks who performed the action. With a server-side agent, you do not want its permission to disappear with one person or its costs to vanish inside a user's account.

GitHub's public preview describes server-to-server authentication for the Copilot SDK through a GitHub App installed in an organization. The app receives a short-lived installation access token, uses the read-only Copilot Requests permission, and has requests attributed to the owning organization, where policies, budgets, and spending controls still apply.

Identity is also a cost and revocation point

An agent needs a workload identity you can name, account for, and switch off without hunting for a personal token.

This is a basic building block for agent services. Create an identity for a specific workload, keep permissions narrow, log the client ID, and make suspension or uninstall a clear path. Autonomy without attribution is just a hidden account with a longer life.

↗
PRIMARY SOURCE

GitHub describes server-to-server authentication for Copilot SDK: identity belongs to the workload, usage is attributed to the organization, its policies apply, and access can be stopped by suspending or uninstalling the app.

GitHub Changelog · GitHub Copilot supports server-to-server authentication ↗