v1.0.0 - Initial Release
ZAI CLI: MCP-native command line interface for Z.AI capabilities.
Features
- Vision - Analyze images, screenshots, diagrams, charts, videos using GLM-4.6V
- Search - Real-time web search with domain and recency filtering
- Reader - Fetch and parse web pages to markdown
- Repo - Search and read GitHub repository code via ZRead
- Tools - MCP tool discovery, schemas, and raw calls
- Code Mode - TypeScript tool chaining for agent automation
Installation
As an Agent Skill
OpenSkills (universal):
npx openskills install numman-ali/zai-cliClaude Code:
claude skill install numman-ali/zai-cli --skill zai-cliAs a CLI Tool
npm i -g zai-cliQuick Start
export Z_AI_API_KEY="your-api-key"
npx zai-cli --help
npx zai-cli vision analyze ./screenshot.png "What errors do you see?"Get your API key at: https://z.ai/manage-apikey/apikey-list