kimi-code/packages/acp-adapter
Kai 046b6c4175
fix(agent-core): scope [image] config limits to the owning core (#1521)
* fix(agent-core): scope [image] config limits to the owning core

* fix(agent-core): thread harness [image] max_edge_px to TUI paste and ACP ingestion

* chore(changeset): simplify entry to user-facing wording
2026-07-09 20:55:52 +08:00
..
src fix(agent-core): scope [image] config limits to the owning core (#1521) 2026-07-09 20:55:52 +08:00
test fix(agent-core): scope [image] config limits to the owning core (#1521) 2026-07-09 20:55:52 +08:00
CHANGELOG.md ci: release packages (#1378) 2026-07-06 23:18:32 +08:00
package.json ci: release packages (#1378) 2026-07-06 23:18:32 +08:00
README.md feat(acp): implement ACP server with session lifecycle, tool streaming, and IDE integration (#368) 2026-06-03 21:11:30 +08:00
tsconfig.json feat(acp): implement ACP server with session lifecycle, tool streaming, and IDE integration (#368) 2026-06-03 21:11:30 +08:00
tsdown.config.ts feat(acp): implement ACP server with session lifecycle, tool streaming, and IDE integration (#368) 2026-06-03 21:11:30 +08:00
vitest.config.ts chore: use raw query imports for prompt sources (#682) 2026-06-12 11:47:44 +08:00

@moonshot-ai/acp-adapter

Agent Client Protocol adapter for kimi-code. Exposes the kimi-code agent over the Agent Client Protocol so that ACP-compatible clients (editors, IDEs, custom front-ends) can drive a kimi-code session over stdio.

Part of the Kimi Code monorepo.

Minimum usage

import { createKimiHarness } from '@moonshot-ai/kimi-code-sdk';
import { runAcpServer } from '@moonshot-ai/acp-adapter';

const harness = await createKimiHarness();
await runAcpServer(harness);

runAcpServer reads JSON-RPC from process.stdin, writes to process.stdout, and resolves when the client closes the connection. SIGINT and SIGTERM trigger a graceful drain that calls harness.close() before the process exits.

See docs/zh/reference/kimi-acp.md for the full capability matrix (which Agent methods are wired, which extensions are stubbed, image / MCP support) and docs/zh/guides/ides.md for Zed and JetBrains setup.

License

MIT