[Feature]: Add a Kilo SDK-backed provider adapter #6713
Githubguy132010
started this conversation in
Ideas
Replies: 2 comments
|
KIlo would be great. espeically since opencode is already installed and does work similar. |
0 replies
|
I'm still waiting on #2829 to get merged. So, this hasn't died off yet! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/server
Problem or use case
I want to use Kilo inside T3 Code as another agent runtime alongside Codex and Claude. Today T3 Code supports Codex directly and Claude through the Claude Agent SDK, but there is no Kilo adapter. That makes it impossible to use Kilo's headless session runtime, dynamic upstream model inventory, and structured event stream from the T3 web UI.
Kilo appears to expose a better integration surface than plain CLI scraping through
@kilocode/sdk, which can launch or connect tokilo serveand provides typed session, provider, and event APIs. T3 Code currently cannot take advantage of that.Proposed solution
Add a new provider kind,
kilo, implemented as a Kilo SDK-backed adapter in the existing provider/session architecture.Requested behavior:
kilo, rather than mirroring Kilo's internal upstream providers as separate top-level T3 providers.@kilocode/sdkas the integration layer, using Kilo's headless server/session APIs rather than parsingkilo run --autooutput./provideras the primary source of live model inventory.providerID/modelIDformat.This should be scoped as a provider adapter and event-mapping feature, not as an attempt to mirror all of Kilo's product concepts or configuration UI inside T3 Code.
Why this matters
This would let users run Kilo from the same T3 Code interface they already use for Codex and Claude, instead of switching to a separate CLI workflow.
It also unlocks:
Smallest useful scope
A first useful version would:
kiloas a third provider in T3@kilocode/sdkor equivalent Kilo server APIs for provider/session integration/providerNon-goals for the first pass:
Alternatives considered
kilo run --autooutput directly. This seems simpler at first, but it is likely more brittle and gives weaker access to structured events, session APIs, and live provider/model metadata.Risks or tradeoffs
Examples or references
/home/thomasbrugman/code/kilocode/packages/sdk/js/package.json:3/home/thomasbrugman/code/kilocode/packages/sdk/js/src/server.ts:54/home/thomasbrugman/code/kilocode/packages/sdk/js/src/client.ts:8createKilohelper:/home/thomasbrugman/code/kilocode/packages/sdk/js/src/index.ts:8/home/thomasbrugman/code/kilocode/packages/sdk/js/src/gen/sdk.gen.ts:431/home/thomasbrugman/code/kilocode/packages/sdk/js/src/gen/types.gen.ts:2965/home/thomasbrugman/code/kilocode/packages/sdk/js/src/gen/types.gen.ts:439,/home/thomasbrugman/code/kilocode/packages/sdk/js/src/gen/types.gen.ts:467,/home/thomasbrugman/code/kilocode/packages/sdk/js/src/gen/types.gen.ts:515apps/server/src/provider/Layers/ClaudeAdapter.ts:20apps/server/src/provider/Layers/CodexAdapter.ts:37Open questions worth discussing in implementation/design review:
Contribution
All reactions