Skip to content

Add azure-ai-agentserver-copilotsdk adapter for GitHub Copilot SDK#1

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/add-copilot-sdk-adapter
Draft

Add azure-ai-agentserver-copilotsdk adapter for GitHub Copilot SDK#1
Copilot wants to merge 3 commits into
mainfrom
copilot/add-copilot-sdk-adapter

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 2, 2026

Adds a new framework adapter for hosting GitHub Copilot SDK agents on Azure AI Foundry, following the same pattern as azure-ai-agentserver-agentframework and azure-ai-agentserver-langgraph.

Package Structure

  • CopilotSDKAdapter extending FoundryCBAgent with streaming/non-streaming support
  • Request/response converters for OpenAI-style API ↔ Copilot SDK format
  • Telemetry integration via OpenTelemetry

Usage

from azure.ai.agentserver.copilotsdk import from_copilot_sdk

async def my_handler(prompt: str) -> str:
    # Use Copilot SDK to process prompt
    return response

from_copilot_sdk(my_handler).run()  # Hosts on localhost:8088

Included

  • README with installation, examples, local testing docs
  • Simple agent sample in samples/simple_agent/
  • Unit tests for request converter
  • Standard config files (pyproject.toml, LICENSE, CHANGELOG, etc.)

Dependencies

  • azure-ai-agentserver-core
  • github-copilot-sdk>=0.1.0

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 2, 2026 23:21
Co-authored-by: xue-cai <54598758+xue-cai@users.noreply.github.com>
Co-authored-by: xue-cai <54598758+xue-cai@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Copilot SDK framework implementation Add azure-ai-agentserver-copilotsdk adapter for GitHub Copilot SDK Feb 2, 2026
Copilot AI requested a review from xue-cai February 2, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants