Stop explaining your codebase to AI. RepoMind builds a brain for your repository. Index your repository and ask context-aware questions using embeddings and optional LLMs.
Project description
RepoMind
Stop explaining your codebase to AI
RepoMind creates a brain per repo. Index once, then ask natural questions and get grounded answers from your actual code.
Quick Start
pip install git+https://github.com/MBilalShabbir/repomind.git
repomind index .
repomind ask "Where is auth handled?"
What RepoMind Does
- Builds a local semantic index in
.repomind/(inside the current repo) - Retrieves the most relevant files and snippets for your question
- Optionally upgrades to AI-generated answers when API keys are set
No global state. No cross-repo context leaks.
Example Output
📁 Relevant Files
- app/auth/middleware.py
- app/auth/service.py
📄 Code Snippets
- app/auth/middleware.py:12-48
def validate_token(...)
...
🧠 Answer
Auth is validated in middleware before route handlers.
🤖 Paste into AI
Context:
...
Question:
Where is auth handled?
Free vs Premium
Free Mode (default)
- No API key required
- Semantic retrieval only
- Returns relevant files + code snippets
Premium Mode (auto)
- Uses
ANTHROPIC_API_KEYfirst, thenOPENAI_API_KEY - Adds summarized answer + explanation + paste-ready prompt
Commands
repomind doctor
repomind overview .
repomind index .
repomind index . --update
repomind ask "How does auth flow?"
repomind ask "How does auth flow?" --format prompt
repomind explain path/to/file.py
Notes
.repomind/is created per project- If no index exists, run:
repomind index . - If no API key exists, RepoMind still works in Free Mode
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file repomind_cli-0.1.0.tar.gz.
File metadata
- Download URL: repomind_cli-0.1.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86ab4f4e874ba369db4b0140fd9c62460050304dd11c3e41035c839601fd1577
|
|
| MD5 |
c64f97b63b5f4bd10d3451a8e2ae8f76
|
|
| BLAKE2b-256 |
ef9de3fbae08c36061e6614f7743fa63e4827774e872ad6cb85c13876a5a4281
|
File details
Details for the file repomind_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: repomind_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
224087fc90faf10046aaed51bc1d2f6b3e7a75b2dbb6e0abdc2653e83c0b8d47
|
|
| MD5 |
481935f25db04b0f74d5432b067a3b4f
|
|
| BLAKE2b-256 |
4643a8f076ea06bfc74d962074073ad8d7694757d6a16445b45d6d9880bb5208
|