Blitz 1.4.0
Blitz 1.4.0 introduces Model Tiering, routing each turn, sub-agent, and auxiliary call to the smallest model tier that fits, dialing thinking effort dynamically, and escalating to a Frontier model when a loop stalls. It also hardens ACP subprocess lifecycles, prompt optimizer edge cases, and session model inheritance.
- Update Blitz. It updates itself, or run
sudo apt upgradeorbrew upgrade --cask blitz, or download it from the GitHub release. - Turn on model tiering for a conversation with
/tiers on, or enable it globally in.env.tomlusing one of the provider examples below.
Add a [tiers] block to your .env.toml (global or workspace) to configure your preferred provider:
Gemini
[tiers]
enabled = true
lightweight = "gemini/gemini-3.8-flash"
mid = "gemini/gemini-4-hydrogen"
frontier = "gemini/gemini-4-neon"
dynamic_effort = true
# edge_compress = false
# verify_diff = false
Claude (Anthropic)
[tiers]
enabled = true
lightweight = "anthropic/claude-haiku-4-5"
mid = "anthropic/claude-sonnet-5"
frontier = "anthropic/claude-opus-5"
dynamic_effort = true
# edge_compress = false
# verify_diff = false
ChatGPT (OpenAI)
[tiers]
enabled = true
lightweight = "openai/gpt-5-mini"
mid = "openai/gpt-5"
frontier = "openai/gpt-5.4-pro"
dynamic_effort = true
# edge_compress = false
# verify_diff = false
- Role and subtask routing.
/planruns route to Frontier while approvedCarryOutPromptexecution drops to Mid-Tier. Built-in agents declare a defaulttier(lightweight,mid, orfrontier) in frontmatter, andinvoke_agentaccepts an explicittierhint. Explicit[agent_models]pins and/modeloverrides always win. - Dynamic thinking effort (
dynamic_effort = true). Adjustsreasoning_effortper call based on tier, context size, and recent failures without mutatingthinking_budgetmid-conversation, keeping prompt caches warm. - Waterfall and budget-cap escalation. Consecutive deterministic tool or command failures (default
2) or burning60%of a budgeted sub-agent’s turns with unresolved failures trigger a compact Frontier diagnosis and promote the sub-agent’s active endpoint to Frontier for recovery. - Optional edge compression & diff review.
edge_compress = trueroutes oversized (> 16384bytes) noisy tool outputs through the Lightweight tier with deterministic content-hash caching.verify_diff = trueruns a capped Frontier critique ongit diffafter Mid-Tier file edits. - Per-session
/tierscommand. Available in both the terminal REPL and desktop composer (/tiers on|off,/tiers lightweight|mid|frontier <model>,/tiers escalate|effort|compress|verify on|off). - Task economics telemetry. Records
blitz.task.cost_usd,blitz.task.calls,blitz.tier.calls, andblitz.tier.escalationsalongside numerictask_outcomeaudit records for/reflect.
- ACP & provider lifecycle. Decoupled stdio subprocess lifetimes from turn contexts, broke mutual recursion in session creation, shared transport framing, cleaned up MCP servers on startup errors, and preserved
conversationModelinheritance for background tasks andmax_turns-bounded sub-agents. - Prompt optimizer edge cases. Tightened stack-trace detection, added support for nested tag blocks and multiline openers, and prevented truncation marker budget overflows.
- Model tiering is off by default (
enabled = false); existing setups behave identically until you opt in. - See the Model Tiering & Savings guide for full details on precedence rules, provider defaults, and cost-per-task benchmarks.