t3code icon indicating copy to clipboard operation
t3code copied to clipboard

request: Support GitHub Copilot CLI

Open Ofekw opened this issue 8 months ago • 35 comments

Please consider adding GitHub Copilot Agent harness integration and allow folks to leverage their Copilot subscriptions and quotas.

Ofekw avatar Mar 06 '26 23:03 Ofekw

Relevant links:

https://docs.github.com/en/copilot/how-tos/copilot-sdk/sdk-getting-started

GitHub Copilot SDK lets you build applications powered by GitHub Copilot in your preferred programming language. In this guide, you'll install the SDK using npm, send your first message, and add streaming responses.

https://github.com/github/copilot-sdk

Multi-platform SDK for integrating GitHub Copilot Agent into apps and services

TeamDman avatar Mar 07 '26 06:03 TeamDman

Working on implementing as an adapter 👍 will be making an pr soon

zortos293 avatar Mar 07 '26 07:03 zortos293

#295 Opened WIP PR

zortos293 avatar Mar 07 '26 07:03 zortos293

I spotted this fork by chance (already added a link in the PR thread) and thought it could be of interest? https://github.com/yappologistic/t3code/commits/main/

saulposel avatar Mar 07 '26 07:03 saulposel

Image WIP

zortos293 avatar Mar 07 '26 08:03 zortos293

Image

Added reasoning

zortos293 avatar Mar 07 '26 08:03 zortos293

Image everything should be working can someone test it out?

zortos293 avatar Mar 07 '26 12:03 zortos293

Image Updated design

zortos293 avatar Mar 07 '26 13:03 zortos293

Usage remaining is great for Copilot. Your implementation is looking good. A great addition.

saulposel avatar Mar 07 '26 14:03 saulposel

Sorry for making a dupe on this, progress looks great. Thank you so much!

AMarin14 avatar Mar 07 '26 21:03 AMarin14

np

zortos293 avatar Mar 07 '26 21:03 zortos293

Usage remaining is great for Copilot. Your implementation is looking good. A great addition.

Remember that in Copilot you can exceed the quota if enabled. Many clients are showing that wrong, even the Copilot Cli :D

jakoss avatar Mar 08 '26 14:03 jakoss

https://github.com/zortos293/t3code-copilot i am maintaining an fork till theo accepts other platforms

zortos293 avatar Mar 11 '26 10:03 zortos293

This is some really good work!

I will take a look tomorrow to see how i can make it easier for us to contribute new providers. I do want to emphasize though, that because this project is still early days, it is likely that over time we will change how we add / manage providers etc.

binbandit avatar Mar 11 '26 10:03 binbandit

@binbandit thanks for the response i will adapt based on the changes so its always up to date lmk when you guys are ready to add

zortos293 avatar Mar 11 '26 11:03 zortos293

Be advised, this will be against the Github Copilot ToS unless explicitly vouched.

For example, Opencode is an officially supported harness for Github Copilot subscriptions. But Pi is not. T3 would be the same (not supported) - and may risk a ban.

If this merges to main, this risk should be surfaced to the user.

Simplereally avatar Mar 11 '26 23:03 Simplereally

Even though t3code is not a harness but basically just a cli runner? OpenCode is definitely different as it's a harness, pi probably as well tho not sure

CanRau avatar Mar 12 '26 05:03 CanRau

Be advised, this will be against the Github Copilot ToS unless explicitly vouched.

For example, Opencode is an officially supported harness for Github Copilot subscriptions. But Pi is not. T3 would be the same (not supported) - and may risk a ban.

If this merges to main, this risk should be surfaced to the user.

Microsoft devs vouched for it so

zortos293 avatar Mar 12 '26 06:03 zortos293

https://github.com/pingdotgg/t3code/pull/295#issuecomment-4019743173

zortos293 avatar Mar 12 '26 06:03 zortos293

If we can get some form of a public notice of them saying it will not directly result in bans etc that is better than someone just saying "I love it!", but this is a good step in that direction.

binbandit avatar Mar 12 '26 07:03 binbandit