Skip to main content

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_KEY first, then OPENAI_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repomind_cli-0.1.0.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repomind_cli-0.1.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

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

Hashes for repomind_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 86ab4f4e874ba369db4b0140fd9c62460050304dd11c3e41035c839601fd1577
MD5 c64f97b63b5f4bd10d3451a8e2ae8f76
BLAKE2b-256 ef9de3fbae08c36061e6614f7743fa63e4827774e872ad6cb85c13876a5a4281

See more details on using hashes here.

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

Hashes for repomind_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 224087fc90faf10046aaed51bc1d2f6b3e7a75b2dbb6e0abdc2653e83c0b8d47
MD5 481935f25db04b0f74d5432b067a3b4f
BLAKE2b-256 4643a8f076ea06bfc74d962074073ad8d7694757d6a16445b45d6d9880bb5208

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page