Skip to content

Releases: numman-ali/zai-cli

zai-cli v1.1.0

02 Jan 12:29

Choose a tag to compare

Added

  • Repo search language flag (defaults to English) and repo tree path/depth expansion.
  • Web reader flags for images summary, GFM control, and data URL preservation.
  • MCP tool discovery cache with 24h default TTL plus configurable cache directory.
  • Automatic retry/backoff for transient MCP failures (vision defaults to 2 retries).
  • --no-vision to skip vision MCP startup for faster non-vision commands.
  • Live MCP coverage tests and a tools benchmark script.
  • Advanced skill reference for raw tool usage and performance tuning.

Changed

  • CLI version now reads from package.json.
  • Tool schema output is redacted for secrets.

v1.0.0 - Initial Release

29 Dec 14:03

Choose a tag to compare

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