Skip to content

Cookbook

8 recipes

GitHub Copilot SDK

Ready-to-use recipes for building with the GitHub Copilot SDK across multiple languages

Error Handling

Handle errors gracefully including connection failures, timeouts, and cleanup

errorsbasicsreliability
GitHub

Multiple Sessions

Manage multiple independent conversations simultaneously

sessionsadvancedconcurrency
GitHub

Managing Local Files

Organize files by metadata using AI-powered grouping strategies

filesorganizationai-powered
GitHub

PR Visualization

Generate interactive PR age charts using GitHub MCP Server

githubvisualizationmcp
GitHub

Persisting Sessions

Save and resume sessions across restarts

sessionspersistencestate-management
GitHub

Accessibility Report

Generate WCAG accessibility reports using the Playwright MCP server

accessibilityplaywrightmcpwcag
GitHub

Community Samples

Community-contributed projects and examples for GitHub Copilot

Node.js Agentic Issue Resolver

Community

A resilient agentic workflow for autonomous codebase exploration and fixing, optimized for the Copilot SDK Technical Preview

nodejscopilot-sdkagentscommunity

Copilot SDK Web App

Community

A full-stack chat application built with the GitHub Copilot SDK, .NET Aspire, and React with GitHub OAuth, session history, and model selection

dotnetcopilot-sdkweb-appcommunity