whereismyai
CtxWise
CtxWise is an AI context firewall and token profiler for coding agents.
CtxWise is a local-first AI context firewall, MCP schema tree-shaker, and token profiler designed for Claude Code, OpenAI Codex, and Cursor. It audits startup tokens, profiles MCP server tool-schemas, and synchronizes rules across multi-agent setups. The tool protects repositories by detecting leaked API keys, prompt injection, and hidden Unicode characters. It runs locally with zero configuration or model calls. Developers use it to maintain strict token budgets and secure their workspaces against unintended context bloat.
CtxWise at a glance
- Best for: Software engineer
- Runs on: CLI, Web
- Pricing: Free
- Released: October 2026
- Category: AI coding tool
- Website: github.com/framy2/ctxwise
Key features
- Audit startup tokens and parity across agents
- Synchronize and compress multi-agent rule files
- Profile MCP server tool-schema token weights
- Detect exposed API keys and private keys
- Block prompt injection and Trojan Unicode
- Bootstrap curated stack presets and budgets
- Run as a GitHub Action for CI security guards
Use it for
- Trimming bloated MCP tool schemas to save tokens
- Synchronizing rules across Claude Code and Cursor
- Scanning agent context files for leaked API keys
- Enforcing context token budgets in CI pipelines
Alternatives to CtxWise
- Ctxvitals — Measures exact token costs and security risks before agent launch.
- Ctxfw — Reduces AI context token mass while preserving code structure and dependencies.
- Stagewise — Maintain full sovereignty over AI models while running agents in parallel.
- CodeGraph — It eliminates file crawling, reducing AI agent tool calls by 88% and cutting costs.
- Coucou — It provides open-source, real-time agent monitoring and approvals directly from the screen notch.
- Claude Context — It reduces token costs and provides deep context for large codebases.
- CodeSight — Reduces AI token usage significantly and maps projects instantly.
- Flash Agents — Offloads reading and typing to cheap workers while keeping Claude for review
- Chemical X — Stops wasting agent context on CLI noise and compiler dumps.
- ARTEX — Runs autonomous multi-agent penetration testing with a dual-graph architecture.
- Stroq — Scans recorded sessions and guards future actions with local hooks.
- Context Mode — Saves up to 98 percent of context per session by keeping raw data out of the LLM.
All CtxWise alternatives