<?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: Mohamed Osama</title>
    <description>The latest articles on DEV Community by Mohamed Osama (@mohamed_osama_9b102cb789b).</description>
    <link>https://dev.to/mohamed_osama_9b102cb789b</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%2F1912122%2F578365c4-c6b0-4569-8503-6f3437e2d431.jpg</url>
      <title>DEV Community: Mohamed Osama</title>
      <link>https://dev.to/mohamed_osama_9b102cb789b</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohamed_osama_9b102cb789b"/>
    <language>en</language>
    <item>
      <title>When a tool goes silent after execution: retry or verify first?</title>
      <dc:creator>Mohamed Osama</dc:creator>
      <pubDate>Sat, 07 Nov 2026 18:31:05 +0000</pubDate>
      <link>https://dev.to/mohamed_osama_9b102cb789b/when-a-tool-goes-silent-after-execution-retry-or-verify-first-27m0</link>
      <guid>https://dev.to/mohamed_osama_9b102cb789b/when-a-tool-goes-silent-after-execution-retry-or-verify-first-27m0</guid>
      <description>&lt;p&gt;The discussion under &lt;a href="https://dev.to/mohamed_osama_9b102cb789b/gemini-tool-calling-why-completion-claims-need-verifiable-results-3kl9"&gt;my previous post&lt;/a&gt; got me thinking about a more specific situation than simply saying "done": what if execution may have succeeded, but we cannot verify it?&lt;/p&gt;

&lt;p&gt;Imagine an assistant sends a request to create a record, then the connection drops before the response arrives. The missing response alone does not tell the user whether the record was created. Retrying immediately could create a duplicate.&lt;/p&gt;

&lt;p&gt;This is a hypothetical example for discussion, not a failure I have reproduced in Gemini.&lt;/p&gt;

&lt;p&gt;For me, a useful message in that situation would be:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;I sent the request, but I couldn't confirm the result. I'll check whether the record exists before retrying.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I'd like to hear from people building agents that use tools: how do you connect an execution attempt to a check of its outcome? How do you decide which operations are safe to repeat and which need verification or user input?&lt;/p&gt;

&lt;p&gt;An error or success message alone isn't enough here. The user needs to know the next step without risking a duplicate operation.&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Gemini tool calling: why completion claims need verifiable results</title>
      <dc:creator>Mohamed Osama</dc:creator>
      <pubDate>Wed, 04 Nov 2026 19:07:37 +0000</pubDate>
      <link>https://dev.to/mohamed_osama_9b102cb789b/gemini-tool-calling-why-completion-claims-need-verifiable-results-3kl9</link>
      <guid>https://dev.to/mohamed_osama_9b102cb789b/gemini-tool-calling-why-completion-claims-need-verifiable-results-3kl9</guid>
      <description>&lt;p&gt;In my personal experience using Gemini in tool-enabled workflows, I have encountered responses that present a task as completed when I cannot verify the intended outcome. I want to discuss that gap constructively with other developers.&lt;/p&gt;

&lt;p&gt;A confident completion message affects what a user does next: trust the result, retry an operation, or investigate a failure. If the message is not grounded in the actual tool result, the user ends up doing the verification work anyway.&lt;/p&gt;

&lt;h2&gt;
  
  
  Scope of this feedback
&lt;/h2&gt;

&lt;p&gt;This is qualitative feedback from my own experience, not a benchmark or a claim about every Gemini model or integration. I am not attaching a minimal reproducible example, exact model/version details, or request/response traces here. I therefore cannot isolate the cause to the model rather than the application, orchestration layer, or tool integration.&lt;/p&gt;

&lt;h2&gt;
  
  
  The distinction I want applications to make
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Proposed:&lt;/strong&gt; the assistant describes an action.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Attempted:&lt;/strong&gt; a tool call was issued.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool-reported success:&lt;/strong&gt; the tool returned a success response.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Verified outcome:&lt;/strong&gt; the resulting state was checked and matches the requested outcome.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those states should not all be described as "done." If a tool fails, access is unavailable, or the final state cannot be checked, the response should say so clearly.&lt;/p&gt;

