<?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: haseeb arif</title>
    <description>The latest articles on DEV Community by haseeb arif (@haseeb_arif).</description>
    <link>https://dev.to/haseeb_arif</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%2F3916577%2F1f7915be-8d2c-4f7b-9d33-9f0c6ee3ed94.png</url>
      <title>DEV Community: haseeb arif</title>
      <link>https://dev.to/haseeb_arif</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/haseeb_arif"/>
    <language>en</language>
    <item>
      <title>From Algorithms to Agents: Two Papers</title>
      <dc:creator>haseeb arif</dc:creator>
      <pubDate>Wed, 06 May 2026 19:34:06 +0000</pubDate>
      <link>https://dev.to/haseeb_arif/from-algorithms-to-agents-two-papers-534m</link>
      <guid>https://dev.to/haseeb_arif/from-algorithms-to-agents-two-papers-534m</guid>
      <description>&lt;p&gt;Two threads run through the history of AI...&lt;/p&gt;

&lt;h1&gt;
  
  
  From Algorithms to Agents: Two Papers Reshaping Modern AI
&lt;/h1&gt;

&lt;p&gt;Two threads run through the history of AI: the &lt;strong&gt;classical&lt;/strong&gt; — elegant algorithms that solve problems with mathematical guarantees — and the &lt;strong&gt;emergent&lt;/strong&gt; — systems that learn, plan, and act in ways their creators did not fully anticipate. In 2025, both threads produced remarkable research. I dug into two papers that sit at opposite ends of this spectrum, and together they tell a surprisingly coherent story about the present and future of intelligent systems.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"What makes agentic AI stand out is its combination of strategic planning, memory that preserves context over time, external tools to extend capabilities, and collaboration with other agents — all in one system."&lt;br&gt;
— Bandi et al., 2025&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h2&gt;
  
  
  Paper One: The Rise of Agentic AI
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Title:&lt;/strong&gt; The Rise of Agentic AI: A Review of Definitions, Frameworks, Architectures, Applications, Evaluation Metrics, and Challenges&lt;br&gt;
&lt;strong&gt;Authors:&lt;/strong&gt; Bandi et al.&lt;br&gt;
&lt;strong&gt;Published:&lt;/strong&gt; Future Internet, MDPI — September 4, 2025&lt;br&gt;
&lt;strong&gt;DOI:&lt;/strong&gt; 10.3390/fi17090404&lt;/p&gt;

&lt;p&gt;This is a systematic review of 143 primary studies spanning 2005–2025. It covers LLM-based and non-LLM agentic systems, architectural taxonomies, evaluation metrics, and open challenges.&lt;/p&gt;


&lt;h3&gt;
  
  
  What Is Agentic AI, Exactly?
&lt;/h3&gt;

&lt;p&gt;The term "AI agent" has been thrown around loosely for years. One of the most valuable contributions of this paper is bringing terminological rigour to a chaotic landscape. The authors position agentic AI as fundamentally distinct from both generative AI (which responds) and traditional automation (which follows fixed rules). An agentic system is defined by its ability to &lt;strong&gt;perceive, plan, act, and reflect&lt;/strong&gt; — autonomously pursuing a goal across multiple steps and time horizons.&lt;/p&gt;

&lt;p&gt;Over 90% of the 143 papers surveyed were published in 2024 or 2025. The field is not just growing — it is erupting.&lt;/p&gt;


&lt;h3&gt;
  
  
  The Five Pillars of an Agent
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Pillar&lt;/th&gt;
&lt;th&gt;What It Means&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Planning&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Decompose complex goals into sub-tasks; adapt when steps fail&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Memory&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Short-term context + long-term knowledge retrieval across sessions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Tool Use&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Call APIs, search the web, write code, interact with environments&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reflection&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Self-critique outputs and iteratively refine toward the goal&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Collaboration&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Coordinate with specialized sub-agents in multi-agent pipelines&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;


&lt;h3&gt;
  
  
  Architectures: From Single Agent to Swarm
&lt;/h3&gt;

&lt;p&gt;The paper classifies agentic architectures along a spectrum. At one end is the &lt;strong&gt;single-agent loop&lt;/strong&gt; — an LLM repeatedly sampling actions until a goal is satisfied. At the other end are &lt;strong&gt;multi-agent systems (MAS)&lt;/strong&gt; where orchestrator agents delegate tasks to specialist subagents, each with its own tools and memory. Hybrid architectures — partly symbolic, partly neural — are gaining ground for tasks demanding verifiable reasoning.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Key finding:&lt;/strong&gt; More than 90% of surveyed agentic AI papers were published in 2024–2025, confirming that agentic AI is not a mature field with settled answers — it is an ongoing, high-velocity research frontier. Frameworks and best practices are still in flux.&lt;/p&gt;
&lt;/blockquote&gt;


