项目简介
该项目通过多代理管道分析代码库或文档,构建文件、函数、类和依赖关系的可搜索知识图谱。提供交互式仪表盘,支持模糊搜索、导览、差异影响分析及自适应界面,兼容多种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
常见问题 (1)
故障排除为什么我的项目在使用 tsconfig paths 如 "@/*": ["./*"] 时,依赖图中会缺失跨模块导入?
故障排除
为什么我的项目在使用 tsconfig paths 如 "@/*": ["./*"] 时,依赖图中会缺失跨模块导入?extract-import-map 工具(v2.7.5)中存在一个 bug,当 tsconfig 位于项目根目录时,无法规范化路径别名目标中的开头的 './'。这导致类似 '@/lib/thing' 的导入被静默丢弃,仅保留目录内的边。修复方法:编辑 extract-import-map.mjs 并规范化映射的候选路径,例如将 const mapped = applyTsAlias(target, aliasMatch) 改为 const mapped = applyTsAlias(target, aliasMatch).replace(/^\\\\.\\\\//, '')。这可确保候选路径与规范化后的文件路径匹配。此修复预计将在未来版本中发布。