<?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: manu vijay</title>
    <description>The latest articles on DEV Community by manu vijay (@manu_vijay_475f4119eb648b).</description>
    <link>https://dev.to/manu_vijay_475f4119eb648b</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%2F4073943%2Fda498f98-97e8-48bf-a985-3f0e68bf1e4d.jpg</url>
      <title>DEV Community: manu vijay</title>
      <link>https://dev.to/manu_vijay_475f4119eb648b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/manu_vijay_475f4119eb648b"/>
    <language>en</language>
    <item>
      <title>Reducing AI Agent Token Usage with Deterministic Retrieval: A Real-World Case Study</title>
      <dc:creator>manu vijay</dc:creator>
      <pubDate>Wed, 12 Aug 2026 02:50:44 +0000</pubDate>
      <link>https://dev.to/manu_vijay_475f4119eb648b/reducing-ai-agent-token-usage-with-deterministic-retrieval-a-real-world-case-study-27hc</link>
      <guid>https://dev.to/manu_vijay_475f4119eb648b/reducing-ai-agent-token-usage-with-deterministic-retrieval-a-real-world-case-study-27hc</guid>
      <description>&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu3fvm5wxkqqwc4xc8n66.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fu3fvm5wxkqqwc4xc8n66.png" alt=" " width="800" height="533"&gt;&lt;/a&gt;&lt;br&gt;
💡 AI Agent Token Optimization&lt;/p&gt;

&lt;p&gt;I recently explored a simple approach to reduce unnecessary token usage when AI agents work with large files.&lt;/p&gt;

&lt;p&gt;I created a PowerShell script for deterministic retrieval and added instructions to the agent skill to use this script whenever information is needed from the large file.&lt;/p&gt;

&lt;p&gt;The AI agent invokes the PowerShell script, retrieves only the relevant information, and then focuses on reasoning instead of processing the entire file.&lt;/p&gt;

&lt;p&gt;In my specific scenario, this reduced token usage by approximately 80–95%.&lt;/p&gt;

&lt;p&gt;Let tools do the searching. Let AI do the reasoning.&lt;/p&gt;

&lt;h1&gt;
  
  
  ai #githubcopilot #powershell #dotnet
&lt;/h1&gt;

</description>
      <category>ai</category>
      <category>githubcopilot</category>
      <category>agents</category>
      <category>agentskills</category>
    </item>
  </channel>
</rss>
