<?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: Farhan Bhatti</title>
    <description>The latest articles on DEV Community by Farhan Bhatti (@farhan_bhatti_96a49833865).</description>
    <link>https://dev.to/farhan_bhatti_96a49833865</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4260520%2Fa8188b5f-bc0c-4d10-b8bd-6433d5ae4685.jpg</url>
      <title>DEV Community: Farhan Bhatti</title>
      <link>https://dev.to/farhan_bhatti_96a49833865</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/farhan_bhatti_96a49833865"/>
    <language>en</language>
    <item>
      <title>How to Verify Agentic AI Outputs Before You Trust Automation</title>
      <dc:creator>Farhan Bhatti</dc:creator>
      <pubDate>Fri, 27 Nov 2026 12:10:37 +0000</pubDate>
      <link>https://dev.to/farhan_bhatti_96a49833865/how-to-verify-agentic-ai-outputs-before-you-trust-automation-f73</link>
      <guid>https://dev.to/farhan_bhatti_96a49833865/how-to-verify-agentic-ai-outputs-before-you-trust-automation-f73</guid>
      <description>&lt;p&gt;Agentic systems break a habit many teams bring from normal software: same input, same output.&lt;/p&gt;

&lt;p&gt;An agent plans, calls tools, and writes natural language. Two runs can differ. That is fine for drafting. It is dangerous for actions.&lt;/p&gt;

&lt;p&gt;Before you automate, decide what “correct” means.&lt;/p&gt;

&lt;p&gt;Three checks that matter&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Functional correctness&lt;/strong&gt;&lt;br&gt;
Did the agent finish the task? Booking, update, summary, ticket — whatever you asked.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Safety&lt;/strong&gt;&lt;br&gt;
Did it refuse risky actions, skip private data leaks, and stay inside permissions?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Style / contract&lt;/strong&gt;&lt;br&gt;
Did it return the format your system needs? JSON shape, fields, tone, length.&lt;/p&gt;

&lt;p&gt;A simple verification loop&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Write 20 golden tasks from real work&lt;/li&gt;
&lt;li&gt;Run the agent 3 times on each task&lt;/li&gt;
&lt;li&gt;Score pass / fail on the three checks above&lt;/li&gt;
&lt;li&gt;Log tool calls and retrieved sources&lt;/li&gt;
&lt;li&gt;Require human approval for send, pay, delete, or public post&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What to observe in production&lt;/p&gt;

&lt;p&gt;Track:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;task success rate&lt;/li&gt;
&lt;li&gt;approval reject rate&lt;/li&gt;
&lt;li&gt;retrieval miss rate&lt;/li&gt;
&lt;li&gt;repeated tool failures&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If reject rate is high, the agent is not ready for more autonomy. Improve the workflow first.&lt;/p&gt;

&lt;p&gt;Full write-up&lt;/p&gt;

&lt;p&gt;We go deeper on verification, debugging, and observability for agent outputs here:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://armortechtrading.com/blog/how-to-verify-and-debug-agentic-ai-outputs-for-reliable-automation" rel="noopener noreferrer"&gt;https://armortechtrading.com/blog/how-to-verify-and-debug-agentic-ai-outputs-for-reliable-automation&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Question for other builders: what do you gate behind human approval first — outbound messages, data writes, or both?&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>automation</category>
      <category>testing</category>
    </item>
    <item>
      <title>Putting AI Agents in Slack and Outlook Without Rewriting Your Stack</title>
      <dc:creator>Farhan Bhatti</dc:creator>
      <pubDate>Thu, 26 Nov 2026 13:18:20 +0000</pubDate>
      <link>https://dev.to/farhan_bhatti_96a49833865/putting-ai-agents-in-slack-and-outlook-without-rewriting-your-stack-134j</link>
      <guid>https://dev.to/farhan_bhatti_96a49833865/putting-ai-agents-in-slack-and-outlook-without-rewriting-your-stack-134j</guid>
      <description>&lt;p&gt;Most teams do not need a new “&lt;strong&gt;AI workplace&lt;/strong&gt;” They already live in Slack, Teams, and Outlook.&lt;/p&gt;

&lt;p&gt;The useful move is smaller: put an agent where the work already happens, without rebuilding identity, storage, or the approval path.&lt;/p&gt;

&lt;p&gt;This post is a practical checklist from embedding agents into chat and email workflows.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1) Keep identity native&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Do not invent a second login if you can avoid it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Slack: OAuth with tight scopes&lt;/li&gt;
&lt;li&gt;Microsoft: Entra ID / Graph with delegated permissions for user actions&lt;/li&gt;
&lt;li&gt;Prefer user-delegated tokens when the agent sends mail or posts as a person&lt;/li&gt;
&lt;li&gt;Use app tokens only for background jobs&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the agent acts for a user, the audit trail should show that user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2) Separate “draft” from “send”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is the rule that prevents most pain.&lt;/p&gt;

&lt;p&gt;Let the agent:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;summarize a thread&lt;/li&gt;
&lt;li&gt;draft a reply&lt;/li&gt;
&lt;li&gt;prepare a CRM note&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not let it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;send externally&lt;/li&gt;
&lt;li&gt;change billing data&lt;/li&gt;
&lt;li&gt;post to a public channel&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;until a person approves.&lt;/p&gt;

&lt;p&gt;Human-in-the-loop is not a nice-to-have. It is the product boundary.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3) Persist context across tools&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;A Slack question often becomes an Outlook draft.&lt;/p&gt;

