Discover and explore top open-source AI tools and projects—updated daily.
giancarloerraDeep codebase intelligence for AI assistants
Top 43.7% on SourcePulse
SocratiCode provides enterprise-grade codebase intelligence for AI assistants, enabling deep semantic understanding of large codebases (40M+ lines). It targets developers, researchers, and power users seeking efficient, private, and local code exploration, offering significant performance gains over traditional methods like grep. The primary benefit is accelerated code comprehension and navigation, reducing token costs and improving AI agent efficiency.
How It Works
SocratiCode employs a hybrid search approach, fusing BM25 lexical search with dense semantic vector search via Reciprocal Rank Fusion (RRF). It utilizes Abstract Syntax Tree (AST)-aware chunking for higher-quality code segmentation, falling back to line-based methods for unsupported languages. Polyglot code dependency graphs are generated using static analysis for over 18 languages, capable of visualizing circular dependencies. The system is designed for zero-setup, local execution primarily via Docker, leveraging Qdrant for vector storage and Ollama for embeddings, with optional cloud provider integration.
Quick Start & Requirements
npx -y socraticode or by installing the Claude Code plugin.Highlighted Details
grep-based AI exploration on a 2.45M line codebase.Maintenance & Community
The project is sponsored by Altaire Limited. No explicit community channels (e.g., Discord, Slack) are listed in the README.
Licensing & Compatibility
SocratiCode is dual-licensed:
giancarlo@altaire.com for details.Limitations & Caveats
The AGPL-3.0 license imposes copyleft restrictions on network services. Docker containers on macOS and Windows cannot access host GPUs, potentially impacting performance on large codebases; native Ollama installation is recommended for acceleration. Docker and Node.js 18+ are mandatory dependencies.
6 days ago
Inactive