azure-hosted-copilot-sdk

Scaffold and deploy GitHub Copilot SDK applications to Azure Container Apps.

Updated May 12, 2026
One-click install
npx skills add https://github.com/sohamda/apex-try-out-demo-repo --skill azure-hosted-copilot-sdk-sohamda
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-hosted-copilot-sdk
Source: https://github.com/sohamda/apex-try-out-demo-repo/tree/main/.archive/_archived_skills/azure-hosted-copilot-sdk
Command: npx skills add https://github.com/sohamda/apex-try-out-demo-repo --skill azure-hosted-copilot-sdk-sohamda

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @github/copilot-sdk, @azure/identity, and includes references (resource) components.

What problem does it solve? Building and deploying a GitHub Copilot SDK application on Azure involves many moving parts: scaffolding the project, wiring authentication, configuring models, and provisioning Bicep infrastructure. This Skill routes you through the correct path for your scenario so you avoid misconfigurations and rework. ## Core Features & Use Cases - Scenario Routing: Directs you to the right workflow whether you are scaffolding a greenfield project, adding an SDK service to an existing repo, deploying an existing SDK app, or integrating the SDK into existing code. - Model Configuration: Supports three model paths including GitHub default models, specific GitHub models via listModels(), and Azure BYOM (Bring Your Own Model) with DefaultAzureCredential or ManagedIdentityCredential. - Deployment Pipeline: Orchestrates azure-prepare, azure-validate, and azure-deploy steps using the azure-samples/copilot-sdk-service azd template with Bicep infra and Key Vault token storage. - Use Case: You have an existing Express app and want to add a Copilot-powered chat endpoint hosted on Azure Container Apps with your own Azure OpenAI o4-mini deployment. The Skill guides SDK integration, BYOM provider config, and infra provisioning. ## Quick Start Ask the agent to scaffold a new Copilot SDK app with azd init using the azure-samples/copilot-sdk-service template and deploy it to Azure.

Frequently Asked Questions about azure-hosted-copilot-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a GitHub Copilot SDK app to Azure?▼

Scaffold the azure-samples/copilot-sdk-service template with azd init, which includes an Express API, React UI, Bicep infra, and Dockerfiles. Then run the azure-prepare, azure-validate, and azure-deploy steps in order to provision Container Apps.

How do I use my own Azure OpenAI model with the Copilot SDK?▼

Use the BYOM path by passing a provider config with type, baseUrl, and a bearerToken from DefaultAzureCredential to createSession. Only o-series and gpt-5 family models support the SDK's encrypted content; gpt-4o and gpt-4.1 will fail.

Can I add the Copilot SDK to an existing Node.js or Python project?▼

Yes, install @github/copilot-sdk (Node.js) or github-copilot-sdk (Python), add a route that creates a CopilotClient session, and wire it into your existing server. Do not create a separate server or duplicate startup logic.

Why does my Copilot SDK BYOM request return 400 Encrypted content is not supported?▼

The model you selected does not support the SDK's encrypted prompt content. Switch to an o-series model like o4-mini or a gpt-5 family model, and ensure wireApi is set to completions rather than responses.

Should I use DefaultAzureCredential in production for Azure-hosted Copilot apps?▼

No, DefaultAzureCredential is intended for local development only. In production use ManagedIdentityCredential, which is deterministic, avoids fallback-chain latency, and requires no stored secrets.