&lt;p&gt;Store a small state object:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;thread id&lt;/li&gt;
&lt;li&gt;user id&lt;/li&gt;
&lt;li&gt;intent&lt;/li&gt;
&lt;li&gt;short summary&lt;/li&gt;
&lt;li&gt;links to attachments or ticket ids&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Redis is enough for session state. Use a vector store only when you need retrieval across older docs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4) Summarize before the context window blows up&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Long threads will exceed model limits. When that happens, keep:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a rolling summary&lt;/li&gt;
&lt;li&gt;the last few raw messages&lt;/li&gt;
&lt;li&gt;the decision points that still matter&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Do not dump the whole channel history into every prompt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5) Start with one workflow&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Good first candidates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;draft a support reply from a Slack escalation&lt;/li&gt;
&lt;li&gt;turn a meeting summary into an Outlook follow-up&lt;/li&gt;
&lt;li&gt;create an internal ticket from a channel alert&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bad first candidates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“answer anything about the company”&lt;/li&gt;
&lt;li&gt;“send mail to customers automatically”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Ship the draft loop first. Automate send later, if ever.&lt;/p&gt;

&lt;p&gt;Deeper write-up&lt;/p&gt;

&lt;p&gt;We published a longer guide covering auth, context passing, and human-in-the-loop design for Teams, Slack, and Outlook:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://armortechtrading.com/blog/embedding-ai-agents-into-teams-slack-and-outlook-without-a-rewrite" rel="noopener noreferrer"&gt;https://armortechtrading.com/blog/embedding-ai-agents-into-teams-slack-and-outlook-without-a-rewrite&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you have already embedded an agent into chat or email, what broke first: permissions, context, or approvals?&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>automation</category>
      <category>productivity</category>
    </item>
    <item>
      <title>RAG vs Fine-Tuning: What Should a Business Pick First?</title>
      <dc:creator>Farhan Bhatti</dc:creator>
      <pubDate>Wed, 25 Nov 2026 08:08:57 +0000</pubDate>
      <link>https://dev.to/farhan_bhatti_96a49833865/rag-vs-fine-tuning-what-should-a-business-pick-first-55ej</link>
      <guid>https://dev.to/farhan_bhatti_96a49833865/rag-vs-fine-tuning-what-should-a-business-pick-first-55ej</guid>
      <description>&lt;p&gt;When a team wants answers from its own files, two options come up: fine-tune a model, or use RAG.&lt;/p&gt;

&lt;p&gt;Fine-tuning changes the model. That can help with tone or a narrow skill, but it is slower to update when policies or product docs change.&lt;/p&gt;

&lt;p&gt;RAG keeps the model as-is and retrieves from your documents at answer time. For internal handbooks, SOPs, and product FAQs, that is usually the better first step.&lt;/p&gt;

&lt;p&gt;A useful check before building: which source is the source of truth, how often it changes, and whether answers need citations.&lt;/p&gt;

&lt;p&gt;If you want a practical look at RAG systems for business knowledge: &lt;a href="https://armortechtrading.com/services/rag-systems" rel="noopener noreferrer"&gt;https://armortechtrading.com/services/rag-systems&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How Businesses Can Use AI Automation for Repetitive Work</title>
      <dc:creator>Farhan Bhatti</dc:creator>
      <pubDate>Tue, 24 Nov 2026 09:36:04 +0000</pubDate>
      <link>https://dev.to/farhan_bhatti_96a49833865/how-businesses-can-use-ai-automation-for-repetitive-work-2b7d</link>
      <guid>https://dev.to/farhan_bhatti_96a49833865/how-businesses-can-use-ai-automation-for-repetitive-work-2b7d</guid>
      <description>&lt;p&gt;Most teams still move data by hand: copy from email, paste into a sheet, then send a reply.&lt;/p&gt;

&lt;p&gt;AI automation can connect those steps. A workflow can read the request, update the tracker, and prepare the reply. A person should still approve anything that spends money or goes to a client.&lt;/p&gt;

&lt;p&gt;Before you automate, write down the steps, the tools involved, and the actions that always need a human yes.&lt;/p&gt;

&lt;p&gt;Armor Tech builds these workflows here: &lt;a href="https://armortechtrading.com/services/ai-automation" rel="noopener noreferrer"&gt;https://armortechtrading.com/services/ai-automation&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How AI Agents Take Repetitive Work Off a Team</title>
      <dc:creator>Farhan Bhatti</dc:creator>
      <pubDate>Mon, 23 Nov 2026 11:54:20 +0000</pubDate>
      <link>https://dev.to/farhan_bhatti_96a49833865/how-ai-agents-take-repetitive-work-off-a-team-2h1e</link>
      <guid>https://dev.to/farhan_bhatti_96a49833865/how-ai-agents-take-repetitive-work-off-a-team-2h1e</guid>
      <description>&lt;p&gt;Teams still lose hours on work that follows the same steps every day: reading an email, copying details into a sheet, and sending a standard reply.&lt;/p&gt;

&lt;p&gt;A chatbot only answers a question. An AI agent can carry the whole sequence. It reads the message, pulls out the useful fields, updates the sheet, and drafts the reply. A person still approves anything that spends money, changes a customer record, or goes to a client.&lt;/p&gt;

&lt;p&gt;One useful starting workflow is an inbox assistant. New requests land in a shared mailbox. The agent tags each one, writes the row in the tracker, and prepares the response. Staff handle the exceptions instead of every message.&lt;/p&gt;

&lt;p&gt;Teams that want this kind of agent built, with approvals and a real handoff to their tools, can look at agentic AI services from Armor Tech: &lt;a href="https://armortechtrading.com/services/agentic-ai" rel="noopener noreferrer"&gt;https://armortechtrading.com/services/agentic-ai&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Before the first agent goes live, write down the steps it may take, the tools it may touch, and the actions that always need a human yes.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
