Skip to content

feat(search): add fast file-finder tool using fd and fzf#4

Merged
jeancsil merged 2 commits intomainfrom
better-agentic-coding-tools
Feb 15, 2026
Merged

feat(search): add fast file-finder tool using fd and fzf#4
jeancsil merged 2 commits intomainfrom
better-agentic-coding-tools

Conversation

@jeancsil
Copy link
Owner

Add FileFinderTool to codebase_explorer to provide fast file name
searching powered by the fd utility and optional ranking via fzf.
The tool runs fd to list project files, uses fzf -f to rank matches
non-interactively, and falls back to case-insensitive substring
matching if fzf is unavailable. Results are returned as paths
relative to the project root and capped to the top 30 entries.
Handle missing tools and subprocess errors with clear error messages.

Also:

  • import subprocess in codebase_explorer.
  • adjust CLI output formatting: simplify MCP error suggestion line,
    change the agent list display to a magenta registry line, and print
    agent execution results without Panel to avoid nested panels.
  • update Dockerfile comments to note installation of search tools
    (ripgrep, fd-find, fzf).

These changes add a performant, user-facing file search feature and
clean up CLI presentation for clearer console output.

Add FileFinderTool to codebase_explorer to provide fast file name
searching powered by the fd utility and optional ranking via fzf.
The tool runs fd to list project files, uses fzf -f to rank matches
non-interactively, and falls back to case-insensitive substring
matching if fzf is unavailable. Results are returned as paths
relative to the project root and capped to the top 30 entries.
Handle missing tools and subprocess errors with clear error messages.

Also:
- import subprocess in codebase_explorer.
- adjust CLI output formatting: simplify MCP error suggestion line,
  change the agent list display to a magenta registry line, and print
  agent execution results without Panel to avoid nested panels.
- update Dockerfile comments to note installation of search tools
  (ripgrep, fd-find, fzf).

These changes add a performant, user-facing file search feature and
clean up CLI presentation for clearer console output.
Reorder the imports in tools.__init__ to place FileFinderTool with
the other file-related tools (FileFragmentReaderTool, FileOutlinerTool,
StructureExplorerTool). This fixes an import ordering inconsistency
introduced earlier and keeps related file tools grouped together for
better readability and maintainability.
@jeancsil jeancsil merged commit 8d47d56 into main Feb 15, 2026
3 checks passed
@jeancsil jeancsil deleted the better-agentic-coding-tools branch February 17, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant