Repository navigation
Replies: 3 comments
|
Note 🤖 Composer responding on behalf of wSedlacek Prior effort: #32221 and Windows follow-up #32630 (closed for prior-approval / no new providers without a product yes). What we learned trying it
|
|
+1 for GitHub Copilot as its own opt-in provider. I've invested heavily in the native SDK integration on a T3code I've been managing for work as the original discussion mentioned, a lot of enterprises offering Copilot as their harness could benefit a lot from this kind of agentic flows and if we could get it natively through T3 that would only increase its adoption at an even wider scale. I understand that the limitations of how it handles their credits and whatnot may differ from common harnesses, but I think the investment and value should not be taken lightly. Some details from that build, in case they help with the maintenance question. I followed
That fits the plan above: a self-contained first PR, then rewind, subagents and text generation, with #32221 as the reference for those. Happy to help test whichever direction you choose. |
|
I would love to have this native support for copilot inside t3code. |
Uh oh!
There was an error while loading. Please reload this page.
Summary
This discussion asks for a direction decision. Should T3 Code have an opt-in GitHub Copilot provider built on
@github/copilot-sdk?CONTRIBUTING.md says a new provider needs maintainer approval before code. #32221 was closed for that reason, and the closing comment asked for an Ideas discussion. This is that discussion. A clear yes or no is useful either way.
Why Copilot
Many developers get Copilot through their employer's Microsoft or GitHub AI plan. That plan includes a large monthly allowance of premium requests, and a lot of it goes unused.
T3 Code can run several agents in one place. A team could have Claude plan the work and hand parts of it to Copilot agents. That uses Copilot credits the company already pays for and reduces spend on other providers. The Copilot CLI alone does not support this kind of workflow.
#15733 has 11 upvotes, and at least one team evaluating T3 Code said native Copilot support would help them adopt it.
Why ACP is not enough
Copilot runs through the ACP Registry today, and basic turns work. The problems below come from what ACP can express. They were re-checked on current
mainafter #26951, #26651, #26968 and #26959 landed.AcpProviderCapabilitiesV2hassupportsActiveSteering: false, so T3 Code steers by interrupting and restarting the turn. That cancels running background agents. Upstream closed ACP: session/prompt unconditionally aborts the session, cancelling all running background sub-agents (interactive TUI does not) github/copilot-cli#4555 and treats holdingsession/promptas intended, so ACP will not fix this. [Bug]: Steering a GitHub Copilot thread kills its running background agents #26695 and [Bug]: Copilot ACP runs stay Working while a background (async) shell runs, because session/prompt is held #27301 are both caused by it.systemMessageoption, which works like Claude's system prompt append and Codex's developer instructions.canForkFromTurn: false. T3 Code falls back to a context handoff, but the Copilot session still keeps the context the user removed.copilotAcp.ts, an agent-id gatedgithub.com/copilot/sessionEventfeed, and branches inadapter.ts.docs/internals/adding-a-provider.mdsays "Never add agent-id checks to the generic registry adapter." A separate package moves that code out of the shared adapter.Proposal
packages/provider-copilot, on@github/copilot-sdk. It is off by default and uses the user's installedcopilotCLI andcopilot login.If the maintainers already plan their own Copilot provider work, say so here, and the gap analysis above can go into that work.
Reference implementation
#32221, with #32630 for Windows, is a working implementation. Contributors tested it with real Copilot accounts.
The PR is linked as evidence only. It does not need to be reopened.
History
@github/copilot-sdkEarlier discussions were closed with "use ACP". This one lists the specific gaps that ACP cannot close for Copilot.
Question for maintainers
Yes, no, or not now: an opt-in Copilot provider on
@github/copilot-sdk, with the ACP Registry entry unchanged, shipped in small PRs.Original proposal and gap analysis by me in #15733 and #32221. Live testing by @wSedlacek, @maria-rcks and @NicL9923.
Finally, thank you for considering :)
All reactions