Better HN
topnewbestaskshowjobs
Log inSign up

tybaa

3 karma · joined Apr 21, 2024 (2y ago) · 7 submissions

Submissions

comment 1y ago · link · parent

At mastra.ai we ran the LongMemEval benchmark (500 questions across thousands of conversations) to systematically test our agent memory features. After seeing claims that "RAG is dead for agent memory", we decided to see what was possible.

Starting at a low 65% accuracy, we made some changes to how our memory system works and reached 80% using RAG alone. We ran the benchmark with a series of different configs (since we're a configurable framework) and saw results ranging from 63% with very conservative settings, 74% with small to medium context size, up to 80% with longer context. We accidentally spent $8k and burned 3.8B tokens figuring this out - but it proved that RAG absolutely works for agent memory when properly configured.

2.

Achieving SOTA LongMemEval scores (80%) with RAG alone(mastra.ai ↗)

3 points · by tybaa · 1y ago · 1 comment

comment 1y ago · link · parent

Added support in this PR https://github.com/mastra-ai/mastra/pull/1957! Isn't shipped just yet but will be soon

comment 1y ago · link · parent

No worries! But I am definitely interested in chatting still - that you've tried it in multiple ways, ran into pain points, and overcame those in your own ways is super interesting and valuable. Playing around is how everyone starts and this "agents with tool use in prod" game is still very new. These APIs should work well and make sense for folks who are just getting into it as well folks who have been around the block. If you change your mind let me know! Would love to chat

comment 1y ago · link · parent

Thanks for sharing! It's so helpful to hear real world experiences like this. Would you be interested in meeting up on a call sometime? I'd love to chat about how you're using MCP to help inform how we can make all of this easier for folks. We're actively thinking about our APIs for tool use and MCP right now.

comment 1y ago · link · parent

Oh nice, did you write your own proxy or are you using something like https://www.npmjs.com/package/mcp-proxy ?

comment 1y ago · link · parent

Hey! Glad to hear you're excited about it! Yes, we're currently working on improving our MCP support in general - we'll have more to share soon, but part of that is supporting SSE servers directly