OpenSource-Hub

Understand-Anything

命令行工具

Lum1104/Understand-Anything

将代码库转为交互式知识图谱,支持搜索与问答。

项目简介

该项目通过多代理管道分析代码库或文档,构建文件、函数、类和依赖关系的可搜索知识图谱。提供交互式仪表盘,支持模糊搜索、导览、差异影响分析及自适应界面,兼容多种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