Hacker News new | ask | show | jobs
by krystofee 470 days ago
I wonder why doesnt it use RAG for code context retrival across the codebase? Is there some fundamental reason why init in for example claude coder makes this stupid claude.md file instead of vectorizing and indexing the codebase locally?
2 comments

The fundamental reason is that RAG kind of sucks and requires a ton of effort/optimization to reach a high degree of reliability for most applications. RAG solutions are not Anthropic's core product. Just reading all the relevant files is more expensive but is more effective and efficient from a dev time perspective.
Why spend Anthropic developer time on charging you less when an MVP impl can charge you $1 for indexing a simple small Helm chart?