&lt;h3&gt;
  
  
  Where Agents Are Being Deployed
&lt;/h3&gt;

&lt;p&gt;The paper catalogs real-world applications across sectors:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Education&lt;/strong&gt; — adaptive tutoring, automated grading&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Healthcare&lt;/strong&gt; — clinical decision support, patient monitoring&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Transportation&lt;/strong&gt; — autonomous navigation, logistics&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Software Engineering&lt;/strong&gt; — code generation, testing pipelines&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Customer Service&lt;/strong&gt; — conversational agents handling complex queries&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each domain surfaces domain-specific challenges — hallucination is catastrophic in medicine, latency kills user experience in customer service.&lt;/p&gt;


&lt;h3&gt;
  
  
  The Open Challenges
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Challenge&lt;/th&gt;
&lt;th&gt;Why It Matters&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Explainability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Multi-step agent chains become black boxes. Tracing why an agent took a harmful action is hard.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Generalization&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Agents trained for one domain often fail surprisingly in adjacent ones.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Bias &amp;amp; Transparency&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Agents amplify biases encoded in LLMs; audit trails are sparse.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Job Displacement&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Agentic systems can now fully automate knowledge-worker tasks previously thought safe.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Evaluation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No consensus benchmark exists for comparing agentic systems fairly across task types.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h3&gt;
  
  
  My Insight
&lt;/h3&gt;

&lt;p&gt;What struck me most is the &lt;strong&gt;evaluation gap&lt;/strong&gt;. In classical ML we have GLUE, ImageNet, BLEU — standardised yardsticks. In agentic AI, two systems claiming "state-of-the-art" may have never been tested on the same benchmark. Until the community converges on rigorous, reproducible evaluation suites, progress claims will remain hard to interpret. This isn't a minor inconvenience — it's a structural obstacle to safe deployment.&lt;/p&gt;


&lt;h2&gt;
  
  
  Paper Two: A Smarter A* with Adaptive Weights
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Title:&lt;/strong&gt; Research on the A* Algorithm Based on Adaptive Weights and Heuristic Reward Values&lt;br&gt;
&lt;strong&gt;Published:&lt;/strong&gt; World Electric Vehicle Journal, MDPI — March 4, 2025&lt;br&gt;
&lt;strong&gt;DOI:&lt;/strong&gt; 10.3390/wevj16030144&lt;/p&gt;

&lt;p&gt;This paper proposes a modified A* algorithm combining diagonal-free five-way search, adaptive heuristic weighting, and obstacle-corner safety filtering to improve path quality and runtime for autonomous vehicle navigation.&lt;/p&gt;


&lt;h3&gt;
  
  
  The Classic A* and Why It Struggles
&lt;/h3&gt;

&lt;p&gt;The A* algorithm is one of the most elegant ideas in computer science. By combining the actual cost from start to the current node (&lt;em&gt;g(n)&lt;/em&gt;) with an estimated cost to the goal (&lt;em&gt;h(n)&lt;/em&gt;), it finds shortest paths efficiently — in theory. In practice, traditional A* faces four stubborn problems:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Long runtimes&lt;/strong&gt; on large grids&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Excessive node expansions&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tortuous zig-zag paths&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Corner collision&lt;/strong&gt; — where a path grazes the sharp corner of an obstacle, safe on a grid but disastrous for a physical robot&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The classic formula is:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;f(n) = g(n) + h(n)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The paper's adaptive modification:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;f(n) = g(n) + w(n) · h(n) + R(n)

where:
  w(n) = adaptive weight (adjusts based on proximity &amp;amp; obstacle density)
  R(n) = heuristic reward value (incentivises goal-directed moves)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  The Three Innovations
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. Diagonal-Free Five-Way Search
&lt;/h4&gt;

&lt;p&gt;Traditional A* uses 4-directional (cardinal) or 8-directional (including diagonals) neighbourhood search. The paper replaces this with a &lt;strong&gt;five-way search&lt;/strong&gt; that selects directions based on coordinate changes, tilting exploration toward the goal without wasting effort on diagonal neighbours near obstacles. The result: fewer nodes expanded with no loss in path quality.&lt;/p&gt;

&lt;h4&gt;
  
  
  2. Adaptive Weight w(n)
&lt;/h4&gt;

&lt;p&gt;Rather than using a fixed heuristic weight throughout the search, the algorithm dynamically adjusts &lt;strong&gt;w(n)&lt;/strong&gt;. When the agent is far from obstacles, it boosts the heuristic weight to accelerate goal-directed expansion. When near obstacles, it reduces the weight to prioritise safety. This mirrors how a cautious driver speeds on an open highway but slows in a crowded parking lot.&lt;/p&gt;

