AI-powered coding assistant using Z.ai's GLM-4.6 model.
- 🚀 200K context window for large codebases
- 💡 Code explanation and documentation
- 🔧 Smart refactoring suggestions
- 🐛 Automatic bug detection and fixes
- ⚡ Fast responses with GLM-4.5-Air option
- Get your API key at z.ai/subscribe
- Install the CLI
- Enter your API key when prompted
- Start coding with AI!
git clone https://github.com/z-ai/zai-coding-agent
cd zai-coding-agent
cargo build --releaseDownload the latest release from GitHub Releases.
zaizai "How do I implement a binary search in JavaScript?"zai config # Show current configuration
zai config --model # Change model
zai config --key # Change API key| Model | Context | Best For |
|---|---|---|
| GLM-4.6 | 200K | Complex coding tasks |
| GLM-4.5 | 128K | General use |
| GLM-4.5-Air | 128K | Quick responses |
This project is based on Goose by Block, Inc. Licensed under Apache 2.0.
Apache 2.0