<?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: The Agent Loop</title>
    <description>The latest articles on DEV Community by The Agent Loop (@theagentloop).</description>
    <link>https://dev.to/theagentloop</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%2F4140438%2Fa5d8d232-1d80-4a10-a24d-6542e33d4387.png</url>
      <title>DEV Community: The Agent Loop</title>
      <link>https://dev.to/theagentloop</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/theagentloop"/>
    <language>en</language>
    <item>
      <title>Agent memory in 60 seconds: why your agent forgets by tomorrow</title>
      <dc:creator>The Agent Loop</dc:creator>
      <pubDate>Thu, 24 Sep 2026 11:06:26 +0000</pubDate>
      <link>https://dev.to/theagentloop/agent-memory-in-60-seconds-why-your-agent-forgets-by-tomorrow-425n</link>
      <guid>https://dev.to/theagentloop/agent-memory-in-60-seconds-why-your-agent-forgets-by-tomorrow-425n</guid>
      <description>&lt;p&gt;Drafted with AI help, human-reviewed by The Agent Loop.&lt;/p&gt;

&lt;p&gt;Your agent's &lt;strong&gt;context window is RAM, not a disk&lt;/strong&gt;. Close the session and the working set is gone. That is not a bug in your prompt — it is the architecture.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why it forgets&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Every turn must refit history + tools + state in one window; old turns get truncated or buried (&lt;a href="https://dev.to/pickuma/why-ai-agents-forget-memory-decay-and-context-contamination-explained-44kd"&gt;memory decay writeup&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;One 2026 summary: constraint compliance fell &lt;strong&gt;73% → 33%&lt;/strong&gt; between turn 5 and turn 16 without memory help (4,416 trials, same writeup)&lt;/li&gt;
&lt;li&gt;Stale tool output stays in context after the file changed — contamination, not "hallucination"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Minimum fix&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;External notes (file, SQLite, vector store) + &lt;strong&gt;read/write tools&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Load 3–10 relevant notes at session start; append decisions, pitfalls, conventions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Edit and delete&lt;/strong&gt; paths — memory without correction stores the lie forever (&lt;a href="https://dev.to/abdeljabbar_elassali_78e/why-ai-agents-forget-everything-and-how-memory-systems-fix-it-hg3"&gt;why wrong sticky memory is worse&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Keep raw history if you migrate models: compressed notes swung &lt;strong&gt;+9.9 / −13.3 pp&lt;/strong&gt; on upgrade in one study (&lt;a href="https://arxiv.org/abs/2609.05339" rel="noopener noreferrer"&gt;arXiv&lt;/a&gt;)
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;session 1 ──write──► notes.md ──read──► session 2
                      ▲ edit/delete (human)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Where it fails&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Pure RAG: stores everything, forgets nothing useful, never reflects (&lt;a href="https://dev.to/ai_agent_digest/your-ai-agents-memory-is-broken-here-are-4-architectures-racing-to-fix-it-55j1"&gt;4 architectures&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;You never inspect what was written&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Bottom line:&lt;/strong&gt; Give the agent a dumb file it can read, write, and correct. A perfect model with amnesia still ships the wrong config twice.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is RAG agent memory?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
RAG is retrieval. Real memory also summarizes, forgets stale facts, and lets you fix errors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What should I store first?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Decisions, pitfalls, file map, conventions — not full chat logs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do I need a vector DB?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Start with one markdown file. Add vectors when search fails.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does a bigger window fix this?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
It delays fill and cost; it does not replace correction paths or cross-session state.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://dev.to/pickuma/why-ai-agents-forget-memory-decay-and-context-contamination-explained-44kd"&gt;Why agents forget (memory decay)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/abdeljabbar_elassali_78e/why-ai-agents-forget-everything-and-how-memory-systems-fix-it-hg3"&gt;Memory systems / sticky wrong facts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/ai_agent_digest/your-ai-agents-memory-is-broken-here-are-4-architectures-racing-to-fix-it-55j1"&gt;4 memory architectures&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2609.05339" rel="noopener noreferrer"&gt;Memory portability study (arXiv)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/html/2603.07670v1" rel="noopener noreferrer"&gt;Memory for autonomous LLM agents (survey)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>llm</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Prompt injection in 60 seconds: your agent's tools are the real attack surface</title>
      <dc:creator>The Agent Loop</dc:creator>
      <pubDate>Thu, 24 Sep 2026 11:02:22 +0000</pubDate>
      <link>https://dev.to/theagentloop/prompt-injection-in-60-seconds-your-agents-tools-are-the-real-attack-surface-27ed</link>
      <guid>https://dev.to/theagentloop/prompt-injection-in-60-seconds-your-agents-tools-are-the-real-attack-surface-27ed</guid>
      <description>&lt;p&gt;Drafted with AI help, human-reviewed by The Agent Loop.&lt;/p&gt;

&lt;p&gt;Prompt injection (OWASP &lt;strong&gt;LLM01&lt;/strong&gt;) is when untrusted text gets treated as instructions. Your agent's scary case is not a jailbreak in chat. It is a &lt;strong&gt;tool response&lt;/strong&gt; lying.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why tools are the attack surface&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;OWASP ranks prompt injection &lt;strong&gt;#1&lt;/strong&gt; on the LLM Top 10 (&lt;a href="https://owasp.org/www-project-top-10-for-llm-applications/" rel="noopener noreferrer"&gt;OWASP LLM01&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Google measured a &lt;strong&gt;+32%&lt;/strong&gt; jump in indirect prompt injection in the web corpus, Nov 2025 → Feb 2026 (&lt;a href="https://blog.google/security/prompt-injections-web/" rel="noopener noreferrer"&gt;Google&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Unit 42 logged &lt;strong&gt;22 distinct&lt;/strong&gt; real-world techniques (&lt;a href="https://unit42.paloaltonetworks.com/ai-agent-prompt-injection/" rel="noopener noreferrer"&gt;Unit 42&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;MCP pattern: one session with a &lt;strong&gt;read&lt;/strong&gt; tool and a &lt;strong&gt;write&lt;/strong&gt; tool lets poisoned data become the next command&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Where it fails&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Email, web page, or API field says "ignore previous instructions" → agent complies&lt;/li&gt;
&lt;li&gt;Confidence scores drop but do not hit zero (Jev-style decision models still flipped in one injection test — see our &lt;a href="https://dev.to/theagentloop/jev-in-60-seconds-cheap-ai-decisions-not-another-chatbot-21nc"&gt;Jev 60s post&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;You gave the agent shell + browser + wallet "to be productive"&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How I'd use it&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Yes: label tool output as &lt;strong&gt;data&lt;/strong&gt;, confirm writes, least-privilege tools&lt;/li&gt;
&lt;li&gt;No: paste tool text into the system prompt; auto-run &lt;code&gt;rm&lt;/code&gt;/payments from one model vote&lt;/li&gt;
&lt;li&gt;Spotting helps: spotlighting cut success &lt;strong&gt;&amp;gt;50% → &amp;lt;2%&lt;/strong&gt; in one study (&lt;a href="https://arxiv.org/abs/2403.14720" rel="noopener noreferrer"&gt;arXiv&lt;/a&gt;); still pair with human confirm
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;tool response ──► parse as DATA ──► policy check ──► human OK? ──► write
       (not: as instructions)                          no ──► drop
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Bottom line:&lt;/strong&gt; Assume every tool is hostile until proven otherwise. Separate &lt;strong&gt;what you saw&lt;/strong&gt; from &lt;strong&gt;what you will do&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is prompt injection for agents?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Untrusted text (page, email, tool output) is parsed as user/system instructions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Does a small classifier model fix it?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
No. Fast decision models help routing; they can still be socially engineered. Add deterministic checks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is the minimum fix?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Read-only tools by default; human approval for writes; never promote tool text into the system prompt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is there a benchmark?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Yes — AgentDojo: &lt;a href="https://arxiv.org/abs/2406.13352" rel="noopener noreferrer"&gt;97 tasks, 629 security cases&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://owasp.org/www-project-top-10-for-llm-applications/" rel="noopener noreferrer"&gt;OWASP LLM Top 10&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://blog.google/security/prompt-injections-web/" rel="noopener noreferrer"&gt;Google: prompt injections on the web&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://unit42.paloaltonetworks.com/ai-agent-prompt-injection/" rel="noopener noreferrer"&gt;Palo Alto Unit 42: AI agent prompt injection&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2403.14720" rel="noopener noreferrer"&gt;Spotlighting (arXiv)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://arxiv.org/abs/2406.13352" rel="noopener noreferrer"&gt;AgentDojo (arXiv)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>security</category>
      <category>agents</category>
    </item>
    <item>
      <title>Jev in 60 seconds: cheap AI decisions, not another chatbot</title>
      <dc:creator>The Agent Loop</dc:creator>
      <pubDate>Thu, 24 Sep 2026 06:07:18 +0000</pubDate>
      <link>https://dev.to/theagentloop/jev-in-60-seconds-cheap-ai-decisions-not-another-chatbot-21nc</link>
      <guid>https://dev.to/theagentloop/jev-in-60-seconds-cheap-ai-decisions-not-another-chatbot-21nc</guid>
      <description>&lt;p&gt;TypeSafe shipped &lt;strong&gt;Jev&lt;/strong&gt; on September 15, 2026. It does not chat or write. It answers yes/no questions about your data with a confidence score. Think: should this tool run? Is this email spam?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The pitch&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Answers in &lt;strong&gt;70–500ms&lt;/strong&gt; (vendor claim)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;$0.042 per million input tokens&lt;/strong&gt;; output free&lt;/li&gt;
&lt;li&gt;Typed answers (Choice / Score / Boolean), not paragraphs&lt;/li&gt;
&lt;li&gt;~13% of Vercel AI Gateway paid teams within 24 hours&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Hype vs reality&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Vendor headline: &lt;strong&gt;up to 193× faster&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Real user median: &lt;strong&gt;~7× faster&lt;/strong&gt;, ~30× cheaper (OpenChamber aggregate, 215 samples)&lt;/li&gt;
&lt;li&gt;Already on a small fast model? Your speedup shrinks (&lt;a href="https://note.com/kitworks/n/n057d8857b025?hl=en" rel="noopener noreferrer"&gt;KitWorks&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Where it fails&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Prompt injection can flip verdicts (&lt;a href="https://venturebeat.com/security/companies-are-putting-jev-in-charge-of-ai-agent-decisions-and-prompt-injection-can-influence-the-verdict" rel="noopener noreferrer"&gt;VentureBeat, Sep 21&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Long planning: &lt;strong&gt;1/20&lt;/strong&gt; tasks vs &lt;strong&gt;17/20&lt;/strong&gt; for a full agent&lt;/li&gt;
&lt;li&gt;No written "why" — bad for audits&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;How I'd use it&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Yes: classify, route, score, gate tool calls&lt;/li&gt;
&lt;li&gt;No: replace your main model, plan multi-step work, or act as the only safety check&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Bottom line:&lt;/strong&gt; Jev is a fast decision switch for agents, not a general brain. Threshold on confidence; send hard cases to a bigger model or a human.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;What is Jev?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Jev is TypeSafe's decision model: typed yes/no/score answers with confidence from program state, not chat text.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How fast is Jev really?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
TypeSafe claims up to 193×. Independent medians cluster around &lt;strong&gt;7×&lt;/strong&gt; faster and &lt;strong&gt;30×&lt;/strong&gt; cheaper, often under 100ms.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Is Jev safe for tool calls?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Not alone. Prompt injection can influence verdicts. Pair confidence thresholds with deterministic checks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What does Jev cost?&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Published input pricing: &lt;strong&gt;$0.042 per million tokens&lt;/strong&gt;, free output (confirm on TypeSafe before you rely on it).&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://typesafe.ai/blog/introducing-system-one-models-and-jev" rel="noopener noreferrer"&gt;TypeSafe: Introducing System One Models &amp;amp; Jev&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://techcrunch.com/2026/09/18/a-new-kind-of-ai-model-from-a-chatgpt-inventor-is-thrilling-developers/" rel="noopener noreferrer"&gt;TechCrunch on Jev&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://note.com/kitworks/n/n057d8857b025?hl=en" rel="noopener noreferrer"&gt;KitWorks: Is 193× real?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://venturebeat.com/security/companies-are-putting-jev-in-charge-of-ai-agent-decisions-and-prompt-injection-can-influence-the-verdict" rel="noopener noreferrer"&gt;VentureBeat: prompt injection and Jev&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.langchain.com/blog/jev-is-now-available-in-langsmith-evals" rel="noopener noreferrer"&gt;LangChain: Jev as a judge in LangSmith&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.datacamp.com/blog/system-one-models-jev" rel="noopener noreferrer"&gt;DataCamp explainer&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>aiagents</category>
      <category>llm</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
