Enterprise Knowledge Management Platform
Neo4j-powered graph database with multi-interface architecture (MCP/Web/REST) and intelligent code analysis
What is Code Graph Knowledge System?ΒΆ
Code Graph Knowledge System is an enterprise-grade solution that transforms unstructured development documentation and code into a structured, queryable knowledge graph. By combining vector search, graph database technology, and large language models, it provides intelligent code analysis, documentation management, and development assistance capabilities.
β¨ Key FeaturesΒΆ
π― Deployment ModesΒΆ
Choose the right deployment mode for your needs:
| Feature | Minimal | Standard | Full |
|---|---|---|---|
| Code Graph | |||
| β Repository ingestion | β | β | β |
| β File relationship search | β | β | β |
| β Impact analysis | β | β | β |
| β Context packing | β | β | β |
| Memory Store | |||
| β Manual management | β | β | β |
| β Vector search | β | β | β |
| β Auto extraction (Git) | β | β | β |
| β Auto extraction (Conversations) | β | β | β |
| Knowledge RAG | |||
| β Document vectorization | β | β | β |
| β Intelligent Q&A | β | β | β |
| Requirements | |||
| β Neo4j | β | β | β |
| β Embedding Model | β | β | β |
| β LLM | β | β | β |
| Image Size | ~500MB | ~600MB | ~800MB |
| Startup Time | ~5s | ~8s | ~15s |
π Core CapabilitiesΒΆ
No LLM Required - Pure graph-based code intelligence
- Repository Ingestion: Parse and index entire codebases
- Relationship Discovery: Find file dependencies and imports
- Impact Analysis: Understand the blast radius of changes
- Context Packing: Generate AI-friendly context bundles
Embedding Required - Long-term project knowledge
- Manual Memory Management: Add, search, update memories
- Vector Search: Find relevant project decisions
- Auto Extraction: Extract from git commits and conversations
- Knowledge Evolution: Track decision changes over time
π― Quick StartΒΆ
1. Choose Your Deployment ModeΒΆ
# Minimal - Code Graph only (No LLM needed)
make docker-minimal
# Standard - Code Graph + Memory (Embedding needed)
make docker-standard
# Full - All features (LLM + Embedding needed)
make docker-full
2. Access the SystemΒΆ
- API Documentation: http://localhost:8000/docs
- Neo4j Browser: http://localhost:7474
- Health Check: http://localhost:8000/api/v1/health
3. Ingest Your RepositoryΒΆ
π¨ Use CasesΒΆ
For Individual DevelopersΒΆ
- Learn Large Codebases: Quickly understand unfamiliar projects
- Code Navigation: Find relationships and dependencies
- Impact Assessment: See what breaks before making changes
For Development TeamsΒΆ
- Project Knowledge Base: Preserve team decisions and context
- Onboarding: Help new team members get up to speed
- Documentation: Auto-generate context for AI coding assistants
For AI-Assisted DevelopmentΒΆ
- Claude Desktop Integration: Use as MCP server for enhanced code understanding
- VS Code Integration: Access code graph directly in your editor
- Context Generation: Create optimal context for LLM queries
π DocumentationΒΆ
- Quick Start Guide - Get running in 5 minutes
- Deployment Overview - Choose the right mode
- Code Graph Guide - Learn code intelligence features
- MCP Integration - Use with Claude Desktop
- API Reference - Complete tool documentation
π Why Code Graph Knowledge System?ΒΆ
π― Flexible ArchitectureΒΆ
- No Vendor Lock-in: Use Ollama, OpenAI, Gemini, or any LLM
- Scalable: From single developer to enterprise teams
- Modular: Only use what you need
π Performance OptimizedΒΆ
- Incremental Updates: 60x faster than full re-indexing
- Smart Caching: Reduce redundant processing
- Efficient Storage: Neo4j native vector indexes
π Privacy FocusedΒΆ
- Self-Hosted: Keep your code on your infrastructure
- No Data Leaks: Optional local LLM support
- Secure: Enterprise-grade Neo4j backend
π οΈ Technology StackΒΆ
- Backend: Python 3.13, FastAPI
- Database: Neo4j 5.15+ with APOC
- AI: LlamaIndex, Multiple LLM providers
- Protocol: Model Context Protocol (MCP)
- Deployment: Docker, Docker Compose
- GitHub: royisme/codebase-rag
- Docker Hub: royisme/codebase-rag
- Issues: Report bugs
- Discussions: Community forum
π LicenseΒΆ
This project is licensed under the MIT License - see the LICENSE file for details.
**Ready to get started?** β [Quick Start Guide](getting-started/quickstart.md)