<?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: Baharmaulidi</title>
    <description>The latest articles on DEV Community by Baharmaulidi (@baharmaulidiii).</description>
    <link>https://dev.to/baharmaulidiii</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%2F4245570%2Fc006fc8c-d11d-4fd8-82a1-a003b79acef4.png</url>
      <title>DEV Community: Baharmaulidi</title>
      <link>https://dev.to/baharmaulidiii</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/baharmaulidiii"/>
    <language>en</language>
    <item>
      <title>Sharphy: CLR Intelligence &amp; Runtime Forensic Bridge</title>
      <dc:creator>Baharmaulidi</dc:creator>
      <pubDate>Sun, 15 Nov 2026 08:04:53 +0000</pubDate>
      <link>https://dev.to/baharmaulidiii/sharphy-clr-intelligence-runtime-forensic-bridge-2ndb</link>
      <guid>https://dev.to/baharmaulidiii/sharphy-clr-intelligence-runtime-forensic-bridge-2ndb</guid>
      <description>&lt;p&gt;Next-generation AI coding agents—from &lt;strong&gt;Google DeepMind Antigravity&lt;/strong&gt;, &lt;strong&gt;Cursor&lt;/strong&gt;, &lt;strong&gt;Claude Code&lt;/strong&gt;, to &lt;strong&gt;Windsurf&lt;/strong&gt;—are revolutionizing how we write and refactor code. But when it comes to investigating post-mortem crash dumps, unravelling thread deadlocks, or inspecting compiled .NET assemblies, they hit a wall. An LLM agent cannot open WinDbg, run &lt;code&gt;!dumpheap&lt;/code&gt;, or launch dnSpy.&lt;/p&gt;

&lt;p&gt;To solve this, we created &lt;strong&gt;Sharphy&lt;/strong&gt;: an open-source, native Model Context Protocol (MCP) server that transforms AI coding agents into deep .NET runtime diagnosticians, memory forensic analysts, and binary architects.&lt;/p&gt;




&lt;h3&gt;
  
  
  🔍 What Sharphy lets your AI Agent (Antigravity, Cursor, Claude) do directly in chat:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Analyze Crash Dumps (&lt;code&gt;.dmp&lt;/code&gt;):&lt;/strong&gt; Heuristic analysis via Microsoft.Diagnostics.Runtime (ClrMD) to detect ThreadPool starvation, sync-over-async blocking, and high-memory retainers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deadlock Detection (Wait-For Graph):&lt;/strong&gt; Analyzes thread monitor contention and maps circular wait cycles with exact source line attribution.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decompile CIL into Clean C#:&lt;/strong&gt; Embedded ILSpy engine decompiles methods on the fly into idiomatic modern C# without touching external GUI tools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Unified CIL Bytecode Diffing:&lt;/strong&gt; Compares two assembly versions at the ECMA-335 metadata level and outputs unified line-by-line CIL instruction diffs (&lt;code&gt;--- Baseline&lt;/code&gt; vs &lt;code&gt;+++ Updated&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Touch IL Patching:&lt;/strong&gt; Allows the AI agent to surgically patch opcodes (e.g. replacing validation with NOP/Ret/Ldnull) inside collectible &lt;code&gt;AssemblyLoadContext&lt;/code&gt; without locking files on disk.&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  ⚡ Quickstart with Antigravity / Cursor / Claude Code
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. In Antigravity (MCP Server Configuration)
&lt;/h4&gt;

&lt;p&gt;Add Sharphy to your Antigravity agent configuration or run it via the local CLI wrapper:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"mcpServers"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"sharphy"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
      &lt;span class="nl"&gt;"command"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"dnx"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
      &lt;span class="nl"&gt;"args"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"Sharphy.Cli"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"mcp"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"start"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  2. In Cursor &amp;amp; Claude Desktop
&lt;/h4&gt;

&lt;p&gt;Add the same block to your &lt;code&gt;~/.cursor/mcp.json&lt;/code&gt; or &lt;code&gt;claude_desktop_config.json&lt;/code&gt;.&lt;/p&gt;

&lt;h4&gt;
  
  
  3. As a Global CLI Tool
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dotnet tool install -g Sharphy.Cli
sharphy mcp start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  🛡️ Architecture &amp;amp; Invariants
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Multi-Targeting Native Support:&lt;/strong&gt; Fully compiled and verified across &lt;strong&gt;.NET 8.0, .NET 9.0, and .NET 10.0&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Extreme Latency Profile:&lt;/strong&gt; P99 MCP round-trip latency &lt;strong&gt;&amp;lt; 70ms&lt;/strong&gt; under high concurrency.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Footprint Sandbox:&lt;/strong&gt; Dynamic assembly inspection executes inside an isolated collectible &lt;code&gt;AssemblyLoadContext&lt;/code&gt; (&lt;code&gt;isCollectible: true&lt;/code&gt;) to prevent memory leaks and host file locks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stress-Tested Resilience:&lt;/strong&gt; Validated against 1,000 req/sec extreme tsunami flood stress and malformed binary fuzzing.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  🌐 Links &amp;amp; Resources
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/baharmaulidiii/sharphy" rel="noopener noreferrer"&gt;github.com/baharmaulidiii/sharphy&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;NuGet Package:&lt;/strong&gt; &lt;a href="https://www.nuget.org/packages/Sharphy.Cli/1.1.2" rel="noopener noreferrer"&gt;nuget.org/packages/Sharphy.Cli/1.1.2&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Documentation Portal:&lt;/strong&gt; &lt;a href="https://baharmaulidiii.github.io/sharphy/" rel="noopener noreferrer"&gt;baharmaulidiii.github.io/sharphy&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Feedback, suggestions, and contributions from the community are very welcome!&lt;/p&gt;

</description>
      <category>devops</category>
      <category>csharp</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
