The GitHub Copilot SDK lets you embed Copilot's AI capabilities directly into your apps — available for Go, Python, TypeScript, and .NET.
Here's a quick demo of building an agentic application with the SDK and Azure Cosmos DB.
Flight Diary is a sample app where you can:
- 📸 Upload a boarding pass image → Copilot extracts flight details automatically (no separate OCR/vision API needed)
- 🗣️ Query your flight history in plain English → Copilot generates and runs Cosmos DB SQL queries behind the scenes
The part I find interesting is how the SDK handles tool calling. You define the tools, Copilot figures out when and how to use them. For example, when extracting from a boarding pass, it parses the image and calls the save function — all from a single prompt.
If you want to try it yourself, the code is on GitHub. It also works with the Cosmos DB vNext emulator for local development.
Top comments (0)