Repochat logo

Repochat

Free

Chatbot assistant enabling GitHub repository interaction using LLMs with Retrieval Augmented Generation ![GitHub Repo stars](https://img.shields.io/github/stars/pnkvalavala/repochat?style=social)

FreeFree tier
Inputs: textOutputs: text
Type
Open Source

About Repochat

Repochat is an open-source interactive chatbot that enables conversation and question-answering about GitHub repositories using a Large Language Model (LLM) with Retrieval Augmented Generation (RAG). It offers two deployment options: a main branch that runs entirely locally without external API calls, and a cloud branch that relies on API services for inference and storage. Users can install the tool on their local machine, download a compatible GGUF model (e.g., CodeLlama-7B), and engage in meaningful discussions about repository code, documentation, and issues. The tool supports hardware acceleration via multiple BLAS backends (OpenBLAS, cuBLAS, CLBlast, Metal, hipBLAS) for improved performance.

Key Features

Conversational AI for GitHub repositories using LLMs and RAG
Two deployment options: fully local (main branch) and cloud-based (cloud branch)
Supports multiple hardware acceleration backends: OpenBLAS, cuBLAS, CLBlast, Metal, hipBLAS
Works with various GGUF models from Hugging Face (e.g., CodeLlama-7B)
No external API calls required in local mode, offering data control
Simplified installation via Python virtual environment and pip

Pros & Cons

Pros
  • Fully open-source and free to use
  • Can run entirely offline with local models, enhancing privacy
  • Multiple hardware acceleration options for faster inference
  • Supports both local and cloud deployment to suit different needs
  • Uses RAG to ground answers in actual repository content
  • Active community with 316 stars and 54 forks on GitHub
Cons
  • Requires manual installation and model downloading (no hosted version)
  • Performance depends on local hardware; large models may need significant resources
  • Limited to CodeLlama and similar GGUF models; not integrated with commercial LLMs out of the box
  • Documentation is primarily a README; may need more detailed guides for non-technical users
  • Cloud branch requires external API calls, which may incur costs

Best For

Discussing and asking questions about code in a GitHub repositoryRetrieving relevant information from repository documentation and issuesExploring repository structure and understanding project details via natural languageLocal development and debugging with an AI assistant that knows the repoLearning and onboarding to new open-source projects

FAQ

What is Repochat?
Repochat is an interactive chatbot that allows users to have conversations about GitHub repositories using a Large Language Model (LLM) with Retrieval Augmented Generation (RAG).
What are the two branches of Repochat?
The main branch runs entirely on your local machine without external API calls, offering data control. The cloud branch relies on API calls to external services for model inference and storage.
What models are supported?
Repochat works with GGUF models from Hugging Face. The recommended starting model is TheBloke/CodeLlama-7B-GGUF.
Does Repochat support hardware acceleration?
Yes, Repochat supports multiple BLAS backends including OpenBLAS, cuBLAS, CLBlast, Metal (MPS), and hipBLAS/ROCm for AMD cards.
Is Repochat free?
Yes, Repochat is open-source and free to use. There is no pricing for the software itself.