文章
AI 模型比较
在 副驾驶聊天 中比较可用的 AI 模型,并为你的任务选择最佳模型。
Authentication
The GitHub Copilot SDK supports multiple authentication methods to fit different use cases. Choose the method that best matches your deployment scenario.
Azure managed identity with BYOK
The Copilot SDK's BYOK (bring your own key) accepts static API keys, but Azure deployments often use Managed Identity (Entra ID) instead of long-lived keys. Since the SDK doesn't natively support Entra ID authentication, you can use a short-lived bearer token via the bearer_token provider config field.
Backend services setup
Run the Copilot SDK in server-side applications—APIs, web backends, microservices, and background workers. The CLI runs as a headless server that your backend code connects to over the network.
Bug 修复队友
一个自定义代理,用于标识project中的严重 bug 并实现有针对性的修复。
Build your first Copilot-powered app
In this tutorial, you'll use the Copilot SDK to build a command-line assistant. You'll start with the basics, add streaming responses, then add custom tools - giving Copilot the ability to call your code.
BYOK (bring your own key)
BYOK allows you to use the Copilot SDK with your own API keys from model providers, bypassing GitHub Copilot authentication. This is useful for enterprise deployments, custom model hosting, or when you want direct billing with your model provider.
Copilot CLI ACP 服务器
了解 GitHub Copilot 命令行界面 (CLI) 的代理客户端协议服务器。
Copilot SDK 的 OpenTelemetry 检测
了解如何在 Copilot SDK 应用程序中添加 OpenTelemetry 跟踪。