正在加载视频...

视频加载失败

Today we're open sourcing a technical preview of the GitHub Copilot CLI SDK. Build agents with custom tools in Go, Python, TypeScript, and C#. Built on the same agent loop that powers the Copilot CLI and GitHub Coding Agent. Supports BYOK, and any model. Here is the Copilot CLI...

184,599 次观看 • 9 个月前 •via X (Twitter)

46 条评论

Evan Boyle 的头像
Evan Boyle9 个月前

In the last few weeks, we've onboarded dozens of teams across Microsoft and GitHub onto the new GitHub Copilot CLI SDK. Expect to see many new agentic products ship in the coming weeks. Looking forward to collaborating with the community and hearing your feedback!

JoshXT 的头像
JoshXT9 个月前

Can you only use it with a fine grained PAT or are there scopes we can add to OAuth login to access it? I have a GitHub OAuth provider in AGiXT that would be great to reuse to add an "Ask GitHub Copilot" ability without users having to do anything but reauthenticate.

Evan Boyle 的头像
Evan Boyle9 个月前

We are working on org-scoped fine-grained PATs for higher rate limits, especially for automation/CI scenarios. More news on this soon!

👾AI Khwarizmi👾 的头像
👾AI Khwarizmi👾9 个月前

Daaaaamn this is 🔥🔥🔥

Marc-André Moreau 的头像
Marc-André Moreau9 个月前

I'm actually interested in trying the Excel integration of GitHub Copilot, is that some internal demo using this new Copilot SDK or is this already available somewhere I can just download and install it?

Aaliya 的头像
Aaliya9 个月前

This is awesome. Open-sourcing the Copilot CLI SDK and supporting any model opens up so many possibilities for custom

The Longer Game 的头像
The Longer Game9 个月前

Opening up the same agent loop behind Copilot and letting teams bring their own models and tools makes this far more than a demo. The ability to wire agents into real workflows like Excel is where this starts to feel genuinely useful in production.

Marc-André Moreau 的头像
Marc-André Moreau9 个月前

I assume this requires Copilot CLI to be installed separately? I'm interested in integrating GitHub Copilot inside Remote Desktop Manager (.NET) for our built-in AI assistant which supports API keys from multiple AI providers, but I'd like a "login with GitHub Copilot" option

Evan Boyle 的头像
Evan Boyle9 个月前

For node it is automatically included as an NPM dependency, for other languages we expect that there is a `copilot` on the PATH.

Daniel Häfele 的头像
Daniel Häfele9 个月前

@awakecoding Can I just include a version of the copilot CLI in my software, so I can use the Copilot CLI SDK in it? What's the license there, the CLI isn't open-source.

Marc-André Moreau 的头像
Marc-André Moreau9 个月前

@_Evan_Boyle Copilot CLI is updated so frequently that you'd still be better off supporting a copy of it installed separately, but I have the same comment. A pure .NET SDK for Copilot without requiring Copilot CLI would be ideal in our case

Daniel Häfele 的头像
Daniel Häfele9 个月前

@_Evan_Boyle Oh you're right. I didn't pay attention to it, but seems like almost daily updates. Maybe it's worth testing it again, just to compare it to my beloved Claude Code :D

Marc-André Moreau 的头像
Marc-André Moreau9 个月前

@_Evan_Boyle Wait a few days at least, I checked it this week and custom slash commands aren't listable yet

Evan Boyle 的头像
Evan Boyle9 个月前

@haefeledev Custom slash commands are coming soon! Porting the core coding agent loop to another language would be a pretty huge lift. Our architecture for the Copilot SDK is similar to what others like Codex and Claude have done in this space.

Shweta Lodha | AI & Automation 的头像
Shweta Lodha | AI & Automation9 个月前

How to Create AI Agents with Custom Functions Using GitHub Copilot SDK

Everlier 的头像
Everlier9 个月前

BYOM is really cool! I have lots of agents with OpenAI compatible API

Ananya Patelik 的头像
Ananya Patelik9 个月前

agents everywhere! love seeing the loop open up. already dreaming up a python toolchain with a dash of chaos. thanks for sharing the keys to the playground!

Brad Wardell 的头像
Brad Wardell9 个月前

Do you have an ACP framework in there?

Evan Boyle 的头像
Evan Boyle9 个月前

Not in the SDK. In the CLI we do have a hidden —acp flag that we haven’t shipped yet. Still in development but feel free to give it a try.

Marlene Mhangami 的头像
Marlene Mhangami9 个月前

@draginol Yes!! Cc @willmcgugan hoping this works so I can test things out with Toad!!!

