<?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: Vatche Isahagian</title>
    <description>The latest articles on DEV Community by Vatche Isahagian (@vatchei).</description>
    <link>https://dev.to/vatchei</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4129991%2F56123529-5100-4a84-8a07-f44c178f71f2.webp</url>
      <title>DEV Community: Vatche Isahagian</title>
      <link>https://dev.to/vatchei</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vatchei"/>
    <language>en</language>
    <item>
      <title>ALTK-Evolve: On-the-Job Learning for AI Agents</title>
      <dc:creator>Vatche Isahagian</dc:creator>
      <pubDate>Thu, 17 Sep 2026 14:01:41 +0000</pubDate>
      <link>https://dev.to/vatchei/altk-evolve-on-the-job-learning-for-ai-agents-42ic</link>
      <guid>https://dev.to/vatchei/altk-evolve-on-the-job-learning-for-ai-agents-42ic</guid>
      <description>&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Most AI agents re‑read transcripts instead of learning principles, so they repeat mistakes and don’t transfer lessons to new situations.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ALTK‑Evolve&lt;/strong&gt; turns raw agent trajectories into reusable guidelines.
&lt;/li&gt;
&lt;li&gt;In benchmarks, the approach boosted reliability, especially on hard (Δ 14.2% on AppWorld), multi‑step tasks, without bloating context.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The “eternal intern” problem
&lt;/h2&gt;

&lt;p&gt;Imagine a brilliant line cook who has memorized every cookbook but forgets your kitchen every morning. They don’t remember your oven runs hot, or that regulars like extra salt; they’ll follow a recipe card yet freeze when you’re out of lemons. That’s most AI agents: excellent at following prompts, poor at &lt;strong&gt;accumulating wisdom&lt;/strong&gt; about your environment. Feeding yesterday’s logs back into the prompt just makes them &lt;strong&gt;re‑read&lt;/strong&gt; history; it doesn’t help them &lt;strong&gt;generalize&lt;/strong&gt; from it.&lt;/p&gt;

&lt;p&gt;A junior needs different recipes for “vinaigrette” and “duck à l’orange.” A chef learns “acid balances fat” and applies it everywhere. Likewise, reliable agents should distill principles from experience and apply them to new tasks, not just near duplicates of old ones. This &lt;strong&gt;long‑term memory subsystem&lt;/strong&gt; does exactly that: it converts interaction traces into candidate guidelines, filters for quality, and injects only relevant guidance at the moment of action. Agents need principles, not transcripts. &lt;/p&gt;

&lt;p&gt;A recent &lt;a href="https://www.forbes.com/sites/jasonsnyder/2025/08/26/mit-finds-95-of-genai-pilots-fail-because-companies-avoid-friction/" rel="noopener noreferrer"&gt;MIT study&lt;/a&gt; found that 95% of pilots fail because agents don't adapt and learn on the job. ALTK-Evolve addresses this learning gap using long term episodic memory to help agents reason better.&lt;/p&gt;

&lt;h2&gt;
  
  
  Solution: long term memory with ALTK-Evolve
&lt;/h2&gt;

&lt;p&gt;Evolve is a memory system for AI agents, that can help agents improve over time, learning from and using guidelines generated from previous executions.&lt;/p&gt;

&lt;p&gt;Operationally, the system runs as a continuous loop:  &lt;/p&gt;

&lt;p&gt;1) &lt;strong&gt;Downward flow (observation &amp;amp; extraction):&lt;/strong&gt; Capture full agent trajectories (user utterances, thoughts, tool calls, results) in an Interaction Layer (e.g., Langfuse or another OpenTelemetry‑based observability tool). Pluggable extractors mine traces for structural patterns and persist them as candidate entities.&lt;br&gt;&lt;br&gt;
2) &lt;strong&gt;Upward flow (refinement &amp;amp; retrieval):&lt;/strong&gt; A background consolidate‑and‑score job merges duplicates, prunes weak rules, and boosts proven strategies, evolving a high‑quality library of entities such as guidelines, policies, and SOPs. Retrieval pulls only the relevant items via the Interaction Layer and injects them back into context at the Application Layer.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frowczv20hz5qhbrqg2zy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frowczv20hz5qhbrqg2zy.png" alt="architecture (1)" width="544" height="715"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This approach works for a few key reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Teaches judgment:&lt;/strong&gt; Converts one‑off events into portable strategies that transfer across tasks.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Controls noise:&lt;/strong&gt; Scoring keeps memory lean and useful, not a growing junk drawer.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Progressive Disclosure:&lt;/strong&gt; Retrieval is just‑in‑time, not stuffing everything into the context.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Results: better reliability, especially on hard tasks
&lt;/h2&gt;

