OpenSource-Hub

Understand-Anything

CLI ツール

Lum1104/Understand-Anything

コードベースをインタラクティブな知識グラフに変換し、検索とQAをサポートします。

概要

本プロジェクトは、マルチエージェントパイプラインを通じてコードベースやドキュメントを分析し、ファイル、関数、クラス、依存関係の検索可能なナレッジグラフを構築します。対話型ダッシュボードを提供し、あいまい検索、ナビゲーション、差分影響分析、アダプティブインターフェースをサポートし、複数のAIコーディングプラットフォームに対応します。

README プレビュー

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)

トラブル対応
tsconfig paths で "@/*": ["./*"] のような設定を使用する場合、プロジェクトの依存関係グラフがモジュール間インポートを見落とすのはなぜですか?

extract-import-mapツール(v2.7.5)のバグにより、tsconfigがプロジェクトルートにある場合、パスエイリアスのターゲットの先頭'./'が正規化されません。これにより、'@/lib/thing'のようなインポートが黙って無視され、同一ディレクトリ内のエッジのみが残ります。修正するには、extract-import-map.mjsを編集し、マッピングされた候補を正規化します。例: const mapped = applyTsAlias(target, aliasMatch)const mapped = applyTsAlias(target, aliasMatch).replace(/^\\.\\//, '') に変更してください。これにより、候補が正規化されたファイルパスと一致するようになります。この修正は将来のリリースで提供される予定です。

参照 Issue #214