<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mini Cursor]]></title><description><![CDATA[Mini Cursor]]></description><link>https://myownminicursor.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Sat, 19 Sep 2026 07:06:20 GMT</lastBuildDate><atom:link href="https://myownminicursor.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Ai   Agents  (the Working Mechanism Of Llms)]]></title><description><![CDATA[LLMs vs Agents
LLMs (Large Language Models) are powerful models which are trained on large text data .
It is helpful to generate codes provide answers and much more tasks.
The Real Disadvantage :
LLMs don’t have context of real time data. Such as the...]]></description><link>https://myownminicursor.hashnode.dev/ai-agents-the-working-mechanism-of-llms</link><guid isPermaLink="true">https://myownminicursor.hashnode.dev/ai-agents-the-working-mechanism-of-llms</guid><category><![CDATA[agentic AI]]></category><category><![CDATA[#agent]]></category><category><![CDATA[LLM's ]]></category><dc:creator><![CDATA[Sanskar singh]]></dc:creator><pubDate>Wed, 25 Jun 2025 07:59:01 GMT</pubDate><content:encoded><![CDATA[<h2 id="heading-llms-vs-agents">LLMs vs Agents</h2>
<p>LLMs (Large Language Models) are powerful models which are trained on large text data .</p>
<p>It is helpful to generate codes provide answers and much more tasks.</p>
<h3 id="heading-the-real-disadvantage">The Real Disadvantage :</h3>
<p>LLMs don’t have context of real time data. Such as they cant tell the weather updates.</p>
<p>They can’t perform actions like create file ,send email or Write in file with their own.</p>
<h3 id="heading-here-comes-the-agents">Here comes the Agents →</h3>
<p>Agents use LLMs along with they have few tools to take decision, get real time information,</p>
<p>to achieve the goal.</p>
<blockquote>
<p>Cursor is also a Agent having thousands of tools.</p>
</blockquote>
<h2 id="heading-tools-of-agents">Tools of Agents</h2>
<p>Few Basics tools are →</p>
<ul>
<li><p>File Handling : Read / Write in file.</p>
</li>
<li><p>Code execution : python interpreter.</p>
</li>
<li><p>API and external services : Send / Read Email , Read / Write in Database.</p>
</li>
</ul>
<blockquote>
<p>Tool to write in a file.</p>
</blockquote>
<pre><code class="lang-python">
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">write_file</span>(<span class="hljs-params">filePath, content</span>):</span>
    <span class="hljs-keyword">with</span> open(filePath, <span class="hljs-string">'w'</span>) <span class="hljs-keyword">as</span> file:
        file.write(content)
</code></pre>
<blockquote>
<p>Tool to run command in terminal</p>
</blockquote>
<pre><code class="lang-python"><span class="hljs-keyword">import</span> os
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">run_command</span>(<span class="hljs-params">cmd : str</span>):</span> 

  <span class="hljs-keyword">if</span> cmd.startswith(<span class="hljs-string">"cd "</span>):
        <span class="hljs-keyword">try</span>:
            path = cmd[<span class="hljs-number">3</span>:].strip()
            os.chdir(path)
            <span class="hljs-keyword">return</span> <span class="hljs-string">f"Changed directory to: <span class="hljs-subst">{os.getcwd()}</span>"</span>
        <span class="hljs-keyword">except</span> Exception <span class="hljs-keyword">as</span> e:
            <span class="hljs-keyword">return</span> <span class="hljs-string">f"Error: <span class="hljs-subst">{str(e)}</span>"</span>
  <span class="hljs-keyword">else</span>:
        <span class="hljs-keyword">return</span> os.system(cmd)
</code></pre>
<h2 id="heading-mini-cursor">Mini Cursor</h2>
<p>It is made by using the above tools. and the given System Prompt.</p>
<p><img src="https://cdn.hashnode.com/res/hashnode/image/upload/v1750838177796/4bafefa1-7a4e-469e-bf90-facd5c42559d.png" alt class="image--center mx-auto" /></p>
<p>This can create a basics react app and for more enhancements we can add new tailwind tool and many more.</p>
]]></content:encoded></item></channel></rss>