<?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: Shivesh Raj</title>
    <description>The latest articles on DEV Community by Shivesh Raj (@shivraj8615).</description>
    <link>https://dev.to/shivraj8615</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.png</url>
      <title>DEV Community: Shivesh Raj</title>
      <link>https://dev.to/shivraj8615</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shivraj8615"/>
    <language>en</language>
    <item>
      <title>What If Your Coding Agent Could Also Be Your SRE?</title>
      <dc:creator>Shivesh Raj</dc:creator>
      <pubDate>Wed, 07 Oct 2026 06:57:07 +0000</pubDate>
      <link>https://dev.to/shivraj8615/what-if-your-coding-agent-could-also-be-your-sre-22mp</link>
      <guid>https://dev.to/shivraj8615/what-if-your-coding-agent-could-also-be-your-sre-22mp</guid>
      <description>&lt;p&gt;A few months back, I was setting up a Central Monitoring system for all my projects where I could do log monitoring, cost monitoring, compute utilisation by each project, and so on. For that, I had already set up an ML-based algorithm to detect anomalies in cost and RAM, which then sent me alerts through my Telegram bot. You can read about it in my blog.&lt;/p&gt;

&lt;p&gt;But once I set my project in production, I was receiving tons of logs, whether they were Django-specific, Docker-specific, Nginx-specific, or Database-specific. I sorted them in my Grafana Dashboard, but again, the problem was the amount of logs for each project, and not all logs necessarily needed my attention. However, error ones or critical ones did need attention for continuous rectification of the project.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3vsnninip1y29y5geqho.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3vsnninip1y29y5geqho.png" alt=" " width="800" height="428"&gt;&lt;/a&gt;&lt;br&gt;
I was having two ideas to resolve this issue. The first was either to go with a Small LLM and build a RAG application for retrieval of related logs and summarise them for me on a daily basis. The second was to build an MCP server on this monitoring server at a different port, where I could have different projects listed as options, different technology stacks listed as options, and then connect that to any of my coding agents, where I could ask it whatever information I wanted, whether it be a daily report or a critical error.&lt;/p&gt;

&lt;p&gt;The first solution seems fine, but the roadblock comes in front of me while training a RAG application: model selection, weight training, compute resources, etc. But still, it would be only a half addition to my project. It’s like a doctor giving me only the diagnosis after analysing the report without knowing my medical history.&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8k4v2ycbanwzeywt3ujn.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8k4v2ycbanwzeywt3ujn.png" alt=" " width="800" height="288"&gt;&lt;/a&gt;&lt;br&gt;
So basically, it was missing the context of the code on which that application was built and the solution to rectify the error that arises.&lt;/p&gt;

&lt;p&gt;That’s where I came up with the solution where I can build the MCP server with various options of projects and the tech stack used in them. Using the skills of that project specifically, I can make sure that in the .md, every time I open up the project, it will give me the report at certain intervals.&lt;/p&gt;

&lt;p&gt;As that coding agent will be having the code as context on which the application or project is built, the same coding agent can help me to rectify the error. And as the MCP server will be there, basically, you have created a controlled, monitored, self-healing system.&lt;/p&gt;

&lt;p&gt;Here, my problem of separate project views and summaries based on each tech stack, and only needed attention being given to any project, saved me a lot of things.&lt;/p&gt;

&lt;p&gt;This project was particularly interesting because I was new to SRE, as I had created just the Dashboard for my ease and kept on adding things to it.&lt;/p&gt;

