Code knowledge graph for enterprise monorepos

The IDE for AI agents.

Agents shouldn't grep or patch text. Code-Graph-RAG gives them a graph edit algebra: resolve a name, transform the graph, read the delta, then commit or revert.

  1. Resolve

    A name or file:line becomes exactly one definition.

  2. Edit

    Rename, move or change a signature as a graph transformation.

  3. Delta

    See what changed, what dangles and which tests reach it.

  4. Verify

    The operation's postcondition holds, or it fails with reasons.

  5. Commit or revert

    One transaction. Fail, and the tree stays byte-identical.

Refactor through the graph
# plan and diff only
$ cgr rename myproj.pkg.util.helper assist --dry-run
# apply
$ cgr rename myproj.pkg.util.helper assist
# reverse the latest transaction
$ cgr edits undo
Rename by hand, and the structural delta names the caller you missed
"symbols": {
  "renamed": [
    {"old": "proj.pkg.util.helper", "new": "proj.pkg.util.assist",
     "path": "pkg/util.py"}
  ]
},
"dangling_callers": [
  {"caller": "proj.pkg.app.run", "path": "pkg/app.py",
   "line": 5, "col": 11, "target": "proj.pkg.util.helper",
   "renamed_to": "proj.pkg.util.assist"}
],
"tests_reaching": [
  {"qualified_name": "proj.tests.test_app.test_run",
   "path": "tests/test_app.py", "depth": 2,
   "through": "proj.pkg.app.run"}
],
"reingest_ms": 41.2,
"delta_ms": 3.8

What it does for the business

  • Refactors without the review marathonCodebase-wide renames and moves land as one verified change.
  • Fewer red buildsDangling callers and import cycles surface seconds after the write.
  • Run only the tests that matterEvery delta lists the tests that reach the change.
  • Less AI-generated duplicationNew duplicates are flagged the moment an agent writes one.
  • Lower model spendNavigation is fixed graph queries, not model calls.
  • An audit trail for agent changesEvery operation returns a verdict and can be undone.
See every outcome, available today and on the roadmap →

See it on your own monorepo

Book a 30-minute call with an engineer who builds Code-Graph-RAG. We will review your codebase, your constraints and the fastest route to value.

Not sure yet? Take the 2-minute monorepo assessment