Understand Anything is an open-source project with 15k+ GitHub stars. It turns any repo into an interactive knowledge graph you can navigate, search, and learn from. It pairs tree-sitter static analysis as ground truth with LLM-generated explanations, so you get real code structure plus readable architecture narratives. Explore codebase maps, guided tours, file-level walkthroughs, and inline code reading. Works with Claude Code, Cursor, and opencode via slash commands. No vendor lock-in.
Hi Product Hunt!
I built Understand Anything after losing too many afternoons trying to find my way around unfamiliar codebases. Joining a new project, reviewing a large PR, or learning from a popular open-source repo—I kept hitting the same wall: docs go stale, READMEs only cover the happy path, and chatting with an LLM about the code gives confident-sounding answers that don't always match what's actually there.
So I built the tool I wanted. It scans the repo with tree-sitter for ground-truth structure, then uses an LLM to annotate, explain, and stitch everything into a navigable map. The result is an interactive knowledge graph you actually explore: zoom into any file, walk through guided tours of the architecture, see what calls what, and read file-level explanations grounded in the real source.
It runs as a /slash command inside Claude Code, Cursor, and opencode. /understand scans the repo. /understand-dashboard opens the local dashboard. There are also /understand-chat, /understand-diff, /understand-explain, and /understand-onboard for the rest of the daily workflow. Everything is open source on GitHub.
I'd love feedback on three things:
- The first codebase you tried it on—did the graph "click" or did it feel noisy?
- What's the missing piece in the dashboard that would make you keep it open?
- Which /slash command would you want next?
I'll be in the comments all day. Thanks for taking a look!
Report
💎 Pixel perfection
An excellent project! I tried using it to understand my team's codebase, and it significantly improved my efficiency. I hope more features will be added in the future, such as:
It struggles with very large codebases. My codebase has tens of thousands of files, generating a knowledge graph of dozens of megabytes. I hope sharding support can be added.
/understand-domain relies too much on the agent's summarization ability, resulting in insufficient detail about business processes, especially for the large codebase I mentioned above.
I'm planning to provide this tool to product managers as well, so they can understand the current business state of our long-standing codebase. However, many product details cannot be extracted. I hope you can consider ways to generate more business domain details from the codebase for product managers to use.
For 1, you can provide a folder to the /understand command
For 23, we will look into how to provide a more detail domain knowledge!
Report
Maker
If you've ever tried reproducing a research paper, you know the pain: clone the repo, open 40 Python files, and still have no idea where the core model or loss function actually lives.
I tried Understand Anything on a multimodal medical imaging repo (~20k LOC), and the graph finally made the architecture click for me.
At first it looked dense, but once I started exploring, it became insanely useful. Every file has a plain-English summary that's clearer than most docstrings, and tracing the data flow from dataloader → preprocessing → model took minutes instead of hours.
Honestly feels much closer to “understanding” a codebase than just searching through it.
Report
Maker
@jamie_hm Yeah, code is everywhere, and will be powerful if we can understand them!
Report
No reviews yetBe the first to leave a review for Understand Anything
An excellent project! I tried using it to understand my team's codebase, and it significantly improved my efficiency. I hope more features will be added in the future, such as:
It struggles with very large codebases. My codebase has tens of thousands of files, generating a knowledge graph of dozens of megabytes. I hope sharding support can be added.
/understand-domain relies too much on the agent's summarization ability, resulting in insufficient detail about business processes, especially for the large codebase I mentioned above.
I'm planning to provide this tool to product managers as well, so they can understand the current business state of our long-standing codebase. However, many product details cannot be extracted. I hope you can consider ways to generate more business domain details from the codebase for product managers to use.
@tylor_liu Got it!
For 1, you can provide a folder to the /understand command
For 23, we will look into how to provide a more detail domain knowledge!
If you've ever tried reproducing a research paper, you know the pain: clone the repo, open 40 Python files, and still have no idea where the core model or loss function actually lives.
I tried Understand Anything on a multimodal medical imaging repo (~20k LOC), and the graph finally made the architecture click for me.
At first it looked dense, but once I started exploring, it became insanely useful. Every file has a plain-English summary that's clearer than most docstrings, and tracing the data flow from dataloader → preprocessing → model took minutes instead of hours.
Honestly feels much closer to “understanding” a codebase than just searching through it.
@jamie_hm Yeah, code is everywhere, and will be powerful if we can understand them!