How do your AI coding agents find the right files?
by•
Hey hunters! 👋
If you use AI coding agents (Cursor, Claude Code, Windsurf...), you've probably noticed this:
The agent is smart, but it struggles to find the RIGHT files in your codebase. It greps for exact keywords, misses context, and sometimes hallucinates file paths.
The problem: traditional search tools (grep, ripgrep) weren't built for agents. They need exact matches, but agents think in intent — "where is the authentication logic?" not "grep login".
How do you handle this today?
- Do you manually point your agent to files?
- Do you rely on its built-in search and hope for the best?
- Have you tried any workarounds?
Curious to hear how you're dealing with this.
22 views

Replies
Mostly manual right now I still have to guide the agent to the right files because intent-based search is where current tools fall short.