frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: C/C++ source code graph RAG based on Clang/clangd

https://github.com/2015xli/clangd-graph-rag
2•artigent•4h ago
Graph RAG for C/C++ Development

1. Overview

This project enables deep code analysis with Large Language Models. By constructing a Neo4j-based Graph RAG, it enables developers and AI agents to perform complex, multi-layered queries on C/C++ codebases that traditional search tools simply can't handle. With only 4 MCP APIs and a vanilla agent, it is already able to accomplish lots of tasks related to the codebases.

2. How it works

Using clangd and clang, the system parses and indices your source files to create a high-fidelity code graph. It captures everything from high-level folder structures to granular relationships, including entities like Folders, Files, Namespaces, Classes/Structs, Variables, Methods, etc.; relationships like: CALLS, INCLUDES, INHERITS, OVERRIDES, and more.

The system generates summaries and embeddings for every level of the codebase (from functions up to entire folders) using a bottom-up approach. This structured context helps AI agents understand the "big picture" without getting lost in the syntax.

To get you started easily, the project includes: an example MCP (Model Context Protocol) server, and a demonstration AI agent to showcase the graph’s power. You can easily build your own custom agents and servers on top of the graph RAG.

3. Efficiency & Performance

Incremental Updates: The system detects changes between commits and updates only what’s necessary. Parallel Processing: Parsing and summary generation are distributed across worker processes with optimized data sharing. Smart Caching: Results are cached to minimize redundant computations, saving you both time and LLM costs.

4. A benchmark: The Linux Kernel

When building a code graph for the Linux kernel (WSL2 release) on a workstation (12 cores, 64GB RAM), it takes about ~4 hours using 10 parallel worker processes, with peak memory usage at ~36GB. Note this process does not include the summary generation, and the total time may vary based on your LLM provider.

Comments

artigent•4h ago
Just a quick note: This is an independent project and is not affiliated with the official Clang or clangd projects.

This project is by no means a replacement for the clangd language server used in IDEs. Instead, it is designed to complement it by enabling LLMs to perform deep architectural analysis. While clangd handles real-time coding assistance, this tool focuses on high-level reasoning, such as mapping project workflows, tracing complex call paths, and understanding system-wide architecture.

Show HN: One clean, developer-focused page for every Unicode symbol

https://fontgenerator.design/symbols
9•yarlinghe•4d ago•6 comments

Show HN: Stop Claude Code from forgetting everything

https://github.com/mutable-state-inc/ensue-skill
140•austinbaggio•10h ago•170 comments

Show HN: Euclidle – Guess the Coordinates in N‑Dimensional Space

https://euclidle.com/
11•bills-appworks•4d ago•3 comments

Show HN: A 45x45 Connections Puzzle To Commemorate 2025=45*45

https://thomaswc.com/2025.html
60•thomaswc•6d ago•11 comments

Show HN: Superset – Terminal to run 10 parallel coding agents

https://superset.sh/
81•avipeltz•6d ago•73 comments

Show HN: Aroma: Every TCP Proxy Is Detectable with RTT Fingerprinting

https://github.com/Sakura-sx/Aroma
76•Sakura-sx•4d ago•47 comments

Show HN: Reveal – A stateless, zero-DB blur curtain for suspicious links

https://app.iddqd.kr/reveal/
2•iddqd_park•1h ago•0 comments

Show HN: DevCompare – a live, auto-updating comparison of AI coding tools

https://www.devcompare.io/
3•anticlickwise•2h ago•0 comments

Show HN: See what readers who loved your favorite book/author also loved to read

https://shepherd.com/bboy/2025
121•bwb•21h ago•29 comments

Show HN: ADK-Studio – a visual builder for creating AI agent workflows with Rust

2•Zavora•3h ago•0 comments

Show HN: Z80-μLM, a 'Conversational AI' That Fits in 40KB

https://github.com/HarryR/z80ai
480•quesomaster9000•1d ago•110 comments

Show HN: My not-for-profit search engine with no ads, no AI, & all DDG bangs

https://nilch.org
188•UnmappedStack•1d ago•71 comments

Show HN: Per-instance TSP Solver with No Pre-training (1.66% gap on d1291)

18•jivaprime•19h ago•3 comments

Show HN: C/C++ source code graph RAG based on Clang/clangd

https://github.com/2015xli/clangd-graph-rag
2•artigent•4h ago•1 comments

Show HN: A Claude Code plugin that catch destructive Git and filesystem commands

https://github.com/kenryu42/claude-code-safety-net
38•kenryu•4d ago•44 comments

Show HN: Spacelist, a TUI for Aerospace window manager

https://github.com/magicmark/spacelist
38•markl42•3d ago•6 comments

Show HN: Evidex – AI Clinical Search (RAG over PubMed/OpenAlex and SOAP Notes)

https://www.getevidex.com
35•amber_raza•16h ago•25 comments

Show HN: Signing Room – Stateless Bitcoin Multisig Coordinator

https://signingroom.io
4•scarlin90•5h ago•0 comments

Show HN: Vibe coding a bookshelf with Claude Code

https://balajmarius.com/writings/vibe-coding-a-bookshelf-with-claude-code/
268•balajmarius•20h ago•193 comments

Show HN: Zs3 – S3 server in ~1K lines of Zig, 250KB binary, zero dependencies

https://github.com/Lulzx/zs3
26•lulzx•18h ago•1 comments

Show HN: I created a 2025 Wrapped for WhatsApp Conversations

https://www.textunwrapped.com
7•nicolegrf9•7h ago•3 comments

Show HN: ARES Dashboard – Open-Source AI Red-Teaming and Governance Platform

https://github.com/Arnoldlarry15/ARES-Dashboard
2•LA_Builds•8h ago•0 comments

Show HN: A solar system simulation in the browser

https://luna.watermelonson.com/
11•watermelonson•15h ago•3 comments

Show HN: Mysti – Claude, Codex, and Gemini debate your code, then synthesize

https://github.com/DeepMyst/Mysti
212•bahaAbunojaim•6d ago•176 comments

Show HN: Shardium – open-source "Dead Man's Switch" for crypto inheritance

https://www.shardium.xyz/
4•maxcomperatore•10h ago•4 comments

Show HN: Portdetective – A tiny, fast rust CLI for port inspection

https://github.com/cmakafui/portdetective
2•ckugblenu•11h ago•0 comments

Show HN: swab – A configurable project cleaning tool

https://github.com/terror/swab
2•crap•11h ago•0 comments

Show HN: Agtrace – top and tail -f for AI coding agent sessions

https://github.com/lanegrid/agtrace
2•zawakin•12h ago•0 comments

Show HN: LoongArch Userspace Emulator

https://github.com/libriscv/libloong
25•fwsgonzo•5d ago•9 comments

Show HN: Ez FFmpeg – Video editing in plain English

http://npmjs.com/package/ezff
411•josharsh•3d ago•196 comments