922 B
922 B
ZCode Integration
ZCode is Z.ai's GLM-based coding agent harness. Each agency
agent is rendered as a standalone Markdown agent file with name and
description frontmatter, which ZCode discovers from its agents directory.
The generated files come from scripts/convert.sh --tool zcode, which writes
one Markdown file per agency agent into integrations/zcode/agents/. Those
generated files are not committed (see .gitignore); regenerate them locally.
Generate
From the repository root:
./scripts/convert.sh --tool zcode
Install
Run the installer from your target directory:
cd /your/project && /path/to/agency-agents/scripts/install.sh --tool zcode
Agents install to ~/.zcode/agents/<slug>.md (user scope) — the directory
ZCode reads subagents from. Use --division / --agent to install a subset,
or set ZCODE_AGENTS_DIR to override the destination.