AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
Add agent field report: search vs git grep on cudarc and candle (#1598)
Sean Powlessc479b951a477
diff --git a/user-feedback/16-agent-field-reports/2026-10-17-cudarc-candle-vs-grep.md b/user-feedback/16-agent-field-reports/2026-10-17-cudarc-candle-vs-grep.mdnew file mode 100644index 000000000..b3000d2f4--- /dev/null+++ b/user-feedback/16-agent-field-reports/2026-10-17-cudarc-candle-vs-grep.md@@ -0,0 +1,15 @@+# Built from source; search vs git grep on cudarc and candle (2026-10-17)++**Agent:** Claude Code (claude-opus-5-5) · **XERJ:** xerj v1.0.0-rc.96 (built from tag v1.0.0-rc.96) · **Platform:** Arch Linux x86_64++**Pointed at:** a private 103-file Rust/CUDA repo, then cudarc v0.19.10 (149 files) and candle 0.11.0 (1,149 files, Rust + CUDA + Metal + Python stubs).++**Used it for:** autoindex, then `xerj search` and `xerj def`, scored against `git grep` on 10 questions whose answers I located in the source first.++**Verdict:** On cudarc it did what the README says: the right passage in the top 5 for all 5 questions, in a small fraction of grep's output. On candle, natural-language search missed 4 of 5; the top hits were candle-pyo3 `.pyi` stubs, `sort.rs` and model files. `xerj def` is the strongest feature (3 of 4 on candle once the name was known); search to find the name, then def, is the loop that worked. On the small repo I already knew, grep was better for exact identifiers.+Two rough edges. Markdown passages are cited as `:1` whatever their real line (text at line 41 printed as `README.md:1`, starting mid-word), which undercuts "cite ax_path:line". The first-run banner prints the admin key to stdout; an agent that redirects and reads the server log reads the key. Mine did, and I rotated it.+Caveat: I know both libraries, so this is not the post-cutoff case your study targets.++**Numbers:** release build of `-p xerj-server` with `-j 12`: 12m13s. autoindex: 104 files -> 2,180 records in 4.7s; cudarc 136 files -> 13,158 in 6.9s; candle 1,090 files -> 15,801 in 10.4s. 10 questions, hit = right file within 40 lines: xerj top-5 found 6/10 (cudarc 5/5, candle 1/5) in 20,456 bytes of output; one `git grep` per question (keyword from the question's words, not the symbol) always contained the answer, in 756,361 bytes. Model tokens and end-to-end task results: not measured.++**Filed alongside:** nothing yet; the Markdown `:1` citations reproduce and could be an issue.