News for hackers. Stuff that matters.
Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by jeffchuber on Tuesday June 09, 2026 @12:07PM (#48462942)
If you are truly bitter-lesson pilled - give the agent all the tools and let it decide which to use.

- regex (grep) - hybrid search (bm25+vector)

this X vs Y is uninteresting when the answer can be both.

Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by pastel8739 on Tuesday June 09, 2026 @12:15PM (#48463065)
That assumes that the agent knows which one is better. And to bake in which one is better via post-training would require a study like this to establish where each one works well
Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by fnordpiglet on Tuesday June 09, 2026 @12:46PM (#48463591)
I’ve got a custom ultra high performance streaming semantic search I exposed as a tool and the RL bias in Claude is almost insurmountable without copious and consistent steering. Codex will follow instructions and use the tools I ask it to but for gods sake between Claude asking to take a nap because it’s getting late in the session and it regressing to RL biased tools like grep it’s maddening. When I can get it to use my compositional tools tool calls drop from like 20-50 to 3-4, but it’s almost impossible to steer.
Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by mediaman on Tuesday June 09, 2026 @06:39PM (#48468816)
Anthropic is, I believe, fully pursuing the idea that you shouldn't use their model with anything but their own products. They don't care whether it generalizes.

I agree it's very frustrating to use with custom tools/harnesses that can speed up the process for domain specific purposes.

Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by worthless-trash on Tuesday June 09, 2026 @12:11PM (#48463003)
I'm still disappointed that ai can't use ctags, its used for finding strings and patterns, its right there.
Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by sdesol on Tuesday June 09, 2026 @12:19PM (#48463129)
> I'm still disappointed that ai can't use ctags,

What do you mean by this? Do you mean not automatically build the index?

Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by worthless-trash on Tuesday June 09, 2026 @12:51PM (#48463681)
it inspects a project, finds the ctags files, then goes on to use grep.
Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by dominotw on Tuesday June 09, 2026 @12:30PM (#48463311)
it will only use tools it was trained on? what's the benfit of givig it all the tools.
Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by jeffchuber on Tuesday June 09, 2026 @09:52PM (#48470316)
then you are not agi pilled
Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by bachittle on Tuesday June 09, 2026 @12:36PM (#48463395)
Exactly this, and this tool called qmd is what I use for the hybrid search portion. It also uses local LLMs to provide summaries on your own markdown data too. My agents use both depending on what type of search they are doing, and both provide good results.

https://github.com/tobi/qmd

Re:Is Grep All You Need? How Agent Harnesses Reshape Agentic... by budududuroiu on Tuesday June 09, 2026 @02:09PM (#48465068)
Both is usually the right answer, since you can use LLMs to do query expansion and effectively increase the recall performance of your retrieval algo