&lt;p&gt;Comment me for the project link; I will provide the GitHub link to my repo.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>sre</category>
      <category>devops</category>
      <category>mcp</category>
    </item>
    <item>
      <title>AI Is Not the Solution to Every Problem: When Rule-Based Systems Make More Sense</title>
      <dc:creator>Shivesh Raj</dc:creator>
      <pubDate>Sun, 27 Sep 2026 12:44:19 +0000</pubDate>
      <link>https://dev.to/shivraj8615/ai-is-not-the-solution-to-every-problem-when-rule-based-systems-make-more-sense-jnh</link>
      <guid>https://dev.to/shivraj8615/ai-is-not-the-solution-to-every-problem-when-rule-based-systems-make-more-sense-jnh</guid>
      <description>&lt;p&gt;&lt;em&gt;Extensive Use of AI for Simple Task Costing Token and Even Then Not Producing Favorable Results&lt;/em&gt;&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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftz96dt7etyr9571l233g.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.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftz96dt7etyr9571l233g.png" alt=" " width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Today AI has been the buzzword every industry that wants to solve their task with the utilisation of AI, whether it be LLM application for RAG on technical document to ask for solutions, whether it be code, idea, calculation etc., any diffusion model for design, poster generation and all, using image processing model like YOLO to solve problems like defect detection.&lt;/p&gt;

&lt;p&gt;But recent developments I noticed that there is too much extensive use of AI for simple task which a simple rule-based program can perform better. This is a concerning matter as the cost of running any simple AI task is far more than running a rule-based program.&lt;br&gt;
&lt;strong&gt;A Practical Example: P&amp;amp;ID to Bill of Material&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For example, last month I witnessed a software demo of creation of Bill of Material from P&amp;amp;ID using YOLO which is great as it is a repetitive task if customer ask for continuous revision and human error comes in picture with that counting each and every equipment present there makes this task extensive.&lt;/p&gt;

&lt;p&gt;The solution is there are software to generate P&amp;amp;ID and BOQ but restriction is the template on which BOQ is required and the template on which P&amp;amp;ID is created.&lt;/p&gt;

&lt;p&gt;Coming back to the YOLO based solution it uses the object detection technique where each P&amp;amp;ID is given in image form to the model and each equipment is detected as an object obviously each equipment used is trained on that model.&lt;/p&gt;

&lt;p&gt;This seems a very good solution to give the count of it. But the limitation is the line tracing, properties and other technical difficulties comes in place due to a P&amp;amp;ID being a multilayer and additional of new equipment will need training of it again plus AI being the buzzword and if it comes in picture the cost of the solution sky rocket.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A Rule-Based Approach&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now this problem can be solved by simple use of logic and understanding of drawing and Python.&lt;/p&gt;

&lt;p&gt;As any drawing is basically a graph and the layers are vertically stacked 2D sheet at different coordinate from one dimension and weight are looking at drawing from other axis so different stack of 2D graph gives you a combination of a 2D drawing as now the layers are separated then comes one layer in that you can consider each block used or equipment used is a node which is connected to each other by a pipe.&lt;/p&gt;

&lt;p&gt;Now the basic understanding of graph analysis by Python using library ezdxf just change DWG to DXF or any other format to DXF as DWG is proprietary and closed as per AutoCAD.&lt;/p&gt;

&lt;p&gt;Now that can simply give you layer by layer JSON of each equipment and as Python is handy you can use pyxl like library to directly insert these values in your required Excel template or to generate a PDF in required format.&lt;/p&gt;

&lt;p&gt;This simple rule-based solution can save cost, perform better than any AI based solution with that it saves you hours of training and computation cost.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;AI Should Be Used Where It Makes Sense&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;That's why I think everyone should read or at least decision maker should read the Kaggle course on AI ethics because that gives you clear idea where to use, how to evaluate and finally decision making for the use case.&lt;/p&gt;

&lt;p&gt;AI is the buzzword but it necessarily should not be the solution of every problem statement.&lt;/p&gt;

&lt;p&gt;The simple task solution can be great with a rule-based program works better than AI based solution as I shown earlier and this is also to give an idea to solution builder that before making solution for any use case please evaluate every aspect of it.&lt;/p&gt;

&lt;p&gt;AI is a double-edged sword so keep that in mind the computation cost, training time, data collection and so on.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The Role of LLMs in Rule-Based Solutions&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;As one more thing once you devised the rule-based solution and created the logic you can get that coded from any LLM that will be fast, time saving and useful addition in the process.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>automation</category>
      <category>cad</category>
    </item>
  </channel>
</rss>
