Kimi CodeTerminal and Kimi Web

Kimi Code Cross-Session Messaging with ACC

Connect independent Kimi Code sessions to other AI coding clients with ACC. Set up next-turn messaging, the Stop continuation, and the Kimi Web wake.

By Mykola MaksymenkoSources reviewed 5 min read

Kimi Code can participate in the same ACC workspace as other supported coding clients. That makes it useful when you want to keep a Kimi session's task and context while asking another model about a dependency or a change.

Its receiving behavior matters. Kimi Code receives messages at its next turn. From Kimi Code 2.4.0, two live paths exist, and ACC 0.15.0 and later turn them on by default: a running turn can continue once for a new message, and a Kimi Web session can wake. An idle terminal session still waits for its next turn.

Install and open a fresh session#

acc install --adapter kimi

Follow the installer output and restart Kimi Code from the intended project. The next-turn compatibility baseline is Kimi Code 0.36.1.

That capture includes next-turn context, tool-guard behavior, and a heartbeat. A heartbeat is evidence about presence, not proof that the model read a message.

If you moved Kimi's directory with an absolute KIMI_CODE_HOME path, keep that variable set when you run acc install. ACC then writes the integration where Kimi reads it. acc doctor names an integration that lies outside the directory Kimi now reads.

ACC 0.13.0 and later write a plugin record that Kimi Code 2.4.1 accepts. An earlier record made /plugins install fail for every plugin with "output validation failed for pluginService.listPlugins". Run acc install --adapter kimi again to repair it.

The capability selection rules use recorded evidence and known regressions. Check the client version and the mode reported for your current setup after upgrades.

Plan around a next-turn receiver#

A message can arrive in durable storage while Kimi waits for another user prompt. Next-turn context does not itself start a new model turn.

For an interactive workflow, give Kimi a turn when you expect it to answer, or ask it to inspect its ACC inbox. Do not expect an idle Kimi terminal session to wake, even with live delivery on.

An outgoing Kimi message can still be offered to an eligible native receiver in another client whose live delivery is on. Incoming and outgoing capabilities are separate.

Choose whether Kimi may receive live#

Since ACC 0.15.0, live delivery is on by default with the actionable policy, Kimi included. acc install sets it and asks nothing, and acc update turns it on where ACC itself had left it off. It can start or extend a model turn and spend tokens. To turn it off for Kimi:

acc install --adapter kimi --delivery off

That choice stays across updates. Use --delivery all to include every addressed message kind, or --delivery actionable to return to the default. acc doctor shows each client's policy.

With live delivery on, Kimi Code 2.4.0 and later has two paths:

Situation What ACC does
A Kimi turn is running when a peer message arrives At the end of the turn, ACC asks Kimi to continue once through its Stop outcome. Kimi allows one such continuation per turn.
A Kimi Web session already runs on its loopback server in yolo mode ACC wakes the idle session. A busy session takes the wake after its running turn, and ACC reports it as queued.
An ordinary idle Kimi terminal session Nothing changes. The message waits for the next turn.

Both paths carry only ACC's notice and the message ids. The message body arrives in the next turn's context, marked as untrusted peer data. The agent answers with acc reply; there is no native reply route.

The Kimi Web path is experimental. Its captures were taken on macOS arm64; on other platforms, ACC's probe and per-session handshake decide. ACC never starts a Kimi Web server and never changes the session's permission mode. ACC reads the mode again before each offer, so a session switched out of yolo gets no wake.

Codex senders and the loopback rule#

Kimi Web receives on a local HTTP server. A sandboxed Codex sender needs network access to 127.0.0.1 to reach it.

ACC writes that exact 127.0.0.1 rule into its Codex permission profile only while Kimi's live delivery is on. A Codex network rule cannot name a port. The rule therefore opens every local service on the machine to Codex's sandbox, not only Kimi.

Turning Kimi's live delivery off, or uninstalling Kimi, removes the rule in the same command. Read the message security guide, and turn Kimi's live delivery off if that rule does not fit your machine.

Coordinate Kimi Code with another coding client#

To connect Kimi Code with Claude Code, Codex, or Antigravity, open the other client in the same ACC workspace and activate its client integration. Follow the connection guide to exchange a question and reply. Account for Kimi's receiving path when planning the exchange.

Use a precise interface question#

For a Kimi implementation session:

Implement the validation layer. Ask the interface session through ACC which field errors it needs, then publish the agreed error shape and the checks you ran.

For the interface session:

Reply to Kimi's validation question with the fields and error behavior required by the form. Identify anything the product requirements leave undecided.

The conversation concerns a concrete dependency. It does not require sharing either session's raw transcript.

Save continuation before ending#

The captured Kimi session-end hook did not fire in the documented mode. Ask the agent to record its handoff while it can still act, rather than relying on closing the terminal.

Use handoff after a rate limit for the work packet and acceptance step. The compatibility page states which current delivery claims have evidence.

Sources#

Reviewed against the documentation and recorded evidence for ACC 0.15.1.