Clavue 8.22.5 · Planner + Cache Visibility

Execution-first CLI with cache-stable planner and visible DeepSeek/Grok hits.

Inspect, edit, run, verify in one loop. Planner role runs high-capability planning in isolated cache-stable sessions (protects your main DeepSeek/Grok reasoner prefix). Live cache hit % after every compact. Native-perfect tool calling and reasoning for Grok + DeepSeek on /v1/chat/completions.

Read docs

Install and first run

Start from the terminal. Stay in the execution loop.

Run once with npx, install globally for daily use, or pin a release with the installer script.

npx

npx -y clavue@8.22.5 --version
npx -y clavue@8.22.5

npm global

npm install -g clavue@8.22.5
clavue install --force
clavue

curl

curl -fsSL https://unpkg.com/clavue@8.22.5/install.sh | bash -s -- 8.22.5

Clavue Agent SDK 2.2.0

Use the Agent SDK beside the Clavue CLI.

Clavue CLI remains the primary coding product. clavue-agent-sdk is the parallel TypeScript SDK for teams that want to embed agent loops inside their own apps: no daemon, no subprocess, just run(), query(), and createAgent() in the host process. Version 2.2.0 adds synthesis risk-tier routing for synthesized tools and skills.

npm: [email protected]Parallel SDK surfaceRisk-tier routingNo schema bumpTypeScript ESM

Install the SDK

npm install clavue-agent-sdk@2.2.0

import { createAgent, inferSynthesisRiskTier } from 'clavue-agent-sdk'
import { routeSynthesisCandidates } from 'clavue-agent-sdk/contracts'

Chinese software · dragon spirit

A coding CLI with Chinese momentum, Reasonix cache discipline, and verified execution.

The dragon visual system represents focus, strength, continuity, and verified delivery. Planner sessions protect high-model prefix cache for DeepSeek/Grok. Live cache-hit visibility + native chat perfection. Provider compatibility is runtime; Clavue is the product and workflow identity.

Chinese dragon symbol for Clavue
01

Direct repo tools

Inspect files, search code, edit source, and run checks from the CLI instead of staying in a detached chat surface.

02

Provider routing control

Save profiles, assign model slots (main, haiku, sonnet, planner), validate reachability, and repair drift. planner slot for cache-isolated high-capability planning.

03

Cache-stable planner & visible hits

Planner role runs in separate session (no prefix pollution for DeepSeek/Grok reasoners). Every compact surfaces live "缓存命中 XX%" + real post-token count. 65% proactive for 512k+ windows.

04

Native Grok + DeepSeek perfection

Forced to /v1/chat/completions with complete tool_calls (id+type+function, streaming deltas, XML fallback) and reasoning_content → thinking. No lossy anthropic_messages emulation.

05

Verification discipline + long recovery

Report concrete checks first. 10min compact timeout + emergency truncate guarantee. Micro-compacts, pinned context, and boundary markers keep 200k+ sessions stable and cheap.

06

Team-ready + MCP native

Inspect team readiness, active routes, permissions. MCP tools, skills, worktrees, /mao review, /retro all in one verified loop. Reasonix-inspired discipline for cost and stability.

Provider routing

Route models deliberately. Keep the workflow Clavue-native.

Configure official login, custom API profiles, compatible gateways, and model slots (mainLoop / summarize / planner / smallFast). Planner slot for isolated cache-stable planning. Validate reachability and repair drift without changing your daily coding loop.

/provider
/provider list
/provider current
/provider doctor
/provider validate
/provider repair
/provider use gpt54-main

Active provider profile

Profile
gpt54-main
Primary
coding model
Small/Fast
helper lane
Plan/Explore
high-capability lane
Status
Validated

Set CLAVUE_API_DIALECT=openai_responses only when a gateway explicitly requires the Responses adapter.

Best use cases

Prompt Clavue for one reviewable unit, then verify it.

Fix a failing test

Inspect the failing test around provider routing, make the smallest source fix, run the targeted test, then run the relevant verification command before reporting back.
  • Read the failing test and nearby source
  • Edit only the necessary files
  • Run the targeted test first
  • Report changed files and verification results

Review a risky branch

/mao adversarial-review --base main provider routing and permissions
  • Compare against the base branch
  • Prioritize routing and permission regressions
  • Return file references and concrete risks

Configure a provider

Open provider setup, create a saved profile for this API route, validate it, and make it the default if validation passes.
  • Use clavue provider or /provider
  • Save the profile with a clear name
  • Run /provider validate
  • Use /provider doctor if behavior drifts

Team rollout

/team check
  • Inspect readiness and active config
  • Confirm provider profile conventions
  • Document verification expectations

Docs · logs · membership

Use the site as a complete product guide, not just a landing page.

Quickstart, provider setup, commands, best practices, security, troubleshooting, pricing, changelog, and membership flows are now connected.