[KongchangAI]
Product

RepoBuddy

An open-source AI tool for understanding code repositories. It builds a code knowledge graph and combines it with large models to answer developers' questions about unfamiliar codebases, with answers accompanied by actual file paths.

Timeline (last 90 days)

Oct 17

RepoBuddy's workflow has three steps: shallow-clone the repository, build a knowledge graph with Graphify, and after graph retrieval hand the question to Gemma 4 to answer.

Unverified50%
Oct 17

RepoBuddy uses `git clone --depth 1` to fetch only the latest commit, avoiding the time and disk overhead of the full history.

Unverified50%
Oct 17

For each question, RepoBuddy first runs `graphify query` to return the relevant subgraph, then sends it along with the report to Gemma 4, and the prompt hard-requires answering only from the graph and giving file paths.

Unverified50%
Oct 17

When `graphify query` returns exit code 4 (the question is too broad and no node matches), RepoBuddy falls back to answering from the report alone rather than erroring out.

Unverified50%
Oct 17

To avoid concurrent graph-building races for the same repository, RepoBuddy maintains one `asyncio.Task` per repository protected with `asyncio.shield`, letting all callers share the same build result (request coalescing pattern).

Unverified50%
Oct 17

Gemma 4 runs on Ollama Cloud by default (`gemma4:31b`); when the user selects the Gemini API but the call fails, the system automatically falls back to Ollama, and when both fail the error message lists both causes.

Unverified50%
Oct 17

RepoBuddy's frontend is a static Next.js site hosted on Cloudflare Pages, and its API is FastAPI deployed on Render, because cloning repositories and running graphify require git and real processes that cannot be done in a pure edge environment.

Unverified50%
Oct 17

In RepoBuddy's Beta cloud mode, Cloudflare Pages Functions query the Graphify Cloud-hosted MCP service directly, running the whole chain on Cloudflare, but only for repositories already indexed in the administrator's Graphify workspace.

Unverified50%
Oct 17

The disk of a free Render instance is wiped on restart, so a repository whose graph was already built may disappear between two questions; the current handling is for the client to rebuild the graph and retry.

Unverified50%

All Facts (9)

Unverified

RepoBuddy's workflow has three steps: shallow-clone the repository, build a knowledge graph with Graphify, and after graph retrieval hand the question to Gemma 4 to answer.

50%
Unverified

RepoBuddy uses `git clone --depth 1` to fetch only the latest commit, avoiding the time and disk overhead of the full history.

50%
Unverified

For each question, RepoBuddy first runs `graphify query` to return the relevant subgraph, then sends it along with the report to Gemma 4, and the prompt hard-requires answering only from the graph and giving file paths.

50%
Unverified

When `graphify query` returns exit code 4 (the question is too broad and no node matches), RepoBuddy falls back to answering from the report alone rather than erroring out.

50%
Unverified

To avoid concurrent graph-building races for the same repository, RepoBuddy maintains one `asyncio.Task` per repository protected with `asyncio.shield`, letting all callers share the same build result (request coalescing pattern).

50%
Unverified

Gemma 4 runs on Ollama Cloud by default (`gemma4:31b`); when the user selects the Gemini API but the call fails, the system automatically falls back to Ollama, and when both fail the error message lists both causes.

50%
Unverified

RepoBuddy's frontend is a static Next.js site hosted on Cloudflare Pages, and its API is FastAPI deployed on Render, because cloning repositories and running graphify require git and real processes that cannot be done in a pure edge environment.

50%
Unverified

In RepoBuddy's Beta cloud mode, Cloudflare Pages Functions query the Graphify Cloud-hosted MCP service directly, running the whole chain on Cloudflare, but only for repositories already indexed in the administrator's Graphify workspace.

50%
Unverified

The disk of a free Render instance is wiped on restart, so a repository whose graph was already built may disappear between two questions; the current handling is for the client to rebuild the graph and retry.

50%

Source Articles