.cg/ - the memory your AI agents don't have
Every new AI session starts from zero. Yours doesn't have to. cxgrd builds a .cg/ folder, your codebase's memory
No re-explaining your architecture to the agent every session.
cxgrd gives your AI coding tools — Cursor/Claude Code/Windsurf — a map of your codebase, so they can avoid breaking something three files away.
See CXGRD in action with this quick walkthrough.
Cursor, Claude Code and other tools guard what the AI does in your editor — permissions, hooks, rules, one session at a time. CXGRD guards what actually merges — dependency-graph-aware, enforced org-wide, regardless of which tool or person wrote the code.

AI coding tools are fast, but they are often stateless and context-limited. CXGRD adds architectural memory and dependency-aware safety checks so velocity does not come at the cost of production stability.
Every new AI session starts from zero. Yours doesn't have to. cxgrd builds a .cg/ folder, your codebase's memory
No re-explaining your architecture to the agent every session.
Most review tools tell you what broke after the AI already wrote the diff. cxgrd shows you what will break before you even send the prompt
Steer the agent instead of cleaning up after it.
Generate architecture-aware prompts with the right file context instead of relying on temporary agent memory.
Improves AI output quality on large codebases
Compilers verify every AI-generated diff—not another AI guessing whether the first one got it right.
If it doesn't compile clean, it doesn't ship
A command-first flow that fits naturally into modern AI-assisted coding loops.
scan
Crawls the repo and builds dependency + symbol graphs.
Creates and updates .cg/ graph memory.
input
Analyzes a planned change and computes blast radius.
Returns impacted files and architectural dependencies.
prompt
Builds an architecture-aware prompt for your AI assistant.
Produces enriched prompt context for safer code generation.
check
Verifies implementation quality with compiler-backed checks.
Flags structural issues before merge or commit.
A lightweight TypeScript CLI paired with a cloud backend — no native dependencies, works anywhere Node runs.
See the architectural diagram here.