OpenSource-Hub

Understand-Anything

CLI Tool

Lum1104/Understand-Anything

Interactive knowledge graph to explore, search, and query any codebase.

Overview

Understand Anything analyzes any codebase or documentation with a multi-agent pipeline, building a searchable knowledge graph of files, functions, classes, and dependencies. It provides an interactive dashboard with fuzzy search, guided tours, diff impact analysis, and persona-adaptive UI, compatible with multiple AI coding platforms.

README Preview

Understand Anything\n\n\n  Turn any codebase, knowledge base, or docs into an interactive knowledge graph you can explore, search, and ask questions about.\n  \n  Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.\n\n\n\n  \n\n\n\n  English | 简体中文 | 繁體中文 | 日本語 | 한국어 | Español | Türkçe | Русский\n\n\n\n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n  \n\n\n\n  \n\n\n\n  💬 Join the Discord community →\n  \n  Ask questions, share what you've built, get help from the community.\n\n\n---\n\n**You just joined a new team. The codebase is 200,000 lines of code. Where do you even start?**\n\nUnderstand Anything is a [Claude Code Plugin](https://code.claude.com/docs/en/plugins-reference#plugins-reference) that analyzes your project with a multi-agent pipeline, builds a knowledge graph of every file, function, class, and dependency, then gives you an interactive dashboard to explore it all visually. Stop reading code blind. Start seeing the big picture.\n\n> **The goal isn't a graph that wows you with how complex your codebase is — it's a graph that quietly teaches you how every piece fits together.**\n\n---\n\n## ✨ Features\n\n> [!NOTE]\n> **Want to skip the reading?** Try the [live demo](https://understand-anything.com/demo/) in our [homepage](https://understand-anything.com/) — a fully interactive dashboard you can pan, zoom, search, and explore right in your browser.\n\n### Explore the structural graph\n\nNavigate your codebase as an interactive knowledge graph — every file, function, and class is a node you can click, search, and explore. Select any node to see plain-English summaries, relationships, and guided tours.\n\n### Understand business logic\n\nSwitch to the domain view and see how your code maps to real business processes — domains, flows, and steps laid out as a horizontal graph.\n\n### Analyze knowledge bases\n\nPoint `/understand-knowledge` at a [Karpathy-pattern LLM wiki](https://gist.github.com/karpathy/442a6bf555914893e9891c11519de94f) an

FAQ (1)

Troubleshooting
Why does my project's dependency graph miss cross-module imports when using tsconfig paths like "@/*": ["./*"]?

A bug in the extract-import-map tool (v2.7.5) fails to normalize leading './' in path alias targets when the tsconfig is at the project root. This causes imports like '@/lib/thing' to be silently dropped, leaving only intra-directory edges. To fix, edit extract-import-map.mjs and normalize the mapped candidate, e.g., change const mapped = applyTsAlias(target, aliasMatch) to const mapped = applyTsAlias(target, aliasMatch).replace(/^\\.\\//, ''). This ensures the candidate matches the normalized file paths. The fix is expected in a future release.

GitHub Issue #214