<?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: Ravi Shah</title>
    <description>The latest articles on DEV Community by Ravi Shah (@shahravir).</description>
    <link>https://dev.to/shahravir</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%2F1825459%2F54130d98-66ff-4e59-bd9d-9e351015f20d.jpeg</url>
      <title>DEV Community: Ravi Shah</title>
      <link>https://dev.to/shahravir</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shahravir"/>
    <language>en</language>
    <item>
      <title>Eight Patterns Every Agentic Engineer Should Know (And Why Most Teams Only Use Two)</title>
      <dc:creator>Ravi Shah</dc:creator>
      <pubDate>Sat, 23 May 2026 23:59:02 +0000</pubDate>
      <link>https://dev.to/shahravir/eight-patterns-every-agentic-engineer-should-know-and-why-most-teams-only-use-two-4n74</link>
      <guid>https://dev.to/shahravir/eight-patterns-every-agentic-engineer-should-know-and-why-most-teams-only-use-two-4n74</guid>
      <description>&lt;p&gt;There’s a quiet problem unfolding inside most enterprise AI programmes right now. Teams are building “agentic” systems — and most of them are building the same ones — RAG and ReAct based, over and over again.&lt;/p&gt;

&lt;p&gt;A retrieval-augmented(RAG) agent that answers questions. A ReAct loop that calls a tool when prompted. Both useful. Both well understood. Both barely scratching the surface of what agentic engineering can actually do.&lt;/p&gt;

&lt;p&gt;I’ve spent the last year building out a GenAI Technical Reference Architecture for financial services — mapping how agentic AI actually works inside complex regulated enterprises, not how it works in demo videos. What emerged were eight distinct agentic application patterns. Not eight variations of the same thing. Eight genuinely different ways agents reason, act, and collaborate. And in nearly every engagement I walk into, teams are living in patterns one and two.&lt;/p&gt;

&lt;p&gt;Here’s what they’re missing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pattern 1 — RAG-Augmented Agent&lt;/strong&gt; The default starting point. Ground the model in your data, reduce hallucination, answer questions. This is where most teams begin. And stop.&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%2Fa81osth48gaem5kufr0w.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%2Fa81osth48gaem5kufr0w.png" alt="Pattern 1 — RAG-Augmented Agent" width="799" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pattern 2 — ReAct (Reason + Act)&lt;/strong&gt; The agent reasons step-by-step, selects a tool, observes the result, and loops. Most chatbot and copilot implementations live here. It’s powerful — but single-agent, single-turn in practice.&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%2Fxkrmsmboqg28wvkc22k0.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%2Fxkrmsmboqg28wvkc22k0.png" alt="Pattern 2 — ReAct (Reason + Act)" width="799" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pattern 3 — Plan-and-Execute&lt;/strong&gt; The agent separates planning from execution. A planner decomposes a complex goal into subtasks; an executor works through them independently. This is where agentic AI starts to feel genuinely autonomous. Most teams haven’t reached it yet.&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%2Fw3lptizm72h8wvvn1al2.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%2Fw3lptizm72h8wvvn1al2.png" alt="Pattern 3 — Plan-and-Execute" width="799" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pattern 4 — Reflexion / Self-Critique&lt;/strong&gt; The agent reviews its own output, scores it against a rubric, and iterates before responding. This is how you build agents that don’t just answer — they improve. Critical for regulated environments where the quality, consistency, and auditability matter.&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%2Fcq11xm9vudt1ejbk59mq.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%2Fcq11xm9vudt1ejbk59mq.png" alt="Pattern 4 — Reflexion / Self-Critique" width="799" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pattern 5 — Multi-Agent Orchestration&lt;/strong&gt; An orchestrator agent decomposes work and delegates to specialist sub-agents — each with their own tools, memory, and domain focus. This is the pattern that unlocks genuine enterprise-scale automation. It’s also the pattern that breaks most enterprise architecture assumptions about ownership, observability, and control.&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%2Frr4k9uwivud9lntuuebc.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%2Frr4k9uwivud9lntuuebc.png" alt="Pattern 5 — Multi-Agent Orchestration" width="799" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pattern 6 — Human-in-the-Loop (HiTL)&lt;/strong&gt; Agent The agent executes autonomously up to a defined confidence or risk threshold, then hands off to a human reviewer before proceeding. Not a fallback. A purposeful design choice. In financial services, this isn’t optional — it’s a regulatory posture. The architecture question is where you place the human gate, not whether you need one.&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%2Fbe6kv6gtfl7ey83w0wzp.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%2Fbe6kv6gtfl7ey83w0wzp.png" alt="Pattern 6 — Human-in-the-Loop (HiTL)" width="799" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pattern 7 — Event-Driven Agentic Pipeline&lt;/strong&gt; Agents are triggered by events — a transaction, a document arrival, a threshold breach — rather than by a human prompt. The system becomes proactive. This is where agentic AI starts to behave like infrastructure, not just tooling. And it requires an entirely different approach to idempotency, failure handling, and agent lifecycle management.&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%2Fu6s6i7u8f0gqjyj8pykw.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%2Fu6s6i7u8f0gqjyj8pykw.png" alt="Pattern 7 — Event-Driven Agentic Pipeline" width="799" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pattern 8 — Federated / Ecosystem Agent&lt;/strong&gt; Agents that operate across organisational boundaries — interacting with partner APIs, third-party data, or other institutions’ agent networks. In banking, think open finance, ecosystem partnerships, and real-time interoperability. This is the frontier. Most enterprises don’t have the governance architecture to support it yet, but it’s coming faster than anyone is planning for.&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%2Fzsbq58ol410bxhfza8wc.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%2Fzsbq58ol410bxhfza8wc.png" alt="Pattern 8 — Federated / Ecosystem Agent" width="799" height="436"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So why do most teams only use two?&lt;/p&gt;

&lt;p&gt;Partly it’s tooling — LangChain, AutoGen, and similar frameworks make patterns 1 and 2 trivially easy and patterns 5–8 genuinely hard. Partly it’s risk appetite — autonomous execution is frightening if you don’t have the observability stack to match. But mostly, I think it’s architecture. Teams are building agents without first asking what class of problem they’re solving.&lt;/p&gt;

&lt;p&gt;The pattern you choose determines your entire downstream architecture: how you design memory, how you handle state, how you instrument for auditability, how you govern trust. Picking the wrong one early is expensive to unpick.&lt;/p&gt;

&lt;p&gt;The conversation I want to see happening in engineering teams isn’t “should we use agents?” — that ship has sailed. It’s “which pattern fits this problem, and have we the architectural maturity to run it safely?”&lt;/p&gt;

&lt;p&gt;That question separates the teams building toys from the teams building infrastructure.&lt;/p&gt;

&lt;p&gt;I’ve been developing a reference architecture for agentic AI in financial services covering all eight patterns, with a seven-layer implementation framework and trust/governance model. Happy to share thinking — leave a comment or connect directly.&lt;/p&gt;

&lt;p&gt;Originally published at &lt;a href="https://www.linkedin.com" rel="noopener noreferrer"&gt;https://www.linkedin.com&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;—&lt;br&gt;
Ravi Shah writes about agentic engineering and Financial Services transformation.&lt;br&gt;
Hub: &lt;a href="https://shahravir.github.io" rel="noopener noreferrer"&gt;https://shahravir.github.io&lt;/a&gt; · LinkedIn · GitHub · DEV&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>architecture</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
