PeterCat: Building an AI assistant for GitHub with RAG, LangChain, and Supabase
Developers waste hours searching GitHub issues and search engines for answers, then wait days for maintainer responses; general-purpose LLMs like ChatGPT hallucinate when asked about niche open-source repositories or specific framework quirks.
The initial prototype simply relocated the language model service without addressing its inherent weaknesses for repository-specific knowledge.
Within three months of its September 2024 open source release, PeterCat garnered over 850 stars and was adopted by 178 open source projects; in one documented case it saved a developer hours of frustration resolving Ant Design table component issues.
Frequently asked questions
What did this team achieve with this AI workflow?
Within three months of its September 2024 open source release, PeterCat garnered over 850 stars and was adopted by 178 open source projects; in one documented case it saved a developer hours of frustration resolving A…
What tools did this team use?
LangChain, FastAPI, Supabase, AWS Lambda, RAG, ChatGPT, OpenAI, GitHub App, GitHub.
What results were reported?
GitHub stars within 3 months: over 850; Open source projects adopted: 178; Developer time saved: saving them hours of frustration (source-reported, not independently verified).
What failed first in this deployment?
The initial prototype simply relocated the language model service without addressing its inherent weaknesses for repository-specific knowledge.
How is this quality assurance AI workflow structured?
Repository content vectorized → GitHub webhook trigger → Agent routing → RAG knowledge retrieval → LLM response refinement → Post comments or issue reply.