grepai
grepai: semantic code search and call graphs for AI agents, running 100% locally on your machine.
Enterprise-grade codebase intelligence for AI agents — hybrid semantic search over 40M+ LOC, locally.
SocratiCode is an open-source dev tools project by giancarloerra (giancarloerra/SocratiCode on GitHub). It has 3,336 GitHub stars and 428 forks, is released under the AGPL-3.0 license, and was last updated on GitHub on 7 October 2026.
Decide the first concrete outcome you want from it, so you can pick the right example, template or mode instead of exploring everything at once.
Clone the repository (or install the published package) and skim its README quick start for the requirements for your platform.
Run the documented install step and set any required configuration — such as provider keys, data sources or local services — before the first run.
Execute the smallest documented example end to end, confirm the output is what you expected, then adapt it to your real data or workflow.
Dense + BM25 vectors fused with Reciprocal Rank Fusion in one Qdrant round-trip — conceptual and exact-identifier search together.
Files split at function/class boundaries via ast-grep, with incremental, batched and resumable indexing and live file watching.
Import/call graphs for 19+ languages with circular-dependency detection and Mermaid diagrams; symbol-level impact analysis.
Search linked projects in one query and keep separate indexes per git branch.
Everything runs on your machine (Docker Qdrant + Ollama, no external calls); OpenAI/Gemini/Qdrant Cloud are optional.
Multiple agents share one index safely with cross-process locking and a single watcher per project.
Get the source so you can inspect, configure and run it locally.
git clone https://github.com/giancarloerra/SocratiCode.git
cd SocratiCodeFor VS Code-style hosts, register the server with npx; for Claude Code use the plugin — see the README Quick Start for your host.
# VS Code / MCP hosts:
# command: npx, args: -y --prefer-online socraticode@latest # see README for your host's exact configClone, install and build, then register dist/index.js in your MCP host and restart it.
git clone https://github.com/giancarloerra/SocratiCode.git
cd SocratiCode
npm install
npm run buildIt is maintained by giancarloerra on GitHub (giancarloerra/SocratiCode), where the source, issues and releases live.
Yes — it is free and open source under AGPL-3.0; note the copyleft terms apply if you distribute modified versions or run it as a network service.
No — the default local setup (Ollama + Qdrant in Docker) makes no external API calls; cloud embedding providers are optional and need their own keys.
Compared with built-in grep/semantic search inside an IDE or agent, SocratiCode's distinguishing focus is: enterprise-grade codebase intelligence for AI agents — hybrid semantic search over 40M+ LOC, locally. Pick it when that focus matches your need; the alternative may suit you better if its broader or different scope is the priority.
Clone https://github.com/giancarloerra/SocratiCode (or install its published package), follow the README quick start to install and configure it, then run the smallest documented example — the Run section on this page mirrors those steps.
grepai: semantic code search and call graphs for AI agents, running 100% locally on your machine.
An MCP toolkit that gives coding agents IDE-grade semantic retrieval, editing and refactoring
Fast, accurate semantic code search for agents — about 99% fewer tokens than grep plus read.
Lightweight AST-based semantic code search CLI (ccc) that makes coding agents faster and cheaper
Local-first web search, fetch, crawl and research for AI coding agents over MCP — no API keys.
Codebase intelligence for TypeScript/JavaScript — health, duplication, dead code and architecture.
The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if SocratiCode is not the right fit.
The open source coding agent
The model-definition framework behind modern AI — thousands of pretrained transformers for text, vision, and audio.
Anthropic's agentic coding tool that lives in your terminal and works across your whole codebase
Cross-platform desktop all-in-one manager for Claude Code, Codex, OpenCode and other coding agents
OpenAI's lightweight coding agent that runs locally in your terminal
Free and open — grab the source, star the repo, and start creating.