📖 Comprehensive Documentation: For complete information about bundles, including detailed guides, examples, advanced usage, and troubleshooting, please see the Bundle Guide in the documentation.
CodeGraphContext Bundles (.cgc files) are portable, pre-indexed graph snapshots that enable instant loading of code structures without re-parsing. They work like "npm packages for code knowledge graphs."
Export (package your indexed code):
cgc bundle export my-project.cgc --repo /path/to/projectImport (load a bundle):
cgc bundle import my-project.cgcRegistry (access pre-indexed bundles):
cgc registry search flask # Search for available packages
cgc bundle load flask # Download and load
cgc registry list # View all available
cgc registry request <url> # Request on-demand builds- ⚡ Instant Loading - Load in seconds instead of hours
- 🎯 Pre-analyzed - All code relationships already computed
- 📦 Portable - Works across any CodeGraphContext installation
- 🔍 AI Ready - Integrate with AI assistants immediately
- AI Assistant Context - Load libraries for AI-powered development
- CI/CD Pipelines - Pre-index dependencies for analysis
- Education - Share pre-indexed famous codebases
- Research - Compare code structure evolution
- Team Collaboration - Distribute code graphs across teams
👉 Read the Full Bundle Guide →
The guide includes:
- Detailed bundle structure and file formats
- Step-by-step creation and import procedures
- Available pre-indexed public bundles
- Advanced usage patterns (combining, versioning, custom registries)
- Bundle inspection and validation
- Security considerations and best practices
- Troubleshooting and common issues
- Python API reference
- Roadmap and future features