Installation
RepoRAGX requires Python 3.12 and a few dependencies. This guide will walk you through setting up your environment.Prerequisites: You’ll need Git installed on your system to clone the repository.
System requirements
- Python: 3.12 (required)
- Operating system: Linux, macOS, or Windows
- Disk space: ~2GB for dependencies and model weights
- Memory: 4GB RAM minimum (8GB recommended for large repositories)
Step 1: Clone the repository
First, clone the RepoRAGX repository from GitHub:Step 2: Set up a virtual environment
RepoRAGX works best in an isolated Python environment. Choose one of the following methods:- Conda (recommended)
- venv
Conda is recommended for its superior dependency management and Python version control.
Step 3: Install dependencies
With your virtual environment activated, install all required packages:What gets installed
LangChain packages
LangChain packages
- langchain: Core framework for building LLM applications
- langchain-community: Community integrations including
GithubFileLoader - langchain-core: Shared abstractions and base classes
- langchain_groq: Groq LLM integration for
llama-3.3-70b-versatile
Embedding and vector store
Embedding and vector store
- sentence-transformers: Provides the
all-MiniLM-L6-v2embedding model - chromadb: Local vector database for storing and querying embeddings
Utilities
Utilities
- python-dotenv: Loads environment variables from
.envfiles
Step 4: Verify installation
Verify that RepoRAGX is installed correctly:Press
Ctrl+C to exit if it starts prompting for credentials.Project structure
After installation, your project structure should look like this:Troubleshooting
Python 3.12 not found
Python 3.12 not found
If you don’t have Python 3.12, install it using:macOS (Homebrew):Ubuntu/Debian:Windows: Download from python.org
pip install fails
pip install fails
If you encounter errors during If you’re on macOS with Apple Silicon, you may need to install Rust:
pip install, try:ChromaDB errors
ChromaDB errors
If ChromaDB fails to initialize, ensure you have write permissions:
Module not found errors
Module not found errors
Make sure your virtual environment is activated:
Next steps
Quick start guide
Learn how to get your API keys and run your first query