<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: mathew_woo</title>
    <description>The latest articles on DEV Community by mathew_woo (@mathew_woo).</description>
    <link>https://dev.to/mathew_woo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4040938%2F28e5d058-a4bf-4036-aca4-c0dd8d5bdfb7.png</url>
      <title>DEV Community: mathew_woo</title>
      <link>https://dev.to/mathew_woo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mathew_woo"/>
    <language>en</language>
    <item>
      <title>The hard part of AI agent memory isn't retrieval, it's delivery</title>
      <dc:creator>mathew_woo</dc:creator>
      <pubDate>Wed, 22 Jul 2026 12:58:56 +0000</pubDate>
      <link>https://dev.to/mathew_woo/the-hard-part-of-ai-agent-memory-isnt-retrieval-its-delivery-3d18</link>
      <guid>https://dev.to/mathew_woo/the-hard-part-of-ai-agent-memory-isnt-retrieval-its-delivery-3d18</guid>
      <description>&lt;p&gt;I've been building WOS, a long-term memory API for AI agents, and I want to write down the one thing that reframed how I think about the problem. &lt;/p&gt;

&lt;p&gt;When people say "give the AI memory," it sounds like the work should mostly be search: store what happened, pull the relevant bits back later. And retrieval on its own is close to solved. On LongMemEval, the retrieval step finds the right memory well over 99% of the time. &lt;/p&gt;

&lt;h2&gt;
  
  
  The Real Bottleneck
&lt;/h2&gt;

&lt;p&gt;But end-to-end accuracy—actually answering the question correctly using that memory—sits a lot lower, around 85 to 90%. &lt;/p&gt;

&lt;p&gt;So the model has the right memory in hand and still gets the answer wrong. The gap isn't in finding the memory. It's in delivering it back in a form the model can actually use, especially for questions that span many sessions or depend on time (&lt;em&gt;"what did I say last month"&lt;/em&gt;, &lt;em&gt;"has this changed since"&lt;/em&gt;). &lt;/p&gt;

&lt;p&gt;That gap is basically what WOS is built around. &lt;/p&gt;

&lt;h2&gt;
  
  
  Architectural Trade-offs
&lt;/h2&gt;

&lt;p&gt;A few things that follow from it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Bring your own key:&lt;/strong&gt; It's a retrieval API, not a model. You bring your own LLM key, and WOS only charges for the retrieval tokens. Your model, your data.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy &amp;amp; Control:&lt;/strong&gt; It works across languages, not just English. It doesn't train on your data, and you can wipe a user's entire memory in one call.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tiered Performance:&lt;/strong&gt; There's a lineup with different tradeoffs. The lightest tier (Tablet) does retrieval without calling a model at all, so it stays cheap and fast (~320ms). Heavier tiers add an LLM query layer for harder multi-session questions and score higher on the same benchmark. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;One honest caveat:&lt;/em&gt; those tiers were measured with different reader models, so I wouldn't read the numbers as a clean apples-to-apples ranking. The papers say the same.&lt;/p&gt;

&lt;p&gt;Benchmarks and write-ups are available at &lt;a href="https://wontopos.com" rel="noopener noreferrer"&gt;wontopos.com&lt;/a&gt; if you want the details.&lt;/p&gt;




&lt;p&gt;Curious how others handle this. If you've given an agent long-term memory, where does it break for you—the retrieval step, or the part where the model has to use what it got back?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>architecture</category>
      <category>api</category>
    </item>
    <item>
      <title>Anyone know prior research on rewriting a rough prompt per model?</title>
      <dc:creator>mathew_woo</dc:creator>
      <pubDate>Wed, 22 Jul 2026 02:29:20 +0000</pubDate>
      <link>https://dev.to/mathew_woo/anyone-know-prior-research-on-rewriting-a-rough-prompt-per-model-n9f</link>
      <guid>https://dev.to/mathew_woo/anyone-know-prior-research-on-rewriting-a-rough-prompt-per-model-n9f</guid>
      <description>&lt;p&gt;I've been kicking around an idea and want to read up before I build it. &lt;/p&gt;

&lt;p&gt;The idea: you type a rough, half-formed prompt, an LLM works out what you actually mean, and then rewrites it into a specific, optimized prompt tuned for each target model (Claude, GPT, Gemini, etc.). &lt;/p&gt;


&lt;div class="crayons-card c-embed"&gt;

  &lt;br&gt;
&lt;strong&gt;The Core Insight:&lt;/strong&gt; The same instruction lands differently on different models. I don't want a single generic "cleaned-up" prompt—I want one explicitly tailored &lt;strong&gt;per model&lt;/strong&gt;.&lt;br&gt;

&lt;/div&gt;


&lt;h2&gt;
  
  
  What I'm Looking For
&lt;/h2&gt;

&lt;p&gt;Before I start building, I'd love to find prior work. Specifically, I'm looking for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Automatic prompt optimization or prompt rewriting techniques.&lt;/li&gt;
&lt;li&gt;Research on adapting a prompt to a specific target model's quirks and strengths rather than producing a generically better prompt.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Is this already well-studied and I'm just searching the wrong terms? &lt;/p&gt;

&lt;p&gt;If you've run across papers, GitHub repositories, or blog posts tackling model-specific prompt adaptation, please drop them in the comments below! What keywords should I actually be searching for?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>machinelearning</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
