Local AST Context Optimization
& Cross-Agent Shared Memory.
Connect Claude Code · Cursor · VS Code · OpenAI Codex CLI · Google Antigravity in one command. Native AST code slicing, Cross-File CoT Anchors, causal log filtering, and auto-compacting local memory reduce redundant session context consumption by ~40%–50% (Internal Benchmark; varies by codebase and prompt pattern) — 100% on your machine.
pip install cdx-code-booster && cdx-code-booster --install
3 Ultra-Lean Native Engines, Zero Schema Bloat
0ms prompt hook overhead, zero background indexers, and 0 bytes sent to external clouds — compiled into native Cython (.pyd/.so) binaries.
1. AST Smart Reader + CoT Anchor
Slices exact target classes/functions instead of loading entire files, and pins both intra-file and cross-file imported symbol line numbers to eliminate speculative CoT loops.
2. Polyglot Error Log Slimmer
Strips repetitive CI/compiler progress noise and separates external site-packages and node_modules frames so your exact project fault line appears first.
3. Auto-Tidy 5-IDE Memory Relay
Hit a 5-hour session cap in Claude Code? Switch immediately to Cursor, VS Code, Codex CLI, or Antigravity with an auto-deduplicated Top-9 handoff brief that supersedes stale drafts and quarantines reverted dead-ends.
Seamless 5-IDE Native Configuration
One command configures official MCP endpoints and always-on quota-saving rules across all five primary coding environments.
# Verify Claude Code integration & live token savings cdx-code-booster --stats # Generated bundle: ~/.cdx_code_booster/claude-code-plugin/.mcp.json + CLAUDE.md
Payload Architecture: Raw Injection vs. AST Surgical Extraction
Standardized payload comparison on representative engineering tasks (Internal Benchmark). Operates identically across cloud subscriptions, API keys, and local LLM runtimes.
Exposed MCP Tool Reference
| MCP Tool Identifier | Core Capability | Measured Reduction (Internal Benchmark) |
|---|---|---|
cdx_smart_file_read |
AST symbol map, targeted slices, and intra/cross-file CoT call coordinates | ~65% to 92% input token reduction |
cdx_slim_log |
CI/compiler log deduplication and project fault frame pinning above library noise | ~70% to 96% log token reduction |
cdx_agent_memory |
Auto-compacting shared memory across Claude Code, Cursor, VS Code, Codex CLI & Antigravity (topic deduplication & obsolete dead-end pruning) | Top-9 brief eliminates stale re-briefing overhead |
Practical Usage Guide & Cross-Agent Relay Examples
After running cdx-code-booster --install, installed rules trigger AST slicing and log filtering automatically. For cross-agent handoffs or targeted reads, simply ask in plain English or run CLI commands.
1. Save State Before Switching
When hitting a 5-hour cap or switching from Claude Code to Cursor/VS Code/Codex, ask the current agent to checkpoint your progress:
Save our current auth refactor summary and remaining TODOs to CDX memory under project 'checkout-api'.
2. Quarantine Reverted Attempts
If an experiment failed or was rolled back, mark it obsolete so the next agent never wastes quota repeating it:
Save an obsolete note to CDX memory for 'checkout-api': [reverted] Redis lock caused timeout under load.
3. Pick Up Instantly in Next IDE
Open Cursor, VS Code, Codex CLI, or Antigravity and resume with one sentence — stale drafts and obsolete notes are filtered out:
Recall CDX memory for project 'checkout-api' and continue implementing the remaining TODOs.
# 1. Targeted AST Read & Log Slimming (Automatic via installed rules, or ask explicitly in chat): # Chat prompt: "Use CDX smart file read on src/OrderWorkspace.tsx for symbol 'handleConfirmRefund'" # Chat prompt: "Run pytest and pass any failure output through CDX slim log" # 2. Initialize project-scoped MCP configs (.mcp.json, .github/copilot-instructions.md, .cursor/rules, .codex): cdx-code-booster --init-project . # 3. Inspect live subscription status & cumulative local token savings ledger: cdx-code-booster --stats # 4. Manually compact & deduplicate shared memory vault (or export portable JSON pack): cdx-code-booster --consolidate-memory --project checkout-api cdx-code-booster --export-team-memory .cdx/team_memory.json --project checkout-api # 5. Optional — Use a custom local storage folder across all 5 IDEs (local SSD recommended): cdx-code-booster --install --data-dir "/path/to/custom_booster_vault" # 6. Activate Pro license key ONCE (1+1 Limit: 1 desktop + 1 laptop; use --deactivate when replacing PC): cdx-code-booster --activate CDXCB1.<payload>.<signature>
Technical Specifications, Authentication & Storage Architecture
Everything runs 100% locally inside a pre-compiled native binary (.pyd / .so) with zero cloud proxies, zero background indexers, and zero third-party credential access.
1 Key Unlocks All IDEs — Zero AI Credentials Needed
Keep using your existing Claude, OpenAI, Cursor, or Google logins untouched — CDX never requests your LLM API keys or OAuth tokens. Running --activate once per machine saves an offline Ed25519 signature key shared automatically across every connected coding tool.
User-Selectable Storage Folder (--data-dir)
Defaults to ~/.cdx_code_booster/ (SQLite WAL), or point all IDEs to any local drive or encrypted volume via cdx-code-booster --install --data-dir <PATH> or CDX_CODE_BOOSTER_DIR. (Use local disks rather than live OneDrive/Dropbox sync folders; use JSON packs for multi-PC transfer.)
Supported Languages & Parser Depth
Deep symbol & call-graph extraction for Python (ast), TypeScript / JavaScript / React (.ts, .tsx, .jsx hooks, memo(forwardRef), inner useCallback, JSX <Component /> graph), Go, Rust, C/C++, and Java, plus automatic minified/binary file protection.
OS Runtimes & Wider Editor Compatibility
Pre-built native wheels for macOS (Apple Silicon & Intel), Linux (x86_64 & ARM64), and Windows x64 on Python 3.10–3.13. 1-command auto-setup for Claude Code, Cursor, VS Code (Copilot), Codex CLI & Antigravity, plus standard stdio MCP support for Cline, Orca, Windsurf & Zed.
Simple Plans & Zero-Downtime Guarantee
Start instantly with 30 days of full access — no credit card or signup required. Post-trial sessions gracefully switch to Safe Pass-Through without interrupting your workflow.
pip install cdx-code-booster, no credit card or signup required). Automated online card checkout ($5/mo Launch Promo) is currently in preparation; for early commercial CDXCB1.* license inquiries, contact support@cdxengine.com.
30-Day Full Trial
- Instant start — zero signup or API key
- AST smart code slicing & CoT Anchors
- Polyglot CI & error log slimming
- 5-IDE shared memory relay (isolated per project)
Safe Pass-Through
- Automatic graceful fallback on Day 31
- Zero workflow errors or hard lockouts
- Up to 25 shared memory notes retained
- Offline license activation anytime
Pro (Single-Developer License)
- AST code slicing & Cross-File CoT Anchors
- Polyglot CI & error log slimming
- 5-IDE shared memory relay (isolated per project)
- 1+1 Personal Device Limit (1 desktop + 1 laptop)
Need enterprise PII masking (BYOS Cloak) and server-grade multi-agent middleware? Explore CDX Agent Dock v2.1 →
Frequently Asked Questions
Key operational details on authentication, data privacy, custom storage directories, and multi-editor compatibility.
Do I have to authenticate separately in each AI tool or enter my LLM API keys?
No. Your existing subscriptions in Claude Code, Cursor, Codex CLI, and Antigravity stay untouched, and CDX never asks for your LLM API keys. During the 30-day trial, zero activation is needed; when upgrading to Pro, running cdx-code-booster --activate once unlocks all connected IDEs simultaneously.
Can I choose a custom folder for the shared memory DB and license file?
Yes. Run cdx-code-booster --install --data-dir "D:/my_vault" (or set CDX_CODE_BOOSTER_DIR) to store booster_vault.sqlite and license.key on any local drive or encrypted volume. Avoid placing live SQLite WAL databases directly inside OneDrive/Dropbox/iCloud sync folders; use --export-team-memory JSON packs to move notes across machines.
Does my source code, error log, or shared memory ever leave my computer?
Never. AST parsing, log deduplication, SQLite storage, and Ed25519 license signature verification execute 100% locally with zero outbound network calls or telemetry.
Can I use my Pro license on both my desktop and my laptop?
Yes — up to 2 personal devices (1 + 1: 1 desktop + 1 laptop) owned by the same developer. Device slots are enforced via anonymous SHA-256 machine fingerprints (zero source code sent); 3rd-device or multi-user key sharing is automatically blocked. Run cdx-code-booster --deactivate anytime when replacing a computer.
What happens on Day 31 if my free trial ends while I am coding?
Nothing breaks. Safe Pass-Through activates automatically so MCP tool calls continue returning clean preview slices without errors, while preserving your existing memory vault (up to 25 active notes) until you activate a Pro key.
Which IDEs are auto-configured, and what about Orca or Cline?
cdx-code-booster --install auto-configures Claude Code, Cursor, VS Code (GitHub Copilot), OpenAI Codex CLI, and Google Antigravity in one step. Other MCP clients (Cline, Orca, Windsurf, Zed) attach via python -m cdx_code_booster --mcp (Developer Docs).