# code_graph

`code_graph` is a workspace dependency-graph analyzer that connects code,
tests, docs, endpoints, configuration, and feature checklists. It is
designed for maintainers and LLM coding agents that need impact analysis
before changing code.

## Install

```sh
cargo install renso-code-graph renso-code-graph-mcp
```

This crate is a thin **download-and-exec trampoline**: at install time
its `build.rs` fetches the prebuilt `code_graph` binary for your host
platform from
[GitHub Releases](https://github.com/Renso-AI/code-graph-dist/releases),
SHA256-verifies it, and embeds it into the launcher this crate
produces. The launcher extracts the binary to a per-user cache on first
run and execs it.

This crate contains **no analyzer source**. Code Graph is proprietary,
closed-source software © Renso AI; the prebuilt binary it downloads is
licensed under the Code Graph subscription terms (https://cg.renso.ai).

For other install channels (npm, pip, Homebrew, curl-pipe), see
https://cg.renso.ai/#install.

## Air-gapped installs

If you can't reach `github.com` at `cargo install` time, point the
build at a local binary you copied over yourself:

```sh
CG_STUB_BINARY_PATH=/path/to/code_graph cargo install renso-code-graph
```

The binary is still SHA256-verified against the hash baked into this
release.

## Documentation

- https://cg.renso.ai/docs — full usage guide

## License

Proprietary — © Renso AI, all rights reserved. **Not open source.**
Use of the binaries is governed by the Code Graph subscription terms at
https://cg.renso.ai.
