<?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: Liedson Habacuc</title>
    <description>The latest articles on DEV Community by Liedson Habacuc (@lhabacuc).</description>
    <link>https://dev.to/lhabacuc</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3259483%2F87890c8d-9c32-4068-9d97-bf2a092d221d.png</url>
      <title>DEV Community: Liedson Habacuc</title>
      <link>https://dev.to/lhabacuc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lhabacuc"/>
    <language>en</language>
    <item>
      <title>How I Created SmartAgent — and How It Helped Me Finally Understand AI Agents</title>
      <dc:creator>Liedson Habacuc</dc:creator>
      <pubDate>Wed, 18 Feb 2026 13:44:48 +0000</pubDate>
      <link>https://dev.to/lhabacuc/how-i-created-smartagent-and-how-it-helped-me-finally-understand-ai-agents-194h</link>
      <guid>https://dev.to/lhabacuc/how-i-created-smartagent-and-how-it-helped-me-finally-understand-ai-agents-194h</guid>
      <description>&lt;p&gt;Hi Dev.to community 👋&lt;/p&gt;

&lt;p&gt;I recently started diving deep into &lt;strong&gt;AI agents&lt;/strong&gt; — systems that can reason, decide, and act autonomously. At first, I experimented with popular frameworks like &lt;strong&gt;LangChain&lt;/strong&gt;, but I realized I didn’t fully understand &lt;strong&gt;what an agent actually does&lt;/strong&gt; or how decisions and tools really work under the hood.&lt;/p&gt;

&lt;p&gt;So I decided to &lt;strong&gt;build my own library from scratch&lt;/strong&gt;: &lt;strong&gt;SmartAgent&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The goal was simple: make agents &lt;strong&gt;transparent, understandable, and easy to experiment with&lt;/strong&gt;. I wanted a library that clearly separates the agent’s reasoning steps so anyone (including myself!) could actually learn how an agent works.&lt;/p&gt;




&lt;h3&gt;
  
  
  How SmartAgent works
&lt;/h3&gt;

&lt;p&gt;SmartAgent uses a &lt;strong&gt;three-phase flow&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Analysis&lt;/strong&gt; – the agent reasons about the problem&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Execution&lt;/strong&gt; – the agent decides what to do and uses tools&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Response&lt;/strong&gt; – the agent produces a final answer&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By designing it this way, I could finally understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What an agent &lt;em&gt;really is&lt;/em&gt; (not just prompts)&lt;/li&gt;
&lt;li&gt;How decisions are made step by step&lt;/li&gt;
&lt;li&gt;How tools fit into the reasoning loop&lt;/li&gt;
&lt;li&gt;How to design my own agents intentionally&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Why I’m sharing it
&lt;/h3&gt;

&lt;p&gt;I built SmartAgent not just for myself, but as a &lt;strong&gt;learning tool for others&lt;/strong&gt;. If you’re curious about AI agents, want to experiment, or even contribute, it’s approachable and educational.&lt;/p&gt;

&lt;p&gt;It’s also open-source, so anyone can explore, tweak, or add new tools.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Try it out:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GitHub: &lt;a href="https://github.com/lhabacuc/smartagent" rel="noopener noreferrer"&gt;https://github.com/lhabacuc/smartagent&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;PyPI: &lt;a href="https://pypi.org/project/smartagent-sf/" rel="noopener noreferrer"&gt;https://pypi.org/project/smartagent-sf/&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I’d love to hear how other people are experimenting with agents, and any feedback or ideas are very welcome!&lt;/p&gt;

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