Article complete

GitHub Introduces Copilot SDK to Embed AI Agents in Applications

Copilot SDK gives developers access to Copilot’s agent loop, without building custom planners and runtimes.

A colorful graphic featuring stylized cartoon heads with goggles, layered in green, blue, and red tones.

Key takeaways

  • Introduce GitHub Copilot SDK, enabling developers to embed AI capabilities in applications.
  • Simplify agent-based system development by providing access to Copilot’s production-tested agent loop.
  • Support multiple programming languages including Node.js, Python, Go, and .NET for broader accessibility.
  • Encourage developers to start with simple tasks to leverage Copilot’s planning and execution abilities.
  • Provide an open repository with setup instructions and examples to facilitate quick integration.

Takeaways drafted with AI from the article text.

The SDK exposes the same execution loop used by GitHub Copilot CLI, including planning, tool invocation, file editing, and command execution. According to GitHub, this is intended to reduce the complexity of building agent-based systems from scratch.

“Building agentic workflows from scratch is hard,” said the chief product officer, Mario Rodriguez, in a blog post. “Even before you reach your actual product logic, you’ve already built a small platform.”

GitHub said the Copilot SDK provides programmatic access to Copilot’s production-tested agent loop, removing the need for developers to design their own planners and runtimes. The SDK supports multiple AI models, custom tool definitions, MCP server integration, GitHub authentication, and real-time streaming.

The technical preview initially supports Node.js, Python, Go, and .NET. Developers can use an existing GitHub Copilot subscription or supply their own API key. The open repository includes setup instructions, starter examples, and SDK references for each language.

GitHub recommends starting with a single task, such as updating files or running commands, and allowing Copilot to plan and execute steps while the host application provides tools and constraints. In an example shared by GitHub, it was revealed that developers can create a Copilot client, start a session using a specified model, and send prompts programmatically.

The company said the SDK builds directly on the capabilities of Copilot CLI, which already allows users to plan projects, modify files, run commands, and delegate tasks without leaving the terminal. Recent updates to Copilot CLI include persistent memory, multi-step workflows, full MCP support, and asynchronous task delegation.

“The SDK takes the agentic power of Copilot CLI and makes it available in your favourite programming language,” Rodriguez wrote. “This makes it possible to integrate Copilot into any environment.”

Internal GitHub teams have used the SDK to build tools such as YouTube chapter generators, summarisation tools, custom agent interfaces, and speech-to-command workflows, according to the company.

GitHub positioned the Copilot SDK as an execution layer, with GitHub managing authentication, model access, and session handling, while developers control how those components are used within their applications.

Published

Spotted an error? Tell our editors. Read our editorial standards and corrections.

More in this story

GitHub · 5 stories
  1. GitHub Is Making Private Repositories Free For Teams
  2. GitHub Releases Enterprise Server 3.11
  3. What is New in YOLO v8?
  4. HCLTech Integrates AI Force Platform into GitHub Copilot
  5. You are here: GitHub Introduces Copilot SDK to Embed AI Agents in Applications
About the author

Tech Journalist

Siddharth is a media graduate who loves to explore tech through journalism and putting forward ideas worth pondering about in the era of artificial intelligence.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.