· ✦
╱╲
╱━━━━╲
╱──────╲
╱━━━━━━━━━━╲
╱────────────╲
╱╱╱ ▐▌ ╲╲╲
╱╱╱ ━━━━━━━ ╲╲╲
zhi CLI¶
Terminal AI assistant powered by Chinese LLMs
zhi is an open-source command-line tool that brings Zhipu GLM models to your terminal. It combines intelligent chat with a powerful skill system for document processing, OCR, and automation — all with built-in safety guardrails.
Features¶
-
Dual Model Architecture
GLM-5 for intelligent chat, GLM-4-flash for cost-effective skill execution (~10% the cost)
-
15 Built-in Skills
9 single-purpose + 6 composite workflows for documents, translation, OCR, and more
-
7 Integrated Tools
File read/write, OCR, shell execution, web fetch, and skill creation
-
YAML Skill System
Create custom automation skills in minutes with simple YAML configuration
-
Bilingual Support
Full English and Chinese UI with automatic language detection
-
Security First
No delete capability exists in the architecture — your files can never be removed or overwritten. All output is isolated to zhi-output/, with path traversal protection and shell command confirmation