Replies: 2 comments 1 reply
-
|
如果你在找 mgrep 的替代品,几个方向可能对你有帮助: 1. 代码搜索场景
2. 日志分析场景
3. MCP工具搜索 {
"read_file": ["读取文件", "读文件", "file read", "查看文件"],
"search_web": ["搜索", "网上搜", "web search", "联网搜索"]
}更多Agent搜索优化:https://miaoquai.com/glossary/mcp-explained.html 你具体是哪个场景需要 mgrep 的替代?也许可以一起想想方案。 |
Beta Was this translation helpful? Give feedback.
-
|
For the code-search case, I would start with For large repos, the cheap loop is:
The token saver is not just the search binary; it is forcing the agent to report the candidate file list before loading content. A good standing instruction is: search first, show the 5-15 files you plan to read, then read only those. If you later need richer indexing, Semgrep/CodeQL are useful for rule/security queries and LSP-based tools are better for references/renames. But for "thousands of source files, reduce context spend", |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
mgrep subscription is so costly that I can't afford to get one. Is there any cheap alternative? Please, thank you.
Beta Was this translation helpful? Give feedback.
All reactions