&lt;h4&gt;
  
  
  3. Heuristic Reward Values R(n)
&lt;/h4&gt;

&lt;p&gt;The reward value acts as a positive incentive — nodes that make genuine progress toward the goal receive a bonus in the evaluation function. Crucially, when the search neighbourhood contains obstacles on diagonal sides, diagonal moves are &lt;strong&gt;filtered out&lt;/strong&gt; entirely, preventing corner-clipping and the physical collisions it causes.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Results:&lt;/strong&gt; The improved algorithm achieves significantly fewer expanded nodes and shorter, collision-safe path lengths compared to standard A* — validated in environments directly applicable to intelligent electric vehicle navigation.&lt;/p&gt;
&lt;/blockquote&gt;




&lt;h3&gt;
  
  
  My Insight
&lt;/h3&gt;

&lt;p&gt;What fascinated me here is the &lt;strong&gt;philosophy of adaptive weighting&lt;/strong&gt;. Classical heuristic search treats the weight as a fixed knob — you tune it once and commit. This paper shows that making the weight &lt;em&gt;context-sensitive&lt;/em&gt; — a function of the local environment — unlocks significant gains without sacrificing guarantees. It's a microcosm of a broader shift in AI: moving from rigid, pre-specified rules toward systems that adapt their own parameters on the fly.&lt;/p&gt;




&lt;h2&gt;
  
  
  Connecting the Dots
&lt;/h2&gt;

&lt;p&gt;At first glance these two papers seem to live in different worlds: one discusses emergent LLM-based agents; the other refines a 1968 graph-search algorithm. But look closer and the same animating idea surfaces in both.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Both papers are fundamentally about one thing: making AI systems &lt;strong&gt;contextually intelligent&lt;/strong&gt; — responsive to the specifics of their situation rather than blindly applying a fixed strategy.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In the A* paper, the heuristic weight &lt;em&gt;adapts&lt;/em&gt; to obstacle density. In the agentic AI paper, agents &lt;em&gt;reflect&lt;/em&gt; on their outputs and adjust their plans. In both cases, good performance requires sensing the local context and updating behaviour accordingly.&lt;/p&gt;

&lt;p&gt;There is also a striking &lt;strong&gt;convergence in application domain&lt;/strong&gt;. The improved A* targets autonomous vehicle navigation. Agentic AI systems are being deployed in transportation logistics. In a near future where a self-driving fleet is managed by an orchestrating AI agent that uses A*-style planners as sub-routines for real-time navigation, these two research threads literally run on the same hardware, toward the same goal.&lt;/p&gt;

&lt;h3&gt;
  
  
  What This Means for AI Practitioners
&lt;/h3&gt;

&lt;p&gt;Classical algorithms like A* are not being replaced by LLMs — they are being &lt;em&gt;integrated&lt;/em&gt; into agent pipelines as reliable, interpretable tools. When an agentic system needs guaranteed shortest-path computation, it will call a pathfinding module. That module may well be a variant of what this 2025 paper proposes. Understanding both ends of the AI spectrum — the learned and the engineered — is what will make you a well-rounded practitioner.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Reading these two papers back-to-back left me with a clearer mental model of the AI landscape. The agentic AI paper revealed how rapidly the field is racing toward autonomous, goal-driven systems — and how immature the evaluation and safety infrastructure still is. The A* paper reminded me that deep, focused engineering on a specific problem still produces clean, impactful results.&lt;/p&gt;

&lt;p&gt;If I had to distil one lesson from both: &lt;strong&gt;adaptivity is the common currency of modern AI&lt;/strong&gt;. Whether you're weighting a heuristic function or designing a multi-agent orchestration system, the systems that will win are the ones that sense their context and update accordingly.&lt;/p&gt;

&lt;p&gt;The gap between classroom theory and deployed systems is closing faster than most curricula can track. Papers like these are the on-ramp.&lt;/p&gt;




&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Bandi, A. et al. &lt;em&gt;"The Rise of Agentic AI: A Review of Definitions, Frameworks, Architectures, Applications, Evaluation Metrics, and Challenges."&lt;/em&gt; Future Internet 17(9):404, 2025. &lt;a href="https://www.mdpi.com/1999-5903/17/9/404" rel="noopener noreferrer"&gt;https://www.mdpi.com/1999-5903/17/9/404&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;"Research on the A&lt;/em&gt; Algorithm Based on Adaptive Weights and Heuristic Reward Values."* World Electric Vehicle Journal 16(3):144, 2025. &lt;a href="https://www.mdpi.com/2032-6653/16/3/144" rel="noopener noreferrer"&gt;https://www.mdpi.com/2032-6653/16/3/144&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>ai</category>
      <category>machinelearning</category>
      <category>algorithms</category>
      <category>computerscience</category>
    </item>
  </channel>
</rss>
