Skip to content

Github trending [colbymchenry/codegraph] 语义代码智能预建图谱 #359

@web1992

Description

@web1992

项目地址

https://github.com/colbymchenry/codegraph

AI 摘要

CodeGraph 是为 AI 编码助手(如 Claude Code、Cursor 等)提供语义代码智能的工具。它通过预构建的知识图谱(符号关系、调用图、代码结构),使代理直接查询索引而非扫描文件,从而大幅提升效率。平均可降低 35% 成本、59% token 消耗、49% 耗时和 70% 工具调用。支持一键安装(无需 Node.js)、多平台(Windows/macOS/Linux)和多语言项目,并提供简洁的卸载功能。

README 原文

CodeGraph

Supercharge Claude Code, Cursor, Codex, OpenCode, and Hermes Agent with Semantic Code Intelligence

~35% cheaper · ~70% fewer tool calls · 100% local

npm version
License: MIT
Self-contained

Windows
macOS
Linux

Claude Code
Cursor
Codex CLI
opencode
Hermes Agent

Get Started

No Node.js required — one command grabs the right build for your OS:

# macOS / Linux
curl -fsSL https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.sh | sh

# Windows (PowerShell)
irm https://raw.githubusercontent.com/colbymchenry/codegraph/main/install.ps1 | iex

Already have Node? Use npm instead (works on any version):

npx @colbymchenry/codegraph        # zero-install, or:
npm i -g @colbymchenry/codegraph

CodeGraph bundles its own runtime — nothing to compile, no native build, works the same everywhere. The interactive installer auto-configures your agent(s) — Claude Code, Cursor, C...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions