What version of Kimi Code is running?
0.15.0
Which open platform/subscription were you using?
subscription
Which model were you using?
kimi-for-coding
What platform is your computer?
macOS (Apple Silicon)
What issue are you seeing?
When using kimi acp mode, authentication requires running kimi acp --login interactively. Configuring credentials in setting.toml (e.g. API Key) has no effect — ACP mode does not read these settings and still demands a fresh login.
What steps can reproduce the bug?
- Configure a valid API Key / credentials in
setting.toml
- Run
kimi acp to start ACP mode
- ACP mode does not pick up the
setting.toml configuration and requires kimi acp --login
- Compare: running
kimi directly (terminal mode) correctly reads the config and authenticates without interactive login
What is the expected behavior?
kimi acp should follow the same authentication logic as the terminal mode:
- If
setting.toml contains a valid API Key, ACP mode should use it directly without requiring --login
- Alternatively, support non-interactive authentication methods (environment variables, config files) for ACP mode, consistent with the terminal mode
Additional information
This issue is particularly impactful when using agentline, which communicates with kimi-code over ACP in an automated, non-interactive setting. Since kimi acp --login requires manual interaction each time, it blocks use cases like background services, CI/CD pipelines, or any headless ACP integration.
Supporting config-file or environment-variable-based authentication in ACP mode would resolve this and bring parity with the terminal mode.
What version of Kimi Code is running?
0.15.0
Which open platform/subscription were you using?
subscription
Which model were you using?
kimi-for-coding
What platform is your computer?
macOS (Apple Silicon)
What issue are you seeing?
When using
kimi acpmode, authentication requires runningkimi acp --logininteractively. Configuring credentials insetting.toml(e.g. API Key) has no effect — ACP mode does not read these settings and still demands a fresh login.What steps can reproduce the bug?
setting.tomlkimi acpto start ACP modesetting.tomlconfiguration and requireskimi acp --loginkimidirectly (terminal mode) correctly reads the config and authenticates without interactive loginWhat is the expected behavior?
kimi acpshould follow the same authentication logic as the terminal mode:setting.tomlcontains a valid API Key, ACP mode should use it directly without requiring--loginAdditional information
This issue is particularly impactful when using agentline, which communicates with
kimi-codeover ACP in an automated, non-interactive setting. Sincekimi acp --loginrequires manual interaction each time, it blocks use cases like background services, CI/CD pipelines, or any headless ACP integration.Supporting config-file or environment-variable-based authentication in ACP mode would resolve this and bring parity with the terminal mode.