News for hackers. Stuff that matters.

nutellalover

Re:Ask HN: How can I get better at using AI for programming? on Tuesday December 16, 2025 @11:45AM (#46290786)
Hey, I teach a class at Stanford covering among other things how to effectively use AI across the full SDLC. Hope it's helpful! https://themodernsoftware.dev/
Codeviz is such a cool project. Love having it in VSCode.
Big fans of Cursor ourselves. One of the goals with this library is to make it easy for maintainers of OSS projects to expose chat support functionality to their users in a very streamlined, easy-to-setup fashion.

So yes you can certainly use to index and query your own repos for yourself, but it's also a way to get more of your OSS lib users onboarded.

Happy to help!

At the beginning, we started with qualitative "vibe" checks where we could iterate quickly and the delta in quality was still so significant that we could obviously see what was performing better.

Once we stopped trusting our ability to discern differences, we actually bit the bullet and made a small eval benchmark set (~20 queries across 3 repos of different sizes) and then used that to guide algorithmic development.

Great question. For most small repos (10-20 source files) this works incredibly well out-of-the-box.

We stress-tested with repos like langchain, llamaindex, kubernetes and there the retrieval still needs work to effectively return relevant chunks. This is still an open research question.

The truth is we started there. But for any reasonably-sized, complex codebase this just isn't going to work as the context window isn't sufficient and moreover it becomes harder for the LLM to reason over arbitrary parts of the context.

For the time being, indexing and retrieving a good collection of 10-20 code chunks is more effective/performant in practice.

This is a great read Simon.
Definitely agree that the trend is toward lower cost where a lot of these use-cases are unlocked. Especially as all the major 3rd party LLM providers scramble to ship better models to retain mind-share.
Thanks for the note! We welcome contributions!
We ran some qualitative tests and there was a quality difference. In fact, benchmarks show that trend to generally hold: https://archersama.github.io/coir/

That being said, our goal was to make the library modular so you can easily add support for whatever embeddings you want. Definitely encourage experimenting for your use-case because even in our tests, we found that trends which hold true in research benchmarks don't always translate to custom use-cases.

You can certainly apply to a private repo. If you want to ensure data stays local, you would have to add support for an OSS embedding/LLM model (of which there are many good offerings to pick from).
Yup! We use tree-sitter and parse it at the file-level.
Thanks!

This is a great idea. Definitely something we plan to support.

The starter config is Openai embeddings + llm, pinecone vector store, gradio for the UI. But it's customizable so you can swap out whatever you want easily.
Feel free to submit an issue on the repo and we'll get to it!
Thanks for the request! This is on our roadmap, as is supporting Github issues and eventually external documentation/code discussions from Slack, Jira/Linear, etc.
OP here! I love this stress test. Will index and get back to you!

Show HN: Repo2vec – an open-source library for chatting with any codebase

https://github.com/Storia-AI/repo2vec

Hi HN,We're excited to share repo2vec.repo2vec is a simple-to-use, modular library enabling you to chat with any public or private codebase.We made this because sometimes you just want to learn how a codebase works and how to integrate it, without spending hours sifting through the code itself.repo2vec is like Github Copilot but with the most up-to-date information about your repo.We tried to...

( Read More... | 54 comments | 3 points | on HN )

Show HN: GitHub Sage – An Open Source Software AI Support Bot

https://chromewebstore.google.com/detail/github-sage/kmkkcnnegdmcebohbinblbmdlndelida

Hi HN,GitHub Sage is a Chrome extension that helps developers build off open source software. It opens up as a side panel on Github, where you can interact with a chatbot in order to:1) Understand how the repo works, whether it serves your purpose, and how you can build off it. 2) Generate code within the browser and run it in an auto-generated Colab notebook. 3) Navigate quickly through the...

( Read More... | no comments | on HN )

Older »