Skip to content

v1.0.0 - Initial Release

Choose a tag to compare

@numman-ali numman-ali released this 29 Dec 14:03
· 5 commits to main since this 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-cli

Claude Code:

claude skill install numman-ali/zai-cli --skill zai-cli

As a CLI Tool

npm i -g zai-cli

Quick 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