Getting started.
Install, restart, verify. Warden handles the rest — pruning, compression, memory, verification. No config files, no settings, no tuning. Five commands total, and three are optional.
What warden init does
Everything is active after init. No manual commands needed. Idempotent — safe to re-run anytime.
Install
One command installs Warden globally and runs init — registers in every detected agent, writes rules files, builds code index, compresses memory files.
Or: curl -fsSL https://raw.githubusercontent.com/rynald0cst0ltziam/Warden-AI/main/install.sh | bash
warden init auto-detects every MCP-compatible agent on your machine (Claude Code, Cursor, Windsurf, Codex, Cline, Zed, JetBrains, Amazon Q, Gemini CLI, Aider, Goose, OpenHands, and 20+ more) and registers Warden in each. It writes rules files (CLAUDE.md, .cursorrules, AGENTS.md, .devin/rules) that tell your agent to use Warden's wrapper tools. It builds the code index for structural queries. It compresses memory files to save tokens every future session. Idempotent — safe to re-run.
Restart your agent
Close and reopen your IDE. The agent reads the rules files on startup and starts using Warden tools automatically.
New projects and spaces work automatically. When you open a new project in any agent, Warden auto-initializes on first serve — writing rules files and creating the project database. No need to run warden init again.
See your savings
Three ways to watch tokens accumulate as Warden prunes every tool call.
Every tool call shows ‹warden› savings inline. Session start prints: "Warden active — X tokens saved (Y% reduction), Z rules live."
Live, real-time display of token savings, rule status, and confidence bars. Updates as the agent works.
Browser UI at localhost:7878 — rule status, confidence bars, token savings, recent decisions. Auto-refreshes every 3 seconds.
Verify it works
Run a full health check — 10 checks, clear pass/fail report.
Checks MCP registration, rules files, pruning engine, memory system, FTS5 index, code index, CCR cache, outcome tracking, budget tracker, and database integrity. If anything fails, it tells you exactly what to fix.
Run benchmarks
See actual compression numbers on your own files — pruning, file compression, and response rules.
Runs all pruning modules on real files from your project. Shows before/after tokens, reduction percentage, and trust guard pass rate for each. This is real evidence, not marketing claims.
After init, everything is active
Making it automatic
The rules files written by warden init tell your agent to:
After running warden init, restart your agent. The agent reads the rules files on startup and follows them. You don't need to invoke any Warden commands yourself — the agent handles it all.