<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Abhijeet Pandey on Medium]]></title>
        <description><![CDATA[Stories by Abhijeet Pandey on Medium]]></description>
        <link>https://medium.com/@bombolonee?source=rss-cb25f4c0e74d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*SRMuTX_tsCCn2xEj</url>
            <title>Stories by Abhijeet Pandey on Medium</title>
            <link>https://medium.com/@bombolonee?source=rss-cb25f4c0e74d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 07:01:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@bombolonee/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[AI in Your Pocket — The Convergence of On-Device Intelligence and Personal Finance]]></title>
            <link>https://bombolonee.medium.com/ai-in-your-pocket-the-convergence-of-on-device-intelligence-and-personal-finance-6687a72f9d98?source=rss-cb25f4c0e74d------2</link>
            <guid isPermaLink="false">https://medium.com/p/6687a72f9d98</guid>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Abhijeet Pandey]]></dc:creator>
            <pubDate>Thu, 11 Jun 2026 04:43:41 GMT</pubDate>
            <atom:updated>2026-06-11T04:43:41.190Z</atom:updated>
            <content:encoded><![CDATA[<p>The promise of personal AI has always had a tension at its core: the more capable the model, the more data it needs to send to the cloud. The more private you want to keep your information, the less capable the AI tends to be. For most of the last five years, that tradeoff felt fundamental — a constraint built into the architecture of how these systems work.</p><p>In 2026, that constraint is starting to dissolve.</p><h3>The Hardware-Software Convergence</h3><p>The shift is being driven from two directions simultaneously. On the hardware side, <strong>NVIDIA Cosmos 3 and Intel Xeon 6+</strong> are delivering faster, more cost-efficient AI processing in a smaller power envelope than ever before. On the software side, breakthroughs like <strong>Google’s TurboQuant</strong> — which compresses LLM memory usage by up to 6x without accuracy loss — are bringing models that once required server-grade infrastructure into the range of consumer devices.</p><p>The combination is significant. When a model that previously required a datacenter to run can now fit in the memory of a modern smartphone, the privacy calculus changes entirely. Your tax documents, your bank statements, your spending patterns — none of that has to leave your device to be analyzed by a capable AI. The data stays local. The intelligence comes with it.</p><h3>What “Personal Finance AI” Could Actually Look Like</h3><p>Imagine opening your phone and asking: <em>“Am I on track to hit my savings goal this quarter, and if not, where should I cut?”</em> Today, answering that question accurately requires either a cloud-hosted AI with access to your connected accounts (and all the privacy implications that come with that), or a human financial advisor. With on-device LLMs running efficiently on compressed KV caches, that question can be answered locally — by a model that has been given read-only access to your local financial data and never sends it anywhere.</p><p>This isn’t science fiction. It’s the direction the entire AI efficiency research community is moving toward. Google’s open-source <strong>Gemma 4</strong> models, released under Apache 2.0, are specifically designed for advanced reasoning in resource-constrained environments. They’re the kind of models that could run on-device for exactly these use cases.</p><h3>The Intuit Opportunity</h3><p><strong>Intuit</strong> has spent decades building products — QuickBooks, TurboTax, Mint, Credit Karma — that sit at the most sensitive intersection of personal data and financial decision-making. The trust Intuit has earned with small business owners and individual consumers is real and hard-won. The question for the next five years isn’t whether AI will transform these products — it already is. It’s whether that transformation can happen in a way that <em>increases</em> user trust rather than eroding it.</p><p>On-device AI offers a meaningful answer to that question. A version of TurboTax that can reason about your tax situation — flagging potential deductions, catching input errors, estimating your refund — while keeping your W-2s, 1099s, and dependent information entirely on your local device is not just technically possible. It’s a competitive differentiation. The same applies to QuickBooks on mobile: a small business owner who can get AI-generated cash flow insights from their phone, without worrying that their revenue data is being used to train some remote model, is a stickier customer.</p><h3>The Trust Layer Is the Product</h3><p>There’s a broader point here that goes beyond any single company. As AI becomes embedded in the most personal domains of our lives — our health, our finances, our professional development — <strong>trust architecture becomes product architecture</strong>. The companies that figure out how to deliver genuine intelligence while keeping sensitive data local, auditable, and under user control will have an advantage that no amount of model capability can override.</p><p>The technical pieces are coming together faster than most people expected. TurboQuant, Gemma 4, Cosmos 3, and a dozen other efficiency breakthroughs announced in 2026 are collectively making on-device AI a near-term reality rather than a long-term aspiration.</p><p>The efficiency revolution isn’t just about cutting infrastructure costs. It’s about building AI that people can actually trust with the things that matter most to them.</p><p>That’s not a small thing. That might be everything.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6687a72f9d98" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Architecting an Enterprise-Grade Generative AI Operating System (GenOS)]]></title>
            <link>https://bombolonee.medium.com/architecting-an-enterprise-grade-generative-ai-operating-system-genos-dd4f51dcb27e?source=rss-cb25f4c0e74d------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd4f51dcb27e</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Abhijeet Pandey]]></dc:creator>
            <pubDate>Mon, 23 Feb 2026 08:01:26 GMT</pubDate>
            <atom:updated>2026-02-23T08:01:26.190Z</atom:updated>
            <content:encoded><![CDATA[<p>If your engineering team is building one-off integrations directly to OpenAI or Anthropic APIs for every new feature, you are accumulating massive technical debt. As enterprises scale their AI capabilities, the need for a centralized, governed, and extensible infrastructure becomes critical. Enter the <strong>Generative AI Operating System (GenOS)</strong>.</p><h3>The Problem with Siloed AI Development</h3><p>When teams build LLM wrappers in silos, several architectural nightmares emerge:</p><ul><li><strong>Vendor Lock-in:</strong> Hardcoding prompts and logic to a specific model makes it difficult to pivot when a faster or cheaper open-source model drops.</li><li><strong>Security Risks:</strong> Without centralized guardrails, sensitive PII or proprietary code can easily leak into third-party training pipelines.</li><li><strong>Redundant Infrastructure:</strong> Every team ends up building their own RAG (Retrieval-Augmented Generation) pipelines and vector stores.</li></ul><h3>The GenOS Blueprint: A Case Study</h3><p>To solve this, leading tech companies are building dedicated AI platforms. <strong>Intuit</strong> has been a pioneer in this space with their proprietary GenOS, which empowers thousands of developers to build and deploy AI experiences safely and rapidly.</p><p>A robust GenOS typically consists of three foundational layers:</p><ol><li><strong>The Sandbox (GenStudio):</strong> A unified development environment where developers can experiment with a catalog of LLMs — from commercial models like Claude and Gemini to open-source models like Llama and Mistral. It standardizes prompt management and model evaluation.</li><li><strong>The Runtime (GenRuntime):</strong> The orchestration layer that handles routing, rate limiting, and cost tracking. Most importantly, it includes embedded security, risk, and fraud (SRF) controls. Intuit’s GenSRF, for example, ensures that data privacy and security guardrails are applied globally across all AI requests before they ever hit an external model.</li><li><strong>The Experience Layer (GenUX):</strong> A library of reusable UI components tailored for AI interactions, ensuring a consistent user experience across different products.</li></ol><h3>The Takeaway for Platform Engineers</h3><p>Treating AI-assisted development as an IDE plugin or a quick API call is a mistake. By abstracting the complexities of LLMs into a platform-centric GenOS, organizations can decouple their application logic from the underlying AI models, ensuring they remain agile, secure, and ready to adopt the next breakthrough in AI research.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd4f51dcb27e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond the Chatbot: How Agentic AI is Rewiring Enterprise Workflows]]></title>
            <link>https://bombolonee.medium.com/beyond-the-chatbot-how-agentic-ai-is-rewiring-enterprise-workflows-daa2ab3df117?source=rss-cb25f4c0e74d------2</link>
            <guid isPermaLink="false">https://medium.com/p/daa2ab3df117</guid>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[Abhijeet Pandey]]></dc:creator>
            <pubDate>Mon, 23 Feb 2026 08:00:06 GMT</pubDate>
            <atom:updated>2026-02-23T08:00:06.525Z</atom:updated>
            <content:encoded><![CDATA[<p>The first wave of enterprise AI was all about generation and conversational interfaces. We built chatbots to query documentation and copilots to autocomplete our code. But the frontier has shifted from <em>generative</em> AI to <strong>Agentic AI</strong> — systems designed not just to answer questions, but to autonomously execute multi-step workflows.</p><h3>The Anatomy of an AI Agent</h3><p>Unlike traditional reactive models that require a human prompt for every action, Agentic AI operates with a degree of autonomy. A true AI agent consists of three core components:</p><ol><li><strong>A Planning Engine:</strong> Usually powered by a Large Language Model (LLM), which breaks a high-level goal into actionable steps.</li><li><strong>Tool Use (Function Calling):</strong> The ability to interact with external APIs, databases, or SaaS platforms to fetch context or execute actions.</li><li><strong>Memory:</strong> Both short-term (context window) and long-term (vector databases) to remember past interactions and adjust its strategy.</li></ol><h3>From Copilots to Autonomous Workflows</h3><p>To see what this looks like in production, we can look at the financial technology sector. <strong>Intuit</strong> recently rolled out a suite of AI agents within its QuickBooks platform that perfectly illustrates this architectural shift.</p><p>Rather than just summarizing financial data, Intuit’s agents take active roles:</p><ul><li><strong>The Customer Agent:</strong> Autonomously sources leads from an email inbox, prioritizes them based on historical conversion data, drafts personalized responses, and tracks the sales cycle.</li><li><strong>The Accounting Agent:</strong> Moves beyond simple categorization to proactively match transactions, identify anomalies, and even text a client to automatically upload a missing receipt for a specific credit card charge.</li></ul><h3>Why Agentic AI is the Future</h3><p>The ROI of AI is no longer just about saving a few seconds on drafting an email. It is about <em>orchestrating</em> tasks. By treating AI as a capable node in a broader microservices architecture, companies can tackle “decision fatigue” and automate the routine operational complexities that bottleneck scaling.</p><p>As we move forward, the engineering challenge shifts from fine-tuning models to building robust, secure environments where these agents can act safely on our behalf.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=daa2ab3df117" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clustering Showdown: kNN vs. Weighted Edge Connected Components]]></title>
            <link>https://bombolonee.medium.com/clustering-showdown-knn-vs-weighted-edge-connected-components-fcb6ba2d5f50?source=rss-cb25f4c0e74d------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcb6ba2d5f50</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[graph]]></category>
            <category><![CDATA[clustering]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[algorithms]]></category>
            <dc:creator><![CDATA[Abhijeet Pandey]]></dc:creator>
            <pubDate>Mon, 28 Jul 2025 15:28:12 GMT</pubDate>
            <atom:updated>2025-07-28T15:28:12.595Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever stared at data points scattered like stars across your screen and wondered, <em>how do I group these together?</em> Welcome to the exciting world of clustering! Businesses from Intuit to Netflix constantly use clustering to find patterns, segment customers, detect fraud, and more. Today, let’s explore two popular clustering techniques: <strong>k-Nearest Neighbors (kNN)</strong> and <strong>Weighted Edge Connected Components</strong>.</p><h3>First, Why Clustering?</h3><p>Clustering is all about grouping similar objects or data points into clusters. Whether you’re segmenting users based on spending behavior, grouping transactions, or organizing images — good clustering makes your data actionable. But not all clustering methods are created equal.</p><p>Let’s dive into our contenders.</p><h3>Meet the Classic: k-Nearest Neighbors (kNN)</h3><p>The kNN approach clusters points based on proximity. It’s intuitive: each point looks at its “nearest neighbors,” and these relationships form natural groupings.</p><p>Here’s how kNN might look in Python:</p><pre>from sklearn.cluster import KMeans<br>import numpy as np<br><br># Sample data<br>data = np.array([[1, 2], [1, 4], [5, 8], [8, 8]])<br># Using KMeans (common variant of kNN approach)<br>kmeans = KMeans(n_clusters=2)<br>kmeans.fit(data)<br>print(kmeans.labels_)</pre><p><strong>Pros:</strong></p><ul><li>Easy and intuitive to use.</li><li>Efficient on small-to-medium datasets.</li><li>Simple to tune (adjusting k or number of neighbors).</li></ul><p><strong>Cons:</strong></p><ul><li>Sensitive to the choice of k or initial conditions.</li><li>Doesn’t naturally handle non-spherical clusters or clusters of varying density.</li></ul><h3>Introducing the Challenger: Weighted Edge Connected Components</h3><p>Weighted Edge Connected Components uses a graph-based approach, treating points as nodes connected by edges whose weights represent similarity. Clusters form by cutting the weaker edges, leaving groups of strongly connected nodes.</p><p>Here’s a quick Python example using NetworkX:</p><pre>import networkx as nx<br><br># Create a weighted graph<br>G = nx.Graph()<br># Add weighted edges (similarity scores)<br>G.add_edge(&#39;A&#39;, &#39;B&#39;, weight=0.9)<br>G.add_edge(&#39;B&#39;, &#39;C&#39;, weight=0.85)<br>G.add_edge(&#39;A&#39;, &#39;C&#39;, weight=0.88)<br>G.add_edge(&#39;D&#39;, &#39;E&#39;, weight=0.92)<br>G.add_edge(&#39;E&#39;, &#39;F&#39;, weight=0.89)<br>G.add_edge(&#39;D&#39;, &#39;F&#39;, weight=0.9)<br>G.add_edge(&#39;C&#39;, &#39;D&#39;, weight=0.2)  # Weak link between clusters<br># Remove weak edges<br>threshold = 0.5<br>strong_edges = [(u, v) for u, v, w in G.edges(data=&#39;weight&#39;) if w &gt;= threshold]<br>H = G.edge_subgraph(strong_edges)<br># Find connected components<br>clusters = list(nx.connected_components(H))<br>print(clusters)</pre><p><strong>Pros:</strong></p><ul><li>Flexible in handling irregular shapes and densities.</li><li>Robust against noise, since weak edges can be easily pruned.</li><li>Clearly defined groups based on actual data similarity.</li></ul><p><strong>Cons:</strong></p><ul><li>Computationally more intensive.</li><li>Threshold selection for edges can require experimentation.</li></ul><h3>kNN vs. Weighted Edge Connected Components: Quick Comparison</h3><h3>kNN vs. Weighted Edge Connected Components: Quick Comparison</h3><p><strong>Simplicity</strong></p><ul><li><strong>kNN:</strong> ✅ Easy</li><li><strong>Weighted Edge:</strong> ⚠️ Moderate complexity</li></ul><p><strong>Flexibility</strong></p><ul><li><strong>kNN:</strong> ⚠️ Limited</li><li><strong>Weighted Edge:</strong> ✅ Highly flexible</li></ul><p><strong>Robustness to Noise</strong></p><ul><li><strong>kNN:</strong> ⚠️ Moderate</li><li><strong>Weighted Edge:</strong> ✅ High</li></ul><p><strong>Scalability</strong></p><ul><li><strong>kNN:</strong> ✅ High</li><li><strong>Weighted Edge:</strong> ⚠️ Moderate</li></ul><p><strong>Cluster Shapes</strong></p><ul><li><strong>kNN:</strong> ⚠️ Best with spherical shapes</li><li><strong>Weighted Edge:</strong> ✅ Handles irregular shapes well</li></ul><h3>When Should You Use Which?</h3><ul><li><strong>Choose kNN</strong> when you need speed, simplicity, and you have clusters that are roughly equal-sized or spherical.</li><li><strong>Go for Weighted Edge Connected Components</strong> when dealing with irregular shapes, noisy data, or when you need highly accurate, flexible clustering.</li></ul><p>Companies like Intuit and Netflix might use graph-based clustering (Weighted Edge) to accurately detect patterns in complex user behavior, while quicker methods like kNN might dominate in faster, simpler scenarios, such as initial customer segmentation.</p><h3>Wrapping Up</h3><p>Choosing the right clustering technique hinges on your data, goals, and complexity tolerance:</p><ul><li>Quick and easy? <strong>kNN</strong> is your best bet.</li><li>Complex, noisy, and irregular? <strong>Weighted Edge Connected Components</strong> has you covered.</li></ul><p>Either way, you’re now ready to tackle clustering with confidence. Happy clustering!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcb6ba2d5f50" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Object Matching Made Simple: Embeddings vs. Traditional Methods]]></title>
            <link>https://bombolonee.medium.com/object-matching-made-simple-embeddings-vs-traditional-methods-366a43dcb4fd?source=rss-cb25f4c0e74d------2</link>
            <guid isPermaLink="false">https://medium.com/p/366a43dcb4fd</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[embedding]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Abhijeet Pandey]]></dc:creator>
            <pubDate>Mon, 28 Jul 2025 15:14:44 GMT</pubDate>
            <atom:updated>2025-07-28T15:14:44.555Z</atom:updated>
            <content:encoded><![CDATA[<p>Ever tried figuring out if two products listed online are actually the same? Or matching user profiles across different platforms? Welcome to the tricky world of <strong>object matching</strong>! Businesses big and small — from tech giants like Amazon and Intuit to your local startup — are constantly tackling this challenge. Today, let’s explore two powerful methods: <strong>Embeddings with Cosine Similarity</strong> and <strong>Jaccard Similarity</strong>.</p><h3>What’s the Big Deal with Object Matching?</h3><p>Object matching is all about determining whether two entities represent the same real-world object, whether they’re products, users, financial transactions, or even documents. Companies like Intuit heavily rely on accurate object matching to streamline financial records, eliminate duplicates, and provide personalized user experiences.</p><p>Getting this right means cleaner databases, improved customer experiences, and smarter analytics.</p><h3>The Classic Approach: Jaccard Similarity</h3><p>The Jaccard similarity measures how similar two sets are by comparing their overlap. Simply put, it checks how many common elements exist between two entities.</p><p>Here’s a quick Python example:</p><pre>def jaccard_similarity(set1, set2):<br>    intersection = len(set1 &amp; set2)<br>    union = len(set1 | set2)<br>    return intersection / union</pre><pre>set_a = {&#39;apple&#39;, &#39;banana&#39;, &#39;orange&#39;}<br>set_b = {&#39;banana&#39;, &#39;orange&#39;, &#39;kiwi&#39;}</pre><pre>print(jaccard_similarity(set_a, set_b))  # Output: 0.5</pre><p><strong>Pros:</strong></p><ul><li>Easy and intuitive.</li><li>Fast and efficient for small datasets.</li></ul><p><strong>Cons:</strong></p><ul><li>Doesn’t capture semantic meaning (“car” and “automobile” are treated as entirely different).</li><li>Struggles with large or complex datasets.</li></ul><h3>The New Kid: Embeddings and Cosine Similarity</h3><p>Embeddings represent objects (words, documents, products) as vectors in high-dimensional spaces. Cosine similarity then calculates how close these vectors are based on their direction, effectively capturing deeper semantic relationships. Companies like Intuit increasingly leverage embedding-based approaches to match financial transactions or customer data that may vary slightly in wording but are semantically similar.</p><p>Check out this Python snippet:</p><pre>from sklearn.metrics.pairwise import cosine_similarity<br>from sklearn.feature_extraction.text import TfidfVectorizer<br><br>texts = [\&quot;red car\&quot;, \&quot;blue automobile\&quot;, \&quot;fruit basket\&quot;]<br><br>vectorizer = TfidfVectorizer()<br>vectors = vectorizer.fit_transform(texts)<br>cos_sim = cosine_similarity(vectors[0], vectors[1])<br><br>print(cos_sim)  # High similarity score, recognizing \&quot;car\&quot; ~ \&quot;automobile\&quot;</pre><p><strong>Pros:</strong></p><ul><li>Captures semantic meaning and context.</li><li>Powerful for handling natural language and diverse data types.</li></ul><p><strong>Cons:</strong></p><ul><li>Computationally heavier than Jaccard.</li><li>Requires good embedding models or pre-trained vectors.</li></ul><h3>Jaccard vs. Cosine: When to Use What?</h3><ul><li><strong>Jaccard Similarity</strong> shines for quick checks, structured data, or simple tagging systems.</li><li><strong>Cosine Similarity with Embeddings</strong> is unbeatable for text data, semantic matching, or when dealing with ambiguity and complexity — exactly why businesses like Intuit rely on it.</li></ul><h3>Wrapping it Up</h3><p>Choosing the right matching method boils down to your needs:</p><ul><li>Need speed and simplicity? <strong>Go with Jaccard.</strong></li><li>Need deeper, more intuitive matching? <strong>Cosine similarity with embeddings</strong> is your friend.</li></ul><p>Either way, you’re equipped to make smarter, cleaner matches. Happy matching!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=366a43dcb4fd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ReWOO: A token saving approach for your agent]]></title>
            <link>https://bombolonee.medium.com/rewoo-a-token-saving-approach-for-your-agent-5dd3a6875d80?source=rss-cb25f4c0e74d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5dd3a6875d80</guid>
            <category><![CDATA[rewoo]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[computer-science]]></category>
            <dc:creator><![CDATA[Abhijeet Pandey]]></dc:creator>
            <pubDate>Mon, 28 Jul 2025 13:55:56 GMT</pubDate>
            <atom:updated>2025-07-28T15:23:04.826Z</atom:updated>
            <content:encoded><![CDATA[<p>AI Agents are Taking Over (and Companies are Loving It!)</p><p>Imagine a personal assistant who not only listens to your commands but also figures out how to achieve your goals by itself — browsing the internet, analyzing data, booking your flights, or even summarizing complex documents. That’s essentially what an AI agent does — combining large language models (LLMs) like GPT-4 with tools to autonomously tackle complex tasks.</p><p>No wonder tech giants like Google, Intuit, and Microsoft are diving headfirst into the world of agentic AI. They’re investing heavily because agents represent the next big leap in productivity and automation.</p><p>But building efficient agents isn’t always easy. Here’s where <strong>ReWOO</strong> steps in.</p><h3>What’s Wrong with Traditional Approaches?</h3><p>Older agent architectures like <strong>ReAct (Reason-Act-Observe)</strong> handle tasks by repeatedly reasoning, acting (calling tools), and observing results. This repetition, however, leads to:</p><ul><li>Excessive token consumption</li><li>Higher costs due to multiple calls to LLMs</li><li>Latency, making the agent slow and costly</li></ul><h3>Enter ReWOO: A Better Way to Agent</h3><p>ReWOO (Reasoning WithOut Observation) changes the game by separating reasoning from observations, resulting in efficiency, speed, and reliability.</p><p>It works in three simple steps:</p><ol><li><strong>Planner:</strong> Makes a full plan upfront, predicting all the steps.</li><li><strong>Worker:</strong> Executes the planned steps using tools.</li><li><strong>Solver:</strong> Uses the results from the Worker to generate a concise final answer.</li></ol><p>Here’s why it matters:</p><ul><li><strong>Token efficiency:</strong> Far fewer tokens mean lower costs.</li><li><strong>Speed:</strong> Reduced latency due to fewer LLM interactions.</li><li><strong>Reliability:</strong> Clearly defined steps make it robust even when individual tools might fail.</li></ul><h3>See ReWOO in Action with Python</h3><p>Let’s quickly dive into how this looks in Python:</p><h3>1. The Planner</h3><p>This step outlines exactly what the agent needs to do:</p><pre>def planner(task_text):<br>    prompt = f&quot;Plan steps to achieve: {task_text}&quot;<br>    response = openai.ChatCompletion.create(<br>        model=&quot;gpt-4&quot;,<br>        messages=[{&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:prompt}],<br>    )<br>    return response.choices[0].message.content</pre><h3>2. The Worker</h3><p>This part executes the actual tasks (like web searches):</p><pre>def worker(plan_steps):<br>    results = {}<br>    for step in plan_steps:<br>        results[step] = execute_tool(step)<br>    return results</pre><pre>def execute_tool(task):<br>    # Dummy search function, replace with actual API call<br>    return f&quot;Result for {task}&quot;</pre><h3>3. The Solver</h3><p>Finally, the solver wraps it up neatly:</p><pre>def solver(task, plan, results):<br>    prompt = f&quot;Task: {task}\nPlan: {plan}\nResults: {results}\nSummarize this into a concise answer.&quot;<br>    response = openai.ChatCompletion.create(<br>        model=&quot;gpt-4&quot;,<br>        messages=[{&quot;role&quot;:&quot;user&quot;,&quot;content&quot;:prompt}],<br>    )<br>    return response.choices[0].message.content</pre><h3>Why Businesses Love ReWOO</h3><p>ReWOO is a perfect match for tasks that need a structured approach, like customer support, business intelligence, and complex data queries. Companies like Google, Intuit, and Microsoft love it because it makes agents practical, scalable, and cost-effective.</p><h3>Wrapping Up</h3><p>With ReWOO, the future of AI agents is efficient, quick, and affordable. This architecture lets your agent focus clearly, execute swiftly, and deliver robust results — exactly what modern businesses need.</p><p>So, ready to build smarter agents?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5dd3a6875d80" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>