&lt;p&gt;We evaluated the framework on &lt;a href="https://appworld.dev" rel="noopener noreferrer"&gt;AppWorld&lt;/a&gt;, where agents complete realistic multi‑step tasks via APIs, averaging 9.5 APIs across 1.8 apps, with hard cases requiring more complex control flow. A ReAct agent received the task instruction plus the top 5 retrieved guidelines generated on a prior run (train/dev) and tested on an unseen partition (test-normal). We report Scenario Goal Completion (SGC), a strict consistency metric requiring success across variants.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Difficulty&lt;/th&gt;
&lt;th&gt;Baseline SGC&lt;/th&gt;
&lt;th&gt;+ Memory&lt;/th&gt;
&lt;th&gt;Δ&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Easy&lt;/td&gt;
&lt;td&gt;79.0%&lt;/td&gt;
&lt;td&gt;84.2%&lt;/td&gt;
&lt;td&gt;+5.2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Medium&lt;/td&gt;
&lt;td&gt;56.2%&lt;/td&gt;
&lt;td&gt;62.5%&lt;/td&gt;
&lt;td&gt;+6.3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Hard&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;19.1%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;33.3%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;+14.2&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Aggregate&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;50.0%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;58.9%&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;+8.9&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Here are some key conclusions from the evaluations:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Generalization:&lt;/strong&gt; The agent improves on the unseen Test‑Normal tasks, evidence that it’s learning principles, not memorizing recipes.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Complexity scaling:&lt;/strong&gt; The harder the task, the more the agent benefits from concise learned guidelines, with the largest lift on the more difficult tasks. The Hard tasks saw a 74% relative increase in success, where guidelines are useful to navigate the intricate control flows.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consistency:&lt;/strong&gt; SGC gains exceeded raw pass‑rate improvements, reducing “flaky” behavior across scenario variants. The guidelines don’t just help the agent solve tasks, they help them solve them reliably across variants.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Find more details about the experiments in the paper at &lt;a href="https://arxiv.org/abs/2603.10600" rel="noopener noreferrer"&gt;https://arxiv.org/abs/2603.10600&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  Getting started (choose your path)
&lt;/h2&gt;

&lt;p&gt;You have a choice in how to integrate &lt;strong&gt;ALTK‑Evolve&lt;/strong&gt; into your agent.&lt;/p&gt;
&lt;h3&gt;
  
  
  No‑code with Claude Code, Codex, and IBM Bob  (Lite mode)
&lt;/h3&gt;

&lt;p&gt;Install the plugin into Claude Code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;claude plugin marketplace add AgentToolkit/altk-evolve
claude plugin &lt;span class="nb"&gt;install &lt;/span&gt;evolve-lite@evolve-marketplace

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That’s it! The plugin extracts entities from trajectories and stores them as files on your filesystem. It uses Claude Code’s hooks for automatic retrieval.&lt;/p&gt;

&lt;p&gt;Prefer to watch instead of read? See the short &lt;strong&gt;Evolve-Lite Claude Code walkthrough&lt;/strong&gt; (video): &lt;a href="https://youtu.be/XIlYA79pYp4" rel="noopener noreferrer"&gt;Demo&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Check out the walkthroughs &lt;a href="https://github.com/AgentToolkit/altk-evolve/blob/main/docs/integrations/claude/evolve-lite.md" rel="noopener noreferrer"&gt;here&lt;/a&gt; for examples of how to learn with Claude Code in Lite mode.&lt;/p&gt;

&lt;p&gt;Lite mode is easy to test‑drive but has limitations. For example, it doesn’t glean insights from across agent sessions or perform consolidation and garbage collection of entities. The low‑code and pro‑code versions below address these limitations.&lt;/p&gt;

&lt;p&gt;There are also one-step integrations with &lt;a href="https://agenttoolkit.github.io/altk-evolve/examples/hello_world/codex/" rel="noopener noreferrer"&gt;Codex&lt;/a&gt; and  &lt;a href="https://agenttoolkit.github.io/altk-evolve/examples/hello_world/bob/" rel="noopener noreferrer"&gt;IBM Bob&lt;/a&gt;. Try them out!&lt;/p&gt;

&lt;h3&gt;
  
  
  Low‑code with a ReAct agent
&lt;/h3&gt;

