<?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 Carlos Gutierrez on Medium]]></title>
        <description><![CDATA[Stories by Carlos Gutierrez on Medium]]></description>
        <link>https://medium.com/@cargdev?source=rss-9951240be00f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*S3Pf6l-BlDFY3Ocs</url>
            <title>Stories by Carlos Gutierrez on Medium</title>
            <link>https://medium.com/@cargdev?source=rss-9951240be00f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 06:55:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cargdev/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[Codetyper.a2a, Born From the Chaos of Working With AI Agents]]></title>
            <link>https://medium.com/@cargdev/codetyper-a2a-born-from-the-chaos-of-working-with-ai-agents-bbd8172af5fa?source=rss-9951240be00f------2</link>
            <guid isPermaLink="false">https://medium.com/p/bbd8172af5fa</guid>
            <category><![CDATA[harness-engineering]]></category>
            <category><![CDATA[cargdev]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[open-code]]></category>
            <dc:creator><![CDATA[Carlos Gutierrez]]></dc:creator>
            <pubDate>Sat, 24 Oct 2026 03:23:09 GMT</pubDate>
            <atom:updated>2026-10-24T03:31:34.243Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l10EFP9SMuhItbAOqiTQDw.jpeg" /></figure><p>Imagine this: you are a developer with access to AI tools and the CLI; everything is normal as usual. You use opencode as you normally do: open tmux, then open the project you are about to work on. In one pane of the terminal, open Neovim as the editor; in the other, just type “opencode” once again. You start interacting with the plan agent and build the agent as usual.</p><p>Suddenly, you need to create another task in another project that communicates with the first project you are working on. It is a huge deal to make the changes in different repositories for a single feature. You start typing a huge prompt file in the editor just to keep the context across the project.</p><p>At the end, you have 5 projects running all in one tmux window, 1 opencode in another window, and the editor in another window. You suddenly notice that LLMs are losing context, and you type the “/compaction” command here and there. And a change that is supposed to be easy is a nightmare, and the code the LLMs are typing has issues over and over again.</p><h3>What to do next?</h3><p>You suddenly think—how can I get the opencode to start communicating with agents? You have different agents at this point set on the opencode configuration that you need to select every single time, give context, and review again if the actual change is correct with the way you want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xesRv0SBDkqyq3Uj.jpg" /></figure><p>What if you suddenly have an orchestrator that actually understands the task for you, getting the correct agents to understand the task -&gt; create the plan -&gt; create the architecture, and, if it is an issue, investigating where the issue is coming from by running tests, playwright, debuggers, etc., for you.</p><p>All this while, you get the tokens as low as possible by calling each agent in the best way possible. Then the orchestrator is the only agent you communicate with, you tell what you want, and every agent starts to actually work for you, and the best you can review the code if you want, but at the end, remembers the way the project is coded, adding an audit on security, testing changes, asking you questions, and running agents at the same time.</p><p>So you are still there at 2 a.m., with a lot of projects running at the same time across different ports, and praying the agent finds the correct answer this time so you don&#39;t have to code manually again. At that moment, you are tired, and you start a new project with an architecture in mind.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_e4Klgo37bIPUSHS.jpg" /></figure><h3>Codetyper.a2a born</h3><p>I wrote codetyper a2a as a solution to agent-related misguidance and miscommunication, and, at the end of the day, because I’m still lazy and I want to be able to talk with one agent only, not run more commands to switch agents. So I started typing manually again to create the orchestrator this time, as agent-to-agent communication. And why does this mostly solve my problem? Well, because the communication A2A is a protocol that differs from MCP, for example, with the MCP, you connect tools to a certain agent to give more context to let the agent take a look for itself, with the A2A, you let the agent communicate in the way they want by following certain rules, the rules I wrote manually, and the architecture I wrote manually.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0jn-jUunV7arg0O3.png" /></figure><p>Then, to select the language, I chose Rust because it compiles, and because I am learning it nowadays. Even though I haven’t written most of the code, I have been sketching the architecture by hand (forgive me for using my hands). It was an option to add it with C or Go; both languages work well in the terminal, especially with the tools I want to integrate into the project, which are opencode and tmux.</p><p>I did not use C because I don’t want to expend time on read the code enough to path memory and certify the project works correct with the memory — jugde me for that — in the other hand, I didn’t choose Go because i have no experience on the language or at least the enough experience to let the code to the AI, I have this idea to know what im doing even when im vybe coding.</p><p>So I started the project to help to introduce a new feature that touches different repos to avoid myself repeat my self with every single agent, so now the agent communicate each other, give the context that is needed for only the task, for example I need to add a banner on a UI on the page why the build agent has to worry why i am creating this banner for? The agent will start to overthink and tell me things I don’t want on the banner simply because I don’t want to add all the context.</p><p>The reality is that I want an agent to manipulate all other agents and give them only what they need for a specific task. This will save me tokens at the end because the model is doing what it is supposed to do, nothing else.</p><h3>Codetyper.a2a functions</h3><p>The project is available at <a href="https://github.com/CarGDev/codetyper.a2a">https://github.com/CarGDev/codetyper.a2a</a>, where you can install it using brew, download it from GitHub, or install it directly with cargo.</p><h3>Installing using brew</h3><pre>brew install CarGDev/codetypera2a/codetypera2a<br>codetypera2a --version        # codetypera2a 1.4.0</pre><h3>Installing by cloning the repo</h3><pre>git clone https://git.cargdev.io/CarGDev/codetyper.a2a.git<br>cd codetyper.a2a<br>cargo install --path . --force        # installs codetypera2a into ~/.cargo/bin</pre><p>Once you install it, you can select which model you want to use for every agent. You will have on the same table a model recommended based on the agent. The best thing is that you need to use models like Opus or similar, since the project is delegating tasks through agents and communicating with each other. Simplifying the task is really helping to save tokens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*m4vpBwer8jZGF9bn.jpg" /></figure><p>Codetyper.a2a also shows how much you have used each agent and how many tokens/cost you have used on each task, giving you a color-coded view of your budget.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*e3NaU92ePcHmMzqi.jpg" /></figure><h3>Is it a real harness?</h3><p>At this point, I will just tell you: smoke if I don’t use it, right? well i have used my own product that I created, I used it first on the very beginning stage and helped me to refactor a repo correctly more than 300 files, more than 30k lines and work perfectly, again i coded with the agents but I have created the architecture and I want to know what to do, I had the test created already i add a constrain to do not modify any testing.</p><p>Second project: I migrated a legacy project I used to have from Node.js 16 to Node.js 24 over the weekend. Again, I knew what I wanted to create and how I wanted it; I just didn’t have the time to type all the code myself.</p><p>So I think harness engineering helps you if you are doing the engineering part, if you know the desired output, if you create the architecture, and, most importantly, if you know the language you are working with.</p><p>I have written projects with AI just for fun, encountering issues with languages I don’t understand or don’t know, then trying to debug or translate them into another language. I think if you are not working on a team and you are doing a project by yourself, you still need to code it manually and understand every single part of what the software does.</p><p>I hope you find this lecture helpful, and take a look at the project.</p><p><a href="https://github.com/CarGDev/codetyper.a2a">https://github.com/CarGDev/codetyper.a2a</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bbd8172af5fa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey into Computer Architecture: From Basics to gem5 Experiments]]></title>
            <link>https://medium.com/@cargdev/my-journey-into-computer-architecture-from-basics-to-gem5-experiments-5c7a7a3ab891?source=rss-9951240be00f------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c7a7a3ab891</guid>
            <dc:creator><![CDATA[Carlos Gutierrez]]></dc:creator>
            <pubDate>Wed, 24 Sep 2025 09:43:19 GMT</pubDate>
            <atom:updated>2025-09-24T09:43:19.306Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IqN1be2nDRTyLfX1TIWANQ.jpeg" /></figure><p>When I started studying computer architecture, I knew I was entering a field that quietly shapes modern technology. Behind every phone, server, or smart sensor is a design decision set that balances speed, energy, and complexity. I didn’t realize how much of this world I would explore through hands-on experiments with <strong>gem5</strong>, a powerful simulation tool.</p><h3>Laying the Foundation</h3><p>The first step in my journey was simply getting things ready. Installing and building gem5 on my own system wasn’t glamorous, but it grounded me in the practical side of architecture. I learned how to properly structure my work — keeping source code, builds, workloads, and results separated. That organization became essential later when the number of runs and configurations multiplied.</p><p>Running a simple “hello world” program on the x86 ISA may sound trivial, but it gave me confidence. It proved that my simulation environment worked and reminded me that even the most complex systems begin with small steps.</p><h3>Memory Hierarchy: Where Performance Meets Reality</h3><p>As I moved deeper, I studied memory hierarchies — the layers of SRAM, DRAM, Flash, and newer technologies like HBM and NVRAM. Each level carries trade-offs between speed, cost, and capacity. What struck me is how much of modern performance depends not on raw processor speed but on how well we hide or manage memory latency.</p><p>Through gem5 experiments, I tested cache parameters: adjusting sizes, associativity, and line sizes. The results were eye-opening. Doubling the cache line size, for example, increased per-miss latency but improved execution time by better capturing spatial locality. It was a practical lesson in how design trade-offs play out in measurable ways.</p><h3>Instruction-Level Parallelism (ILP): Squeezing More from a Single Core</h3><p>Another turning point was exploring <strong>Instruction-Level Parallelism (ILP)</strong>. At first, the idea seems simple: overlap independent instructions so the processor stays busy. But the deeper I went, the more I understood the challenges — data, control, and structural hazards constantly get in the way.</p><p>I experimented with pipelining, superscalar configurations, branch prediction, and simultaneous multithreading in Gem5. Out-of-order execution and speculation, once just abstract textbook concepts, became real when I saw how they changed throughput and latency. At the same time, I came to appreciate why hardware complexity and power consumption limit how far we can push ILP. The so-called “power wall” isn’t just a theory — it shapes the future of processor design.</p><h3>Connecting to Modern Trends</h3><p>What excites me most is how these classical concepts connect to emerging directions. Heterogeneous architectures — where CPUs, GPUs, and accelerators cooperate — are the industry’s way of sidestepping ILP’s diminishing returns. Similarly, cache innovations, persistent memory, and interconnect standards like CXL point to a world where efficiency and scalability matter as much as raw speed.</p><h3>Closing Thoughts</h3><p>Studying computer architecture has been more than an academic exercise for me. The journey has been from abstract principles to hands-on experiments, where theory meets measurable results. Running gem5 taught me that architecture is not about chasing “the fastest processor” but balancing trade-offs: latency versus throughput, performance versus power, simplicity versus complexity.</p><p>Every experiment left me with a sense of discovery. Whether it was watching a tiny benchmark expose cache behavior or seeing how branch prediction changes pipeline flow, I realized that architecture is as much about creativity as it is about engineering discipline.</p><p>I’m still at the beginning of this road, but one thing is clear: understanding computer architecture gives me a new lens to look at technology, not as a black box but as a carefully tuned system where every choice matters.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c7a7a3ab891" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analysis vs Solutions: Using the 5 Whys for Root Cause Discovery]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@cargdev/analysis-vs-solutions-using-the-5-whys-for-root-cause-discovery-f6bc3f02b7fc?source=rss-9951240be00f------2"><img src="https://cdn-images-1.medium.com/max/2400/1*ve0fBhOKtK_KmH08LjwxxA.png" width="2400"></a></p><p class="medium-feed-snippet">In a recent retrospective, my team and I struggled to solve a recurring issue. It became clear that we were missing the root cause of the&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@cargdev/analysis-vs-solutions-using-the-5-whys-for-root-cause-discovery-f6bc3f02b7fc?source=rss-9951240be00f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@cargdev/analysis-vs-solutions-using-the-5-whys-for-root-cause-discovery-f6bc3f02b7fc?source=rss-9951240be00f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6bc3f02b7fc</guid>
            <category><![CDATA[5-whys]]></category>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[scrum]]></category>
            <dc:creator><![CDATA[Carlos Gutierrez]]></dc:creator>
            <pubDate>Sat, 07 Sep 2024 20:32:12 GMT</pubDate>
            <atom:updated>2025-04-19T02:05:34.447Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Transitioning from the Automotive Industry to IT: A Mechatronic Engineer’s Journey]]></title>
            <link>https://medium.com/@cargdev/transitioning-from-the-automotive-industry-to-it-a-mechatronic-engineers-journey-66ea0a405690?source=rss-9951240be00f------2</link>
            <guid isPermaLink="false">https://medium.com/p/66ea0a405690</guid>
            <dc:creator><![CDATA[Carlos Gutierrez]]></dc:creator>
            <pubDate>Sun, 25 Aug 2024 19:09:50 GMT</pubDate>
            <atom:updated>2024-08-25T19:09:50.643Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*glPJN57s6WH3Rd-YDpJT8A.jpeg" /></figure><p>As a Mechatronic Engineer, I’ve navigated a career path that began in the automotive industry, where I worked in various roles — mechanical designer, maintenance specialist, production line supervisor, and test engineer. My journey started in Aguascalientes, a small city in Mexico, where the automotive industry dominates the job market for engineering graduates. If you want to explore other industries, it often means facing more competition or relocating.</p><p>I spent seven years in the automotive sector, deeply embedded in its culture and processes. During this time, I learned the foundational skills that would later aid my transition to the IT industry. While my coding experience in college focused on IoT and PLCs, transitioning to IT required a broader understanding of software development, which took me about two to three years to fully grasp. This transition wasn’t just about learning new technologies; it was about understanding the similarities between these two seemingly different industries.</p><h3>Comparing Automotive and IT Industries: A Product Development Perspective</h3><p>Both the automotive and IT industries are product-driven, but the processes they use to bring a product to market differ significantly. The automotive industry, heavily influenced by Japanese methodologies like Kaizen, focuses on continuous improvement and efficiency. On the other hand, the IT industry often adopts Agile frameworks, with Scrum being one of the most popular methodologies. Given my experience, I find it insightful to compare these two approaches.</p><h3>Similarities Between Scrum and Lean Six Sigma</h3><p><strong>Focus on Continuous Improvement</strong></p><p>Both Scrum and Lean Six Sigma prioritize continuous improvement. In Scrum, teams hold regular retrospectives to identify what worked well and what could be improved. Lean Six Sigma uses the DMAIC (Define, Measure, Analyze, Improve, Control) process to continuously refine workflows and processes.</p><p><strong>Customer-Centric Approach</strong></p><p>Delivering value to the customer is at the core of both methodologies. Scrum aims to provide functional, high-value increments of a product regularly. Lean Six Sigma seeks to enhance product quality and customer satisfaction by minimizing defects and waste.</p><p><strong>Iterative Process</strong></p><p>Scrum operates in sprints — time-boxed iterations where specific tasks are completed. Although Lean Six Sigma doesn’t have defined sprints, it emphasizes iterative problem-solving and ongoing process improvement.</p><p><strong>Team Collaboration</strong></p><p>Both methodologies emphasize the importance of teamwork. Scrum encourages a self-organizing, cross-functional team environment. Similarly, Lean Six Sigma projects typically involve cross-functional teams working collaboratively to enhance processes.</p><p><strong>Data-Driven Decision Making</strong></p><p>Lean Six Sigma relies on data to identify problems, analyze root causes, and measure improvements. While Scrum is more rooted in agile principles, it also benefits from data-driven insights, particularly in tracking progress and metrics like velocity and burndown charts.</p><p><strong>Problem-Solving Mindset</strong></p><p>Both Scrum and Lean Six Sigma cultivate a problem-solving mindset. In Scrum, issues that arise during a sprint are addressed in daily stand-ups or retrospectives. Lean Six Sigma employs tools like the 5 Whys or Fishbone Diagrams to systematically identify and resolve issues.</p><p><strong>Waste Reduction</strong></p><p>Waste reduction is central to Lean Six Sigma, which focuses on eliminating inefficiencies in time, materials, and effort. Scrum indirectly targets waste reduction by prioritizing high-value tasks and eliminating unnecessary activities.</p><p><strong>Standardization and Flexibility</strong></p><p>Both methodologies balance standardization with flexibility. Scrum provides a structured framework but allows teams the flexibility to adapt it to their needs. Lean Six Sigma follows a structured process improvement approach while encouraging innovation and adaptation based on specific project needs.</p><h3>How This Transition Helped Me in IT</h3><p>Having experience with methodologies like Lean Six Sigma made it significantly easier to adapt to Scrum in the IT industry. Lean Six Sigma, with its roots in manufacturing and its emphasis on process improvement and efficiency, shares many principles with Agile methodologies like Scrum. However, what truly facilitated my transition were specific concepts from Japanese culture, such as Kaizen, the 8M’s, and the 5 Whys. These tools have been instrumental in my IT career, helping me to analyze issues deeply, identify root causes, and implement preventive measures that enhance both business logic and overall product quality.</p><h3>The 8M’s: A Framework for Comprehensive Problem Analysis</h3><p>The 8M’s is a framework derived from the manufacturing industry, used for identifying and categorizing potential causes of a problem. The 8M’s stand for:</p><ol><li><strong>Manpower:</strong> The human element, including skill levels, training, and morale.</li><li><strong>Method:</strong> The processes, procedures, and practices followed in production or development.</li><li><strong>Machine:</strong> The equipment and technology used in the process.</li><li><strong>Material:</strong> The raw materials and inputs required to produce a product or service.</li><li><strong>Measurement:</strong> The metrics, measurements, and data used to monitor processes.</li><li><strong>Milieu (Environment):</strong> The physical environment, including factors like temperature, humidity, and cleanliness.</li><li><strong>Management:</strong> The leadership, decision-making processes, and management practices.</li><li><strong>Maintenance:</strong> The upkeep, repair, and servicing of equipment and machinery.</li></ol><p>In my IT career, the 8M’s have been invaluable when troubleshooting complex problems. By breaking down an issue into these eight categories, I can systematically evaluate each aspect of the development or deployment process, ensuring that no potential cause is overlooked. This comprehensive approach has led to more effective problem resolution and has improved the quality and reliability of the software products I’ve worked on.</p><h4>Comparison to Scrum</h4><p>In Scrum, issues are typically addressed during retrospectives, where the team reflects on what went well and what needs improvement. While Scrum encourages teams to identify the root cause of issues, it doesn’t prescribe a specific framework like the 8M’s. Incorporating the 8M’s into a Scrum retrospective can provide a structured way to dissect problems and ensure that all possible factors are considered, leading to more thorough and actionable insights.</p><h3>The 5 Whys: Digging Deeper to Find the Root Cause</h3><p>The 5 Whys is a problem-solving technique that involves asking “why” repeatedly — typically five times — to drill down to the root cause of a problem. Each “why” helps to peel away a layer of symptoms, leading you closer to the fundamental issue. This method, also originating from Japanese manufacturing practices, is simple yet powerful in its ability to uncover deep-seated problems.</p><p>For example, if a software feature is not performing as expected, the 5 Whys might proceed as follows:</p><ol><li><strong>Why</strong> is the feature not performing as expected?<br><em>Because the API response time is slow.</em></li><li><strong>Why</strong> is the API response time slow?<br><em>Because the database queries are inefficient.</em></li><li><strong>Why</strong> are the database queries inefficient?<br><em>Because the indexing strategy is poor.</em></li><li><strong>Why</strong> is the indexing strategy poor?<br><em>Because the database schema wasn’t optimized during design.</em></li><li><strong>Why</strong> wasn’t the database schema optimized?<br><em>Because of a lack of database design expertise in the team.</em></li></ol><p>By the end of this process, the team can identify that the root cause is a skills gap, which can then be addressed through training or by involving a database expert in future projects.</p><h4>Comparison to Scrum</h4><p>In Scrum, problem-solving often occurs during daily stand-ups or retrospectives. The 5 Whys technique can be a powerful addition to these meetings, enabling teams to drill down into issues more effectively. While Scrum emphasizes quick resolution and moving forward, the 5 Whys encourage deeper analysis, which can lead to more sustainable long-term solutions.</p><h3>The Impact of These Tools on My IT Career</h3><p>Applying these methodologies in the IT industry has not only enhanced my ability to understand and troubleshoot complex technical problems but has also improved my overall problem-solving skills. The ability to analyze a problem from multiple angles using the 8M’s and to dig deep into its root cause using the 5 Whys has proven to be invaluable. These tools have allowed me to implement more effective and sustainable solutions, thereby improving the quality of the products and services I help develop.</p><p>Furthermore, this cross-industry knowledge has broadened my perspective, enabling me to bring fresh insights into my work in IT. I encourage others in the IT industry to explore methodologies from other sectors, as it can provide new perspectives and significantly enhance your approach to daily tasks, including coding and software development.</p><p>In conclusion, transitioning from the automotive to the IT industry was a challenging yet rewarding journey. By drawing parallels between these industries, I’ve gained a broader perspective that has enriched my career and enabled me to bring valuable insights to my work in IT.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66ea0a405690" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>