This example demonstrates how to run Kimi Code CLI in a subprocess and interact with it using JSON messages over standard input and output.
cd examples/kimi-cli-stream-json uv run main.py