How to Share the Egonex AI Knowledge Graph with Teammates Using Git LFS
Track the .understand-anything/knowledge-graph.json file with Git LFS to version control the Egonex AI knowledge graph without bloating your repository, enabling teammates to clone and pull the graph automatically.
The Egonex AI knowledge graph generated by the Understand-Anything plugin provides a structured representation of your codebase's understanding. Because this graph is stored as a JSON file that can grow to several megabytes, committing it directly to Git would inflate the repository size and slow down operations. The Egonex-AI/Understand-Anything repository is designed to work with Git Large File Storage (LFS), which stores heavy assets outside regular Git objects while keeping lightweight pointer files in the repository.
Why Git LFS Is Required for the Knowledge Graph
The plugin persists the generated graph to .understand-anything/knowledge-graph.json, as defined by the GRAPH_FILE constant in understand-anything-plugin/packages/core/src/persistence/index.ts [source 1]. As your codebase grows, this JSON file can quickly reach multiple megabytes. Git is optimized for text-based source code, not large binary or JSON payloads. Git LFS replaces large files with text pointers inside Git, while storing the file contents on a remote server, keeping your clone and fetch operations fast.
Prerequisites
Before sharing the graph, ensure you have:
- Git LFS installed on your local machine
- Access to the repository where the Understand-Anything plugin is configured
- A generated knowledge graph (run
/understandat least once to create.understand-anything/knowledge-graph.json)
Step-by-Step Guide to
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →