Skip to content

[Feature Request] Add Cline to the Kimi Code whitelist of supported coding agents #2322

@jingmengzhiyue

Description

@jingmengzhiyue

What feature would you like to see?

Summary

kimi-for-coding currently returns a 403 access_terminated_error when called from Cline (VS Code extension by Saoud Rizwan, saoudrizwan.claude-dev). The error message reads:

Kimi For Coding is currently only available for Coding Agents
such as Kimi CLI, Claude Code, Roo Code, Kilo Code, etc.

Environment

Field Value
Endpoint https://api.kimi.com/coding/v1
Model kimi-for-coding
Provider mode OpenAI Compatible
Cline version 3.79.0+

Root cause

Kimi Code's backend enforces a client whitelist by inspecting the User-Agent header. Cline currently sends a generic Node.js SDK user-agent, which is not on the whitelist. The identical request succeeds from Roo Code — a direct fork of Cline — which is already whitelisted.

Why this matters

Cline is among the most widely used open-source AI coding agents, with over 56,000 GitHub stars and active enterprise adoption. A large portion of developers who want to use kimi-for-coding are Cline users who are currently blocked with no workaround (aside from switching tools entirely).

There is an open issue on the Cline side tracking this: cline/cline#10307.

Requested change

Add Cline's identifier to the whitelist, so that Cline users can access kimi-for-coding under the same terms as Roo Code users.

Given that Roo Code is already supported and Cline is its upstream, the change on Kimi's side should be minimal — a single entry in the client allowlist.

Notes

  • I am not requesting to spoof any user-agent. The expectation is that Cline adds its own stable identifier and Kimi whitelists it officially.
  • Cline is open-source (Apache 2.0): https://github.com/cline/cline

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions