Install and configure CodeMind
A local Python RAG assistant for asking questions about local files and web pages.
Prepare the local runtime
Clone the Python repository, create an isolated environment, install requirements, and start the module from the repository root.
The command sequence shows the Linux/macOS virtual-environment activation. On Windows PowerShell, activate with env\Scripts\Activate.ps1. Run python -m main from the cloned repository root.
At startup, choose Ollama or llama.cpp. For Ollama, have the service running with a chat model and the embedding model available; for llama.cpp, follow the startup prompts to select or download a GGUF model.
CodeMind can make model/embedding downloads on initial setup. Review the upstream README for current backend prerequisites and model-size requirements before choosing a model.
$ git clone https://github.com/SilentCoder-HI/codemind.git