Evan Boyle 的头像
Evan Boyle9 个月前

@draginol @willmcgugan Happy to collaborate @willmcgugan!

Will McGugan 的头像
Will McGugan9 个月前

@marlene_zw @draginol Likewise. Would love to try running it under Toad. Let me know if I can assist.

Evan Boyle 的头像
Evan Boyle9 个月前

@marlene_zw @draginol Just sent and intro email to some folks on our side.

Daniel Häfele 的头像
Daniel Häfele9 个月前

Does Copilot CLI support the automatic workspace indexing feature from VSCode? This is what I'm referring to:

Evan Boyle 的头像
Evan Boyle9 个月前

It does not, but in our experience the grep and agentic search tools we ship that run locally work just as well!

Marc-André Moreau 的头像
Marc-André Moreau9 个月前

@haefeledev automatic workspace indexing from VSCode is *the* killer feature you have over the competition. You don't want good enough for Copilot CLI, you want the best which you already have in your other tools. Your only true competition in that area is Cursor in my mind

Marc-André Moreau 的头像
Marc-André Moreau9 个月前

@haefeledev May it be with Copilot CLI or OpenCode, GitHub Copilot is really in a position to capture a lot of Claude Code users only by leveraging the GitHub workspace indexing. Please port it, full thread here:

Evan Boyle 的头像
Evan Boyle9 个月前

@haefeledev Appreciate the feedback. We will think on it!

Otto Mixa 的头像
Otto Mixa9 个月前

This is great! Inspires me to build similar add-in now. Thank you for sharing.

Wayne Nilsen 的头像
Wayne Nilsen9 个月前

sadly can't use with cheap max 20x tokens

Ram Sharma 的头像
Ram Sharma9 个月前

Cool

Himanshu Kumar 的头像
Himanshu Kumar9 个月前

@_Evan_Boyle, the open-sourced SDK should help developers integrate custom tools into their Copilot workflows much easier.

MindMentors 的头像
MindMentors9 个月前

Too late in the game. You guys started co-pilot, had millions of users for VS Code. And Claude ate not just your breakfast, lunch and dinner but ate you guys for after dinner late night snack. Not gonna work.

Jim de Vries 的头像
Jim de Vries9 个月前

Sooooo, I can technically create a "debug" mode into my app that could catch errors in both web/api layers and automatically resolve them as I browse it? I have some stupid ideas for this, fun times ahead 🙃

shirtwascash🇺🇸⚒️🗽 的头像
shirtwascash🇺🇸⚒️🗽9 个月前

What can this do that Claude Code can't and/or synergies with it? Personally a useful thing would be copilot replacing my n8n and make running local models much faster plug & play. Build all my outward APIs in a secure way to tap into like a LastPass

Evan Boyle 的头像
Evan Boyle9 个月前

You can bring your own API keys and use any LLM model/provider including local LLMs!

shirtwascash🇺🇸⚒️🗽 的头像
shirtwascash🇺🇸⚒️🗽9 个月前

there should really be some secret sauce with copilot that goes root access others can't, you guys have a lot of advantages I'd imagine. When I read "copilot" I think "the killer AI assistant", not necessarily going straight after the crowding CLI space. I should want to plug copilot into all of my CLIs for some unique benefits and ease of access. Just thoughts

Rishabh Gupta 的头像
Rishabh Gupta9 个月前

Looking forward to it, Thanks Guys

amarjeet 的头像
amarjeet9 个月前

The excel add-in for GH Copilot in use, has that been open sourced too?

Huseyn Hajiyev 的头像
Huseyn Hajiyev9 个月前

Looks cool! 👍

Radek Voltr 的头像
Radek Voltr9 个月前

so it is application calling copilot. Instead of copilot calling application via MCP. Still can't wrap my head about usage. Any idea anyone?

Evan Boyle 的头像
Evan Boyle9 个月前

It is an agent framework. You can build your own agents with custom tools and prompts. It runs on top of the agent loop that powers the GitHub Copilot CLI.

Rahim Ali🚀🤖🔋 的头像
Rahim Ali🚀🤖🔋9 个月前

@satyanadella These agents can than be access by copilot and studio?

symmetry 的头像
symmetry9 个月前

Amazing

Neil Ghosh 的头像
Neil Ghosh9 个月前

Isn't GH Copilot a coding agent, can it (via SDK) be used for General Purpose work flow? (e.g. Gemini API)

Evan Boyle 的头像
Evan Boyle9 个月前

Yes, and yes. It is a coding agent, but the SDK allows you to customize and extend tools, prompts and behavior. The demo above has custom tools for interacting with Office documents.

相关视频