<?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 Jayesh Bhaggat on Medium]]></title>
        <description><![CDATA[Stories by Jayesh Bhaggat on Medium]]></description>
        <link>https://medium.com/@jayesh.bhaggat?source=rss-0c8b057ec2bb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HzCXpe39ra-4wNt9lW2MEg.png</url>
            <title>Stories by Jayesh Bhaggat on Medium</title>
            <link>https://medium.com/@jayesh.bhaggat?source=rss-0c8b057ec2bb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:30:05 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jayesh.bhaggat/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[How I Built a Scalable QA Automation Platform for Modern Apps And Web]]></title>
            <link>https://medium.com/@jayesh.bhaggat/how-i-built-a-scalable-qa-automation-platform-for-modern-apps-and-web-90ac2109682d?source=rss-0c8b057ec2bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/90ac2109682d</guid>
            <category><![CDATA[qa-automation]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[agenticqa]]></category>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[manual-qa]]></category>
            <dc:creator><![CDATA[Jayesh Bhaggat]]></dc:creator>
            <pubDate>Mon, 25 May 2026 17:51:29 GMT</pubDate>
            <atom:updated>2026-05-25T17:51:29.799Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A practical story about removing manual QA bottlenecks, making test creation readable, and turning scattered automation pieces into one usable workspace.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ViRlX8izVoHJqLLiwPTEsg.png" /></figure><p>I built this tool because I kept seeing the same problem repeat itself in real QA teams: shipping a production-grade application often gets slowed down not by the code alone, but by the testing process around it.</p><p>Manual QA teams do important work, but they also spend a huge amount of time handling repeated setup, preparing data, coordinating devices, editing JSON, and trying to remember which test depends on which environment. Even when automation tools are available, many of them still require everything to be stitched together from scratch. The result is a process that is technically automated, but still broken in a lot of practical places.</p><p>That frustration pushed me to build a platform that removes as much manual effort as possible. The goal was simple: make it possible for anyone to write a test case, understand a test case, and run a test case without needing deep prior context.</p><p>At my current organization, we have achieved a major milestone with this approach and are running with very little dependence on a traditional QA bottleneck. That is the real reason this platform exists.</p><h3>The Problem I Wanted To Solve</h3><p>In most teams, QA work becomes scattered very quickly:</p><ul><li>web tests live in one place</li><li>mobile tests live in another</li><li>mock data is kept somewhere else</li><li>API setup is handled manually</li><li>helper logic gets copied across scripts</li><li>device or emulator details are remembered by people, not the system</li></ul><p>That creates avoidable friction. Teams waste time on setup instead of validation. Testers need tribal knowledge before they can contribute. And every time the product changes, the automation process gets a little more fragile.</p><p>I wanted to build something different:</p><ul><li>a tool where anyone can write a test case</li><li>a tool where anyone can test an application without prior context</li><li>a tool where agentic AI helps draft the test, but the tester stays in control</li><li>a tool where data, APIs, devices, and flows are all configurable from the UI</li></ul><p>That is the product I ended up building.</p><h3>What The Tool Covers</h3><p>The platform is built around two core testing areas:</p><ol><li>Web Testing</li><li>Mobile Testing</li></ol><p>And it is supported by three practical layers:</p><ul><li>Helper Functions</li><li>Mock Data Config</li><li>Add Mock Api</li><li>App Agents</li></ul><p>Those supporting modules matter because automation is never just about the test steps. Real testing also needs dynamic values, reusable backend setup, and stable execution targets.</p><p>The whole system is designed so the team can:</p><ol><li>define data once,</li><li>reuse it in multiple places,</li><li>insert mock APIs in the middle of flows when needed,</li><li>and run web or mobile automation with less manual intervention.</li></ol><h3>Web Testing: Making Browser Automation Readable</h3><p>Web testing in this tool is built to let testers write human-readable test cases instead of starting from raw code every time.</p><p>A tester can describe the flow in plain English, and the platform turns that into a structured test that can be saved, reused, and executed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iHa9jkQ2BV8Y0MnRXEJR6g.png" /></figure><p>What I wanted here was not just execution. I wanted clarity.</p><p>The web testing module helps the team:</p><ul><li>write tests in a readable format</li><li>convert them into structured execution logic</li><li>attach pre-test steps when a flow needs setup</li><li>store and reuse tests instead of recreating them</li><li>review results from the same workspace</li></ul><p>This is especially useful for browser flows where the same setup appears over and over again. Logging in, preparing state, reaching a dashboard, or validating a page is not something a tester should rewrite from scratch each time.</p><p>The platform keeps that logic reusable.</p><p>More importantly, it helps any tester pick up a test case and understand what it is doing without needing to reverse-engineer code first.</p><h3>Mobile Testing: Removing Device and App Setup Friction</h3><p>Mobile testing was one of the biggest reasons I built this platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XvmD9Tj0mvc43T1afM-V8A.png" /></figure><p>In real projects, mobile QA is not only about tapping buttons on a screen. The team has to manage app details, package names, agents, test data, test steps, and repeatable execution. If that setup remains manual, mobile testing becomes slow even before the actual test starts.</p><p>So I built Mobile Testing as a complete workflow, not just a place to paste Appium steps.</p><p>The first part is test case creation. A developer or tester can create mobile test cases in two ways:</p><ol><li>Manually, by writing the test steps directly in the editor.</li><li>Through an AI-assisted flow, where they can upload screenshots or photos of the app screen and let AI help write the test case.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nh_MEDmAe0t-bI2NIP76Tg.png" /></figure><p>That AI flow is useful because many people know what they want to test, but do not always want to spend time converting that screen into a clean test format. They can upload the screen, describe the expected behavior, and get a test case draft back. After that, they can review it, edit it, and save it like any other test.</p><p>This makes mobile test creation much faster for both developers and testers.</p><p>The second part is test reuse. Once a test case is saved, it appears in the My Tests section. From there, the team can run each saved case whenever needed instead of rewriting the same scenario again.</p><p>But the real charm of mobile testing in this platform is QA Agents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T5NCtNpreyzYtSIgJICdbQ.png" /></figure><p>QA Agents are not just another tab. They are the agentic layer that makes mobile automation feel powerful. A developer or QA engineer can create a complete workflow by stitching together mock data, mock APIs, and actual saved test cases. Once that workflow is created, the agent runs the whole flow without needing someone to manually trigger each step.</p><p>That means a mobile flow can look like this:</p><ol><li>generate fresh mock data,</li><li>call one or more mock APIs to prepare backend state,</li><li>run the first saved mobile test case,</li><li>continue to the next test case,</li><li>retry if a step fails,</li><li>show live execution in the browser,</li><li>and store video evidence for later review.</li></ol><p>This is the part that changes mobile testing from “run a script” to “let an agent execute the testing flow.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z9fF7eHTIEZGR3eg0186Gg.png" /></figure><p>The team does not need to sit there copying payloads, running APIs manually, checking which test should run next, or trying to reproduce a failure from memory. The QA Agent handles the flow, shows what is happening live, retries failed steps, and preserves the execution video so the team can review exactly what happened later.</p><p>That gives the mobile module a proper lifecycle:</p><ol><li>Select the app.</li><li>Create the test manually or with AI.</li><li>Parse and validate the steps.</li><li>Save the test case.</li><li>Run individual cases from My Tests.</li><li>Combine mock data, mock APIs, and saved test cases into a QA Agent.</li><li>Let the agent execute the complete flow with live visibility and video review.</li></ol><p>This is what we achieved with mobile testing: the platform allows the team to go from screen understanding to executable test case, and then from individual test execution to a full agentic workflow.</p><p>It also reduces dependency on one person knowing the exact mobile setup. App and agent details are already configured in the platform, so the tester can focus on the flow rather than remembering technical setup every time.</p><h3>Helper Functions: Reusable Logic Without Static Code</h3><p>I built helper functions because test data is rarely static.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xqk02y0buEbc-foqtZnyQw.png" /></figure><p>In real automation, you often need:</p><ul><li>date formatting</li><li>timestamp transformations</li><li>dynamic IDs</li><li>string cleanup</li><li>masking logic</li><li>data reshaping</li><li>runtime value generation</li></ul><p>Without a helper layer, this kind of logic ends up repeated across scripts or hard-coded into different places. That becomes painful very quickly.</p><p>The Helper Functions module lets anyone write Python functions and reuse them anywhere inside the tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7UpLMchqIi-nK8f2A40Y0A.png" /></figure><p>That means the team can keep logic in one place instead of embedding it into tests by hand.</p><p>This is useful when you need to:</p><ul><li>change a format</li><li>inject dynamic values</li><li>mask sensitive fields</li><li>normalize data before sending it</li><li>or prepare values for downstream steps</li></ul><p>It is a small module on the surface, but it removes a lot of long-term maintenance pain.</p><h3>Mock Data Config: Dynamic Data For Every Run</h3><p>Whenever we run automation, we almost always need new data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6uuJGpwOdv3bwIvEkEvS_Q.png" /></figure><p>Sometimes it is a user. Sometimes it is an account. Sometimes it is a loan application, a phone number, an email, or a nested payload. And in most cases, the data depends on the scenario.</p><p>I did not want that data living inside the codebase.</p><p>That is why I built Mock Data Config.</p><p>This module gives testers and developers a UI-driven way to define data shapes and generate dynamic mock data for web and mobile tests.</p><p>The idea is simple:</p><ol><li>define the data fields,</li><li>preview generated values,</li><li>and use that generated structure anywhere in the project.</li></ol><p>That gives the team a fully dynamic approach instead of hard-coded fixtures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m5gi_uC75wOeSFb-TX41AA.png" /></figure><p>This matters because test data should be configurable, reusable, and visible. When it lives in the UI, it becomes easier to maintain and easier to trust.</p><h3>Add Mock Api: Configurable Backend Preparation</h3><p>Mock data solves one part of the problem, but not all of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*91_tOsAzX8aDFTmRQSAuJQ.png" /></figure><p>In many flows, the team also needs an API step that prepares backend state, creates a user, seeds a record, or skips repetitive setup. And in some cases, a flow needs more than one such API step.</p><p>That is why I added Add Mock Api.</p><p>This module lets the team create any number of mock APIs from the UI and insert them into mobile or web testing flows wherever needed.</p><p>Each mock API can store:</p><ul><li>a name</li><li>the API URL</li><li>request headers</li><li>request method</li><li>request body</li><li>default body data loaded from Mock Data Config</li></ul><p>The key connection is that Mock Data Config can feed Add Mock Api.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f2Yao0tmyOuF_AjPyXG8jA.png" /></figure><p>So the flow becomes:</p><ol><li>define mock data fields</li><li>preview the generated data</li><li>load that data into the API body</li><li>adjust headers or endpoint details</li><li>save the configuration</li><li>reuse it inside test flows</li></ol><p>This removes a lot of manual JSON editing.</p><p>It also helps when a test needs backend preparation before the main user flow can continue.</p><h3>Why This Combination Works</h3><p>The real value of the platform is not one module.</p><p>It is the way the modules support each other:</p><ul><li>web testing handles readable browser automation</li><li>mobile testing handles readable app automation</li><li>helper functions handle reusable dynamic logic</li><li>mock data config handles dynamic data generation</li><li>mock APIs handle backend preparation</li><li>app agents handle managed execution targets</li></ul><p>That combination lets the team test with far less manual coordination.</p><p>It also lets a person with no deep prior context still contribute.</p><p>That is the outcome I wanted from the start.</p><h3>What We Achieved</h3><p>The biggest achievement is not just “we built automation.”</p><p>It is that the team now has a practical system where:</p><ul><li>tests can be written in a readable format</li><li>data can be generated dynamically</li><li>APIs can be configured from the UI</li><li>mobile execution can be managed cleanly</li><li>and the workflow does not depend on one person remembering how everything fits together</li></ul><p>In my current organization, we have reached a point where we are heavily leveraging this tool and have achieved a major milestone with minimal dependence on a traditional QA bottleneck.</p><p>That is a huge shift.</p><p>It means the testing process is no longer just a side activity. It is part of how the team ships software with confidence.</p><h3>Closing Thoughts</h3><p>I built this platform because I wanted to reduce the amount of manual work that slows QA teams down.</p><p>The problem was never that people did not care about quality. The problem was that the tooling around testing often made the work harder than it needed to be.</p><p>This project tries to fix that by making automation:</p><ul><li>readable</li><li>configurable</li><li>reusable</li><li>and easier to operate without prior context</li></ul><p>That is the core of the product.</p><p>Not just tests. Not just data. Not just devices.</p><p>But one environment where all of those pieces can work together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90ac2109682d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building an AI Engineering Observability Platform for Claude Code And Codex]]></title>
            <link>https://medium.com/@jayesh.bhaggat/building-an-ai-engineering-observability-platform-for-claude-code-and-codex-e91d13b46d2c?source=rss-0c8b057ec2bb------2</link>
            <guid isPermaLink="false">https://medium.com/p/e91d13b46d2c</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[openai-codex]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Jayesh Bhaggat]]></dc:creator>
            <pubDate>Thu, 07 May 2026 11:50:09 GMT</pubDate>
            <atom:updated>2026-05-07T11:50:09.282Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building an AI Engineering Observability Platform for Claude Code</h3><p><em>How i built a lightweight tracking and intelligence layer around AI-assisted software development.</em></p><p>Almost every developer today is using tools like Claude Code or OpenAI Codex for:</p><ul><li>debugging</li><li>code generation</li><li>architecture discussions</li><li>automation</li><li>test creation</li><li>log analysis</li></ul><p>But over the last few weeks, I started noticing one major problem.</p><blockquote>Companies are spending heavily on AI coding tools, but engineering leadership still has very little visibility into how these tools are actually being used.</blockquote><p>And honestly, the existing consoles provide very limited insights.</p><p>You can see basic usage numbers.<br>You can see token counts.</p><p>But you still cannot answer questions like:</p><ul><li>Are teams actually using Claude Code effectively?</li><li>Are vague prompts increasing token costs day by day?</li><li>Are expensive models being used for simple tasks?</li><li>Which projects are getting real productivity gains from AI?</li><li>Are developers accidentally sharing sensitive information?</li><li>Which workflows are becoming cost-heavy?</li><li>How do we improve AI usage quality across engineering teams?</li></ul><p>That is where the entire idea started.</p><h3>The Problem Was Never AI Adoption</h3><blockquote>Most organizations are currently focused on AI adoption.<br>But very few are focusing on AI observability.</blockquote><p>I genuinely believe this will become a major engineering problem over the next few years.</p><p>Because once AI tools become part of everyday development workflows, they slowly become engineering infrastructure.</p><p>And infrastructure without observability eventually creates chaos.</p><p>Without visibility:</p><ul><li>token costs increase silently</li><li>prompting quality degrades</li><li>expensive models get overused</li><li>engineering workflows become inconsistent</li><li>teams develop bad AI usage habits</li></ul><blockquote>The interesting part is:<br>most companies do not even realize this is happening.</blockquote><h3>The Idea</h3><blockquote>I did not want to build an employee monitoring tool.<br>That was never the goal.</blockquote><p>The goal was to build visibility and intelligence around AI-assisted engineering workflows.</p><p>I wanted to understand:</p><ul><li>how teams use Claude Code</li><li>where token wastage happens</li><li>how prompting behavior impacts cost</li><li>whether AI is genuinely improving engineering productivity</li><li>where workflows can be optimized</li></ul><p>So I started building an internal AI Engineering Observability Platform for Claude Code.</p><h3>The Architecture</h3><p>The overall system architecture was intentionally simple.</p><p>Instead of modifying Claude Code itself, I leveraged the local session logs already generated by Claude Code.</p><p>The flow looked like this:</p><p>Claude Code Logs<br> → Local Background Tracker<br> → Structured Usage Records<br> → Central API<br> → Database<br> → Dashboard &amp; Intelligence Layer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2KHqKPvqg5-ZRTpXe55XlQ.png" /></figure><p>This became the foundation of the observability pipeline.</p><h3>Building the Lightweight Local Tracker</h3><p>Claude Code stores local session data as JSONL files.</p><p>Those logs already contain extremely valuable information:</p><ul><li>prompts</li><li>assistant responses</li><li>token usage</li><li>timestamps</li><li>models used</li><li>session identifiers</li><li>tool activity</li></ul><p>But the data exists independently on every machine.</p><p>So I built a lightweight macOS background tracker that continuously watches:</p><p>~/.claude/projects/**/*.jsonl</p><p>The tracker:</p><ul><li>reads only newly appended log data</li><li>parses assistant events</li><li>maps responses back to original prompts</li><li>filters noisy system context</li><li>enriches records with project and git details</li><li>sends structured records to a central API</li></ul><p>The most important challenge was doing this efficiently and invisibly.</p><p>I did not want developers to manage another application manually.</p><p>So the tracker runs silently in the background using macOS launchd as we use apple machines only but one can build for linux and widnwos the same.</p><p>From the developer perspective, nothing changes.</p><p>Sample this is how we get users prompt data and its entire in depth details</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m_RYTYFHhClwjugOHlSJmA.png" /></figure><h3>The Intelligence Layer</h3><p>Once structured usage data started flowing centrally, I built the second layer of the platform.</p><p>This included:</p><ul><li>FastAPI backend</li><li>MongoDB storage</li><li>JWT authentication</li><li>dashboard layer</li><li>usage aggregation</li><li>prompt analysis pipeline</li><li>cost estimation engine</li><li>agent/tool visibility tracking</li></ul><p>Initially, the idea was simple token tracking.</p><p>But slowly the platform evolved into something much more interesting.</p><h3>The Most Valuable Part: Prompt Intelligence</h3><p>This is where things became genuinely interesting.</p><p>Most AI dashboards stop at:</p><ul><li>usage graphs</li><li>token counts</li><li>cost summaries</li></ul><p>I wanted deeper intelligence.</p><p>So I integrated LLM-powered prompt analysis.</p><p>The platform can now analyze:</p><ul><li>vague prompts</li><li>risky prompts</li><li>irrelevant usage</li><li>prompt quality</li><li>overuse of expensive models</li><li>possible credential exposure</li><li>workflow inefficiencies</li><li>improvement recommendations</li></ul><p>And this completely changed the direction of the project.</p><p>The platform stopped being just an analytics system.</p><p>It started becoming an intelligence layer for AI-assisted software development.</p><p>Attached sample is one of the member of my team we get full analysis but this is i want to show as sneak peak as i can show full details</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-BkHOQLLKkQf3iC3jd5QOQ.png" /></figure><h3>What I Started Realizing</h3><p>Once data started accumulating, some very interesting patterns became visible.</p><p>I noticed:</p><ul><li>expensive models being used for extremely small tasks</li><li>repeated vague prompts increasing token usage significantly</li><li>long sessions silently creating massive context costs</li><li>inconsistent prompting styles across teams</li><li>some projects benefiting heavily from AI workflows while others showed almost no impact</li></ul><p>These were things impossible to discover through assumptions alone.</p><p>And honestly, this is when I realized:</p><p>AI-assisted engineering also needs observability, governance, and operational maturity.</p><p>Exactly like infrastructure systems do.</p><h3>Final Thoughts</h3><p>AI coding tools are evolving extremely fast.</p><p>But one thing is becoming very clear:</p><p>AI adoption without observability eventually creates operational blind spots.</p><p>As AI becomes part of engineering infrastructure, visibility becomes critical.</p><p>Not just for cost.</p><p>But for:</p><ul><li>engineering quality</li><li>workflow efficiency</li><li>security</li><li>governance</li><li>productivity</li><li>and long-term AI maturity</li></ul><p>This project started as a lightweight Claude usage tracker.</p><blockquote>But slowly, it evolved into something much bigger:<br>An intelligence and observability layer for AI-assisted software development.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e91d13b46d2c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>