ZCode
kito-zcode sets ZCode, the coding assistant of
Z.ai, up to work through Kito. It writes the rules and Kito’s tools in a
project, and the hooks that hold ZCode to the rules in your own ZCode
settings, since ZCode runs no hooks of a project.
Who enables it, and where
Section titled “Who enables it, and where”A repository, by whoever works in it:
cd your-repositorykito assistant add zcodeThe same command as for every assistant: it installs this plugin from the registry when it is not there, enables it here, and runs it, saying each step.
Set up for ZCode: enabled the plugin zcode here: it may read ZCode is set up for Kito in this repository: wrote AGENTS.md wrote .zcode/config.json wrote ~/.zcode/cli/config.json: Kito's hooks, for every project you open in ZCodeWhat it asks for
Section titled “What it asks for”permissions = ["read"]Only read. The plugin asks the daemon nothing: the hooks are Kito’s own
commands, run by ZCode as the person who runs it.
Using it
Section titled “Using it”kito assistant add zcode writes two files in the project:
AGENTS.md: the rules of a project kept by Kito (work in a lane, change what the lane declared, know why code is the way it is), between two marks, after whatever the project says there itself. Codex reads the same file: the rules are written once, and stay while either of the two is set up..zcode/config.json: Kito’s tools,mcp.servers.kitorunningkito-mcp. ZCode connects a project’s servers when a session starts.
What is there already stays. A server called kito that is not Kito’s is
neither replaced nor taken out.
ZCode runs no hooks of a project: only those of your own configuration,
~/.zcode/cli/config.json. So what holds ZCode to the rules cannot come
with the repository, and the plugin writes nothing of yours unasked.
kito zcode hookssays whether Kito’s hooks are there, and prints them.kito zcode hooks installadds them:kito hook before-editbeforeWriteandEdit,kito hook after-shellafterBash,kito hook session-startwhen a session starts. It turns onhooks.enabled, without which ZCode runs none: hooks of your own that were there run from then on too.kito zcode hooks removetakes Kito’s out and leaves yours.
The hooks run for every project you open in ZCode, and say nothing where
Kito is not. kito assistant remove zcode takes out what was written in
the project; kito zcode hooks remove, what was written for you.
Limits, and what was not tried
Section titled “Limits, and what was not tried”- Nothing here has been run under ZCode: it is written from its documentation (3.18 was current), and follows what that documentation says ZCode sends before it writes a file.
- Not confirmed: what ZCode sends for
Edit(taken to be what Claude Code sends, as the rest is), and that it asks nothing before it uses the tools of a project’s server. - Until the hooks are installed, the rules of
AGENTS.mdare advice, and what holds ZCode to them is Kito itself when a lane is integrated. kitoandkito-mcpmust be on the PATH ZCode runs with.
Version
Section titled “Version”0.2.0