&lt;p&gt;For workflows that change something, I would like applications to check the resulting state where practical before reporting completion. When only part of a task succeeds, the response should identify that part and what remains unresolved.&lt;/p&gt;

&lt;h2&gt;
  
  
  Questions for developers
&lt;/h2&gt;

&lt;p&gt;How do you keep completion claims grounded in tool results in Gemini function-calling workflows? What patterns have worked for ambiguous tool responses, partial success, and verification after an action?&lt;/p&gt;

&lt;p&gt;I would also welcome suggestions for the most useful details to include in a reproducible follow-up report.&lt;/p&gt;

&lt;p&gt;I shared the same concern on the &lt;a href="https://discuss.ai.google.dev/t/gemini-tool-calling-feedback-on-unverified-task-completion-claims/198215" rel="noopener noreferrer"&gt;Google AI Developers Forum&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I am interested in practical ways to make these workflows more reliable and their status messages more accurate.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>discuss</category>
      <category>gemini</category>
      <category>llm</category>
    </item>
    <item>
      <title>Building Hermes Financial Agent: An Explainable AI Copilot for EGX Investors</title>
      <dc:creator>Mohamed Osama</dc:creator>
      <pubDate>Sun, 31 May 2026 21:04:28 +0000</pubDate>
      <link>https://dev.to/mohamed_osama_9b102cb789b/building-hermes-financial-agent-an-explainable-ai-copilot-for-egx-investors-bg0</link>
      <guid>https://dev.to/mohamed_osama_9b102cb789b/building-hermes-financial-agent-an-explainable-ai-copilot-for-egx-investors-bg0</guid>
      <description>&lt;h2&gt;
  
  
  Overview
&lt;/h2&gt;

&lt;p&gt;I built &lt;strong&gt;Hermes Financial Agent&lt;/strong&gt; — an AI-powered financial assistant for investors in the Egyptian Exchange (EGX).&lt;/p&gt;

&lt;p&gt;The goal: not just calculate portfolio value, but explain risks in a transparent, auditable way.&lt;/p&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Real EGX market data via Yahoo Finance&lt;/li&gt;
&lt;li&gt;Portfolio tracking and valuation&lt;/li&gt;
&lt;li&gt;Daily financial reports&lt;/li&gt;
&lt;li&gt;Telegram-user portfolio isolation&lt;/li&gt;
&lt;li&gt;Cached quote fallback for resilience&lt;/li&gt;
&lt;li&gt;Explainable risk insights&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Explainable Risk Intelligence
&lt;/h2&gt;

&lt;p&gt;Unlike traditional trackers, Hermes surfaces:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Portfolio concentration risk&lt;/li&gt;
&lt;li&gt;Stale market data exposure&lt;/li&gt;
&lt;li&gt;Quote coverage percentage&lt;/li&gt;
&lt;li&gt;Valuation gaps from unavailable data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Users understand &lt;em&gt;confidence level&lt;/em&gt; behind their valuation — not just the number.&lt;/p&gt;

&lt;h2&gt;
  
  
  Technical Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hermes Agent&lt;/strong&gt; framework&lt;/li&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;GitHub Actions (automated smoke testing)&lt;/li&gt;
&lt;li&gt;Offline-safe quote fallback architecture&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Repository
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;a href="https://github.com/Abozied1313/hermes-agent" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Future Roadmap
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;News sentiment analysis&lt;/li&gt;
&lt;li&gt;Investment thesis tracking&lt;/li&gt;
&lt;li&gt;Market briefing generation&lt;/li&gt;
&lt;li&gt;Advanced financial reasoning agents&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  hermeschallenge
&lt;/h1&gt;

</description>
      <category>python</category>
      <category>ai</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
  </channel>
</rss>
