R5.160
execai R5.160
🤝 Questions with answers to pick
The agent can now ask you a question with 2–4 options instead of guessing — an unambiguous fork in the road, a choice between incompatible approaches, a requirement that reads two ways. Navigate with ↑↓, confirm with Enter, or press the option's number.
Pressing Esc is not a cancel: the model is told plainly that you declined to choose, so it decides on its own and states the assumption it made — instead of hanging or inventing an answer on your behalf.
🧩 Subagents
Task delegates a self-contained investigation to a subagent with its own loop and its own context, and returns a single block of text. Useful exactly when digging into a question would otherwise flood the main conversation: sweeping many files, collecting facts across a codebase, checking several places at once.
Two limits are deliberate:
- Subagents can only read (Read, Grep, Glob, LS, Tree, WebFetch, WebSearch). Their actions are never shown to you for approval, so they must not be able to act — the main agent, whose actions you do approve, does the writing.
- Subagents cannot spawn subagents. Recursion here multiplies provider quota spend in a way that is hard to notice.
Their iteration budget is 15 against the main agent's 40, for the same reason: every iteration is billed to your provider.
🟢 zai-api — Z.ai open platform
GLM models are now also reachable through Z.ai's open platform (api.z.ai/api/paas/v4, pay-per-token), separately from the GLM Coding Plan subscription.
It is the same key. Z.ai issues one key for both; only the billing differs (subscription quota vs prepaid balance). So if zai is already connected, /connect zai-api needs no argument — it reuses the key you already have.
Why this matters: Z.ai's usage policy limits the Coding Plan to a closed list of tools (Claude Code, Cursor, Cline, Roo Code, OpenCode and a few more), and execai is not on it — with rate limiting, account freezing and a ban after three violations on the table. /connect zai now says so plainly, in your interface language, and points at the open platform as the unrestricted path. Nothing is blocked; the choice is yours, it is just no longer silent.
🩹 Fixes
- Tool-call arguments containing Cyrillic were cut mid-character, painting garbage into the line and pulling the status hint on top of it — truncation is now rune-safe.
- The update check compared versions for equality, so any difference read as "update available" — including a rolled-back channel, which would have offered users a version older than their own.
zai-apiwas missing from the command palette, so it did not turn up when you typed/con.
⚙️ Also
The tool-use iteration limit per turn is now 50 by default (was 40) — /max-iterations N still overrides it. Subagents keep their own tighter budget of 15.
All five READMEs caught up with the last three releases: the new tools, the zai-api source, and a WebFetch description that finally matches what it does.
Install
Linux / macOS (Intel and Apple Silicon are detected automatically):
# Worldwide — GitHub Releases:
curl -fsSL https://raw.githubusercontent.com/execai/execai-agent/main/install.sh | bash
# Russia / CIS — Yandex mirror (no VPN needed):
curl -fsSL https://storage.yandexcloud.net/execai-agent-prod/execai/stable/install.sh | bashWindows (PowerShell; amd64 and ARM64 are detected automatically):
# Worldwide — GitHub Releases:
$env:MIRROR='github'; iex (irm https://raw.githubusercontent.com/execai/execai-agent/main/install.ps1)
# Russia / CIS — Yandex mirror:
iex (irm https://storage.yandexcloud.net/execai-agent-prod/execai/stable/install.ps1)Use Windows Terminal, not the old cmd.exe — the TUI only renders correctly in a modern terminal. The installer also adds a Defender exclusion (Go binaries are unsigned and occasionally get flagged) and removes stale execai.exe copies left elsewhere in PATH.
Options for both installers:
| Variable | Effect |
|---|---|
MIRROR=github / yandex |
Force a mirror. Default auto: tries one, falls back to the other |
VERSION=5.160 |
Pin a specific release instead of the latest |
INSTALL_DIR=... |
Install somewhere other than the default |
curl -fsSL https://raw.githubusercontent.com/execai/execai-agent/main/install.sh | VERSION=5.160 bashManual download — all binaries for this release: linux-amd64, linux-arm64, darwin-amd64, darwin-arm64, windows-amd64, windows-arm64, plus SHA256SUMS to verify.
Update — the same command as install: it overwrites the binary in place and keeps your config, subscriptions and history (~/.config/execai).