Launching today

GitHits beta 0.9
Give your AI coding agent access to open-source code
155 followers
Give your AI coding agent access to open-source code
155 followers
GitHits gives coding agents access to the open-source code your app depends on. Get real implementation examples, dependency source navigation, package inspection and documentation. Agents can grep and read your codebase. They can't grep and read the open-source code your app depends on. That's where they start guessing, retrying, and looping. GitHits builds a version-aware index on demand. Agents can search, navigate, and inspect the code behind their dependencies. CLI: npx githits@latest init
Interactive




Free
Launch Team / Built With




Works great, I've been using Githits to explore implementation details from different libraries to ground my coding agent with real world examples. It's cool to point your coding agent towards an open source reference implementation that you know has already implemented what you want to implement.
GitHits beta 0.9
Thanks,@matti_ryttylainen Appreciate your kind words and all feedback you've provided along the way!
Giving a coding agent access to real open-source code is a smart idea. How does GitHits pick which repos or snippets are most relevant?
GitHits beta 0.9
@doganakbulut For snippets it's actually pretty involved. We run our own code index, so on top of standard ranking like BM25 we can use a bunch of code-specific signals for scoring. We also keep a separate document index for docs from canonical documentation sites. That lets us pull a balanced mix of function definitions, real usage examples, tests and related documentation, so the agent gets proper grounding, with each snippet linking back to the source it came from.
For picking which repos to pull from, right now we lean on a wide range of GitHub searches plus our own reranking. We're also building out a dedicated index for that part.
This app is seriously helpful and turns your coding agent in a top tier senior engineer. When I am introducing a new pattern or library in my code, I always think to find real battle tested implementations first from GitHits. Eventually you realize just letting a coding agent vibe out consequential and high leverage code is just plain dumb and irresponsible.
GitHits beta 0.9
Thanks,@lukeotwell! Let us know how we could make GitHits even better!
Toolhouse
Congrats!
GitHits beta 0.9
Thanks@orliesaurus! Appreciate your support!