logoalt Hacker News

mshekowyesterday at 7:18 PM1 replyview on HN

Would wax also be usable as a simple variant of a hybrid search solution? (i.e., not in the context of "agent memory" where knowledge added earlier is worth less than knowledge added more recently)


Replies

ckaraniyesterday at 7:22 PM

Yes—Wax can absolutely be used as a general hybrid search layer, not just an “agent memory” feature.

  It already combines text + vector retrieval and reranking, so you can treat
  remember(...) as ingestion and recall(query:) as search for any document
  corpus.

  It does not natively do “recency decay” (newer beats older) out of the box in
  the core call signature. If you want recency weighting, add timestamps in
  metadata and apply post-retrieval re-scoring or filtering in your app logic
  (or query-time preprocessing).
Ive add this to the backlog, It comes in handy when dealing with time sensitive data. expect a pr this week