This repository was archived by the owner on Sep 23, 2026. It is now read-only.
Repository navigation
Replies: 0 comments
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.
Summary
Today, validating the Rust backend from
kimi-clirequires tricky test-time overrides (for example settingKIMI_E2E_WIRE_CMDand patching specific e2e paths). This makes local verification and CI setup fragile.We should add a first-class runtime switch in
kimi-cliso Python and Rust backends can be selected explicitly without test-specific hacks.Problem
kimi-clito the Rust backend.Proposal
Add backend selection to
kimi-cli:--kernel <python|rust>KIMI_KERNEL=python|rustKIMI_KERNEL_BIN=/path/to/kimi-agentBehavior:
pythonkeeps current behavior (default).rustroutes runtime startup through wire mode usingkimi-agent.--kernel rustis selected but binary is unavailable, return a clear actionable error.Why this helps
Suggested Acceptance Criteria
kimi --kernel rustruns with the Rust backend in normal workflows.KIMI_KERNEL=rustworks without CLI flag.KIMI_KERNEL_BINcan override binary path for local/dev builds.Notes
This is primarily a testability and integration ergonomics improvement, but it also provides a clear user-facing control for backend selection.
All reactions