&lt;p&gt;Add a single &lt;code&gt;altk_evolve.auto&lt;/code&gt; import and flip a flag to emit traces to an Arize Phoenix UI. Then sync traces to generate improvement guidelines without changing your current stack. It works with popular LLM clients and agent frameworks (e.g., OpenAI, LiteLLM, and Hugging Face agents), so you keep your current stack and simply gain visibility.&lt;/p&gt;

&lt;p&gt;To see just how easily this fits into existing projects, explore our &lt;a href="https://github.com/AgentToolkit/altk-evolve/tree/main/examples/low_code" rel="noopener noreferrer"&gt;hands‑on examples&lt;/a&gt; showcasing different framework integrations. For full details on configuration and capabilities, read our &lt;a href="https://github.com/AgentToolkit/altk-evolve/blob/main/docs/guides/low-code-tracing.md" rel="noopener noreferrer"&gt;low‑code tracing documentation&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pro‑code with CUGA
&lt;/h3&gt;

&lt;p&gt;We integrated ALTK‑Evolve directly into &lt;a href="https://github.com/cuga-project/cuga-agent" rel="noopener noreferrer"&gt;CUGA&lt;/a&gt; via MCP to create a tight, low‑overhead learning loop. Before each run, the &lt;a href="https://github.com/cuga-project/cuga-agent/blob/kaizen-lite-mode/src/cuga/backend/cuga_graph/nodes/cuga_lite/cuga_lite_graph.py#L738-L755" rel="noopener noreferrer"&gt;&lt;code&gt;get_guidelines&lt;/code&gt;&lt;/a&gt; MCP tool is called to surface task‑specific steering and reduce trial‑and‑error. After the run, CUGA sends back structured execution traces via &lt;a href="https://github.com/cuga-project/cuga-agent/blob/9773d66aba33895d42e335af780dbd3ff202fec9/src/cuga/backend/cuga_graph/nodes/cuga_lite/cuga_lite_node.py#L393-L408" rel="noopener noreferrer"&gt;&lt;code&gt;save_trajectory&lt;/code&gt;&lt;/a&gt;, so Evolve can learn from what actually happened and improve future guidance. The result is an integration that gets better over time while staying transparent, composable, and easy to adopt.&lt;/p&gt;

&lt;p&gt;Prefer a visual tour? Watch the &lt;strong&gt;CUGA integration walkthrough&lt;/strong&gt;: &lt;a href="https://youtu.be/CMG7ysVt2_8" rel="noopener noreferrer"&gt;video&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it &amp;amp; tell us what your agent learned
&lt;/h2&gt;

&lt;p&gt;Your agent shouldn’t wake up as an intern every morning. This approach helps it learn on the job. &lt;br&gt;
If you're using Claude Code, Codex, and IBM Bob, try it out in minutes and see how it improves your agent.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; Star the repo, it helps others discover the project and directly guides what we build next.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/AgentToolkit/altk-evolve" rel="noopener noreferrer"&gt;https://github.com/AgentToolkit/altk-evolve&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docs:&lt;/strong&gt; &lt;a href="https://agenttoolkit.github.io/altk-evolve" rel="noopener noreferrer"&gt;https://agenttoolkit.github.io/altk-evolve&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quick start tutorials:&lt;/strong&gt; &lt;a href="https://agenttoolkit.github.io/altk-evolve/tutorials/" rel="noopener noreferrer"&gt;https://agenttoolkit.github.io/altk-evolve/tutorials/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feedback &amp;amp; ideas:&lt;/strong&gt; Open a GitHub &lt;a href="https://github.com/AgentToolkit/altk-evolve/issues" rel="noopener noreferrer"&gt;issue&lt;/a&gt; or join the &lt;a href="https://github.com/AgentToolkit/altk-evolve/discussions" rel="noopener noreferrer"&gt;discussions&lt;/a&gt; — concrete use cases, benchmarks, and integration requests are especially helpful. &lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Watch the demos
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code walkthrough (video):&lt;/strong&gt; &lt;a href="https://youtu.be/XIlYA79pYp4" rel="noopener noreferrer"&gt;Demo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;OpenAI Codex walkthrough (video):&lt;/strong&gt; &lt;a href="https://youtu.be/IBc59bLjdi8" rel="noopener noreferrer"&gt;Demo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IBM Bob demo walkthrough (video):&lt;/strong&gt; &lt;a href="https://youtu.be/YlTJoSJ4eDg" rel="noopener noreferrer"&gt;Demo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CUGA integration walkthrough&lt;/strong&gt;: &lt;a href="https://youtu.be/CMG7ysVt2_8" rel="noopener noreferrer"&gt;video&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

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