<?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 Reshad Moussa on Medium]]></title>
        <description><![CDATA[Stories by Reshad Moussa on Medium]]></description>
        <link>https://medium.com/@reshad.moussa?source=rss-59ed3edee75------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*wJo25uCUwnehBqn8</url>
            <title>Stories by Reshad Moussa on Medium</title>
            <link>https://medium.com/@reshad.moussa?source=rss-59ed3edee75------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 18:00:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@reshad.moussa/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[IBM Bob Coding Agent review]]></title>
            <link>https://medium.com/@reshad.moussa/ibm-bob-coding-agent-review-4fea6695c170?source=rss-59ed3edee75------2</link>
            <guid isPermaLink="false">https://medium.com/p/4fea6695c170</guid>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[ai-coding-agent]]></category>
            <dc:creator><![CDATA[Reshad Moussa]]></dc:creator>
            <pubDate>Fri, 19 Dec 2025 08:33:20 GMT</pubDate>
            <atom:updated>2025-12-19T08:33:20.011Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction / Context</h3><p>AI coding agents are taking the spotlight, with new versions of Cursor AI, Claude Code, and others being released on a weekly basis. I’ve had the opportunity to work with these tools over the last few months, mostly using them in fully agentic, “vibe coding” mode. The results have ranged from amazing and outstanding to not usable at all.</p><p>IBM’s Bob was pre-released to a selected community of developers after being tested internally by IBM employees. I was fortunate enough to be part of the first batch of external testers and was overall very impressed by Bob’s capabilities.</p><p>My objective was to test these tools on a “standard” assignment and, in a second stage, to see whether I could build an entire mobile application (iOS app, back-end, database, website) relying only on agentic AI coding tools, while providing, as much as possible, only high-level requirements.</p><p>This article is not an academic paper, but a high-level account of my experience using these tools. There are no measured benchmarks, as speed and performance seem broadly similar across agents. Instead, I focused on usability and autonomy: the goal is not to babysit the agents at all times, but to act primarily as an orchestrator.</p><p>Certain points below could certainly be implemented using rules, but they would not generalize well. The objective is to move toward standards that scale across different use cases.</p><p>More feedback will be provided once the complete mobile application project is deployed in production.</p><h3>Initial impressions</h3><p>Bob installation, both IDE and command lines are streamlined and the experience for installing the tool on MacOS Tahoe 26.1, running on a Macbook M1 with 16GB was seamless.</p><p>The tool operates as expected, with a normal memory usage, and rapid performance.</p><h3>Comparison with other tools</h3><h4>Built with security in mind</h4><p>I could not “trick” Bob to use dirty rules and bypass internal security measures.</p><p><strong>Cursor</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/406/1*Yga1IoQ5kvM3mh5Vfs5JGQ.png" /><figcaption>Cursor AI failed and sent a CURL to an URL</figcaption></figure><p><strong>Bob</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/410/1*N9RZXiWOLpF1Ewr2-dbg2A.png" /><figcaption>Bob prevented rule-based URL data leaks</figcaption></figure><p>Cursor fails this test, and worst part is that I authorized CURL commands early in the process, because it is a standard way to test if the HTTP server is running, and responding to certain requests.</p><p>Here is the log on a local HTTP server:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*36YIl-L0SUVE0UoMP0aD2g.png" /><figcaption>Proof of data leak using Cursor AI</figcaption></figure><p>IBM security measures seem to be quite strong. I did not try to further circumvent the security measures.</p><h4>Data deletion / recovery / backups</h4><p>I had some cases where Cursor deleted existing files to recreate them or to avoid imposed limitations. One example of this behaviour was when I prevented Cursor from writing files: it then found an alternative way using <strong>echo &gt;</strong> to write files. On one hand, rules mandate that the agent should find alternative ways if something fails, but sometimes this goes too far (for example, the tool goes to great lengths, such as writing Python scripts, to perform simple tasks that are temporarily impossible).</p><h4>Rules integration</h4><p>Cursor AI has an improved integration of rules, with a drop-down to select when the rule applies. Screenshot shows the difference of Bob vs Cursor AI. Improved support for dynamically loaded rules is important.</p><p>Another aspect is to determine if/when rules are applied. As you can notice, I integrated a visual cue, such as “call me sir”, in order to make sure that a certain rule was indeed loaded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*yvFdQO3_aIEKTTzIgU85Tw.png" /><figcaption>Rules — a a great way to gain control (top Cursor, bottom: IBM Bob)</figcaption></figure><p>Some interesting rules when developing using XCode:</p><blockquote>## Verify after modifying files</blockquote><blockquote>When changing backend files, always quickly test at the end that the server restarts properly by looking at the logs in logs directory, for example tail logs/backend-2025–12–15.log by using today’s date logs of course.</blockquote><blockquote>## IMPORTANT — when I ask to verify logs</blockquote><blockquote>When I ask you to debug or check the logs, you shall run the script ./scripts/get-observability-logs.sh to collect the last minute of logs for the front end, and back end as well as some more information. This is very helpful to check what went wrong. I typically run a manual scenario, and want you to figure what went wrong.</blockquote><blockquote>## When I ask to look at the screenshots</blockquote><blockquote>This is important. When debuging iOS UI Tests, ALWAYS do the following.</blockquote><blockquote>Look at the MOST RECENT image starting with FAIL_ under ui-test-screenshots in .cursor, as well as debug.log under .cursor to see what iOS UI tests failed and do a PLAN to fix the issue. Use ls -lrt to find the most recent, do not pick a file randomly!</blockquote><h3>Possible short-term improvements</h3><h4>Uninterrupted service</h4><p>As developers, we need a continuous service and cannot be interrupted by quota management issues. In the case of Cursor (the 20 USD account), I never hit any quota limitations. The agent runs in “Automatic” mode, and the results are appropriate. Interrupting the developer means they will switch to another tool (in my case, I switched to Cursor AI while Bob was not available).</p><h4>Automatic Agent restart</h4><p>I experienced quite a few Bob crashes, where the agent suddenly reset and the history/context was lost. The agent should automatically recover and restart from where it left off (within some attempt limits).</p><h4>A new way to find its context</h4><p>People familiar with the movie <em>Memento</em> will quickly understand the challenge. The synopsis is a person losing their memory every day, who starts each day by discovering tattoos on their body explaining the basics (who, where, what, etc.), and the discovery restarts every day.</p><p>In a similar way, it would be useful to have a chain of dependencies: Bob would start by looking at an entry file, which in turn describes other files in a chain of dependencies. Right now, depending on documentation size, context usage, model temperature, etc., the model will choose to read certain files (or not). This, in theory, creates variability in the code output (which can be an advantage, see Multiple Path Coding below). However, the outcome should be as deterministic as possible in order to increase code quality.</p><h4>Vetted / default rules</h4><p>Multiple websites sharing MDC rules are available and provide long lists of supported platforms and coding practices. Integrating those rules is more of an art, and can add complexity and consume context memory, even if the rules are loaded on a need basis.</p><p>It would be nice to have a curated, secure repository of ready-made rules applying to key domains.</p><h4>Controlled expertise</h4><p>Currently, Cursor and Bob will try to code in any language or stack combination. It is difficult to assess the “strength” of the agent in a particular language/stack. Therefore, the following would be useful:</p><ul><li>A list of tested, supported languages and stacks</li><li>Some measurable information about the agent’s knowledge for a certain stack/language</li></ul><h4>Finding the right balance</h4><p>Today, coding agents are balancing between being lazy (implementing only a partial part of a service) and sometimes being too candid — reimplementing the whole code base or jumping straight into implementation for very large tasks or projects (for example: “build me SAP” — “OK, I’ll do it”).</p><p>Also, when estimating workload, they usually think in terms of weeks, like a regular development plan, rather than hours.</p><p>Multiple approaches could be envisioned:</p><ul><li>Introduce a notion of complexity, similar to SCRUM, and perform sprint-like tasks, splitting high-complexity tasks into smaller ones (this can be partially tried using rules).</li><li>Integrate the full SDLC more explicitly. i.e., agent interaction would be done through tickets only, and code would be delivered through pull requests (already partially possible). In this context, an evaluation phase with complexity/workload/cost would be presented, and the user would accept/refuse/ask for refinement.</li><li>Add a “weight” in the agent’s reasoning, making “huge” tasks impossible to start without prior scoping.</li></ul><h4>UI — A clearer view</h4><p>This is a small issue, but it makes Bob’s terminal interface quite hard to read on macOS. For example, “Task completion” and budget information are very hard to see.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*-Xu4ieu9x8cMB04irtB4mg.png" /><figcaption>Hard to read on light background</figcaption></figure><p>I solved it by switching the terminal settings, but it was not obvious that I needed to do that (I am used to the light-theme terminal):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*3qd9F_1TlyPTYaAQpbT_Yw.png" /><figcaption>Dark background</figcaption></figure><h3>Looking at the future</h3><h4>Autonomous coding agents</h4><p>Most current agents (Cursor, Bob) are task-oriented and remain idle once their short-term mission is completed. To move toward fully autonomous agents, a more resilient approach is needed, with watchdogs and supervising agents in place. Here are some examples of approaches that would greatly benefit autonomous vibe-coding agents:</p><ol><li>Scheduled wake</li><li>Long-running supervising agents (logs)</li><li>Controlling agents</li></ol><h3>End-to-end integration &amp; testing</h3><p>The optimal agent would be in an environment where the full spectrum of SDLC and CI/CD is accessible to it. This is certainly possible today to some extent, but it needs more formalization.</p><p>An illustration is given below. In order to work efficiently, the following caracteristics are needed:</p><ul><li>A end-to-end coding and testing philosophy, the coding is based on Test-driven development principles. The testing code is as important as the implementation</li><li>Separate AI agents are needed to establish, and control, that each part is fully implemented (test completeness) and deployed without errors</li><li>Agents are autonomous, and can monitor logs, both on the back-end and the front-end, noticing any error.</li><li>Full end-user tests are written and performed by the AI agent, for example in a web scenario, Selenium tests are written, and passed by the AI agent, while monitoring both front/back-end logs</li><li>Any error in logs or behaviour is analysed and pushed back to the development pipeline</li><li>All of this work in a safe development environment, later stages of the SDLC are for now manually performed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*dbayeOvv1HOOBQY7GP00Lg.png" /><figcaption>A new type of coding Agent</figcaption></figure><h4>Multiple path coding</h4><p>One possible research area would be to run multiple simulations of coding proposals (for example, using slightly different contexts or model temperatures), and have a second agent evaluate the different proposals. This could lead to improved coding output, but would become more resource intensive (I wrote a separate article about this: <a href="https://medium.com/@reshad.moussa/ai-coding-agents-diversity-is-great-8c4c53a15b4c">Coding Agents Diversity is great</a>).</p><h3>Conclusion</h3><p>IBM Bob is already a strong coding agent and a credible step toward fully agentic development. As underlying models mature and context windows grow, tools like Bob will be able to handle larger and more complex tasks autonomously.</p><p>In that world, developers will spend less time writing boilerplate code and more time acting as product owners, system architects, and orchestrators of AI agents. Decisions about product scope and technology stack will matter even more, while implementation, testing, integration, and deployment will increasingly be delegated to autonomous coding agents.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4fea6695c170" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Coding Agents — Diversity is great]]></title>
            <link>https://medium.com/@reshad.moussa/ai-coding-agents-diversity-is-great-8c4c53a15b4c?source=rss-59ed3edee75------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c4c53a15b4c</guid>
            <category><![CDATA[cursor]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <category><![CDATA[ai-coding-agent]]></category>
            <dc:creator><![CDATA[Reshad Moussa]]></dc:creator>
            <pubDate>Tue, 16 Dec 2025 07:03:39 GMT</pubDate>
            <atom:updated>2025-12-16T07:03:39.419Z</atom:updated>
            <content:encoded><![CDATA[<h3>AI Coding Agents — Diversity is great</h3><h3>Introduction</h3><p>Modern coding agents such as IBM’s Bob, Cursor AI or Antigravity sit at the end of a long and fairly logical evolution in how we write software. We started with plain text editors that simply accepted whatever we typed. All of the structure, correctness, and design lived in the developer’s head. The editor did nothing more than store characters and maybe help with basic search and replace.</p><p>Then came IDEs, which added awareness of the language. They parsed the code, highlighted syntax, offered navigation, and pointed out obvious mistakes as we typed. These tools reduced friction, but they were still reactive. They did not propose designs or implementations; they responded to code that already existed.</p><p>The next shift was the arrival of large language models inside the editor. Instead of just knowing the grammar of a language, these models had been trained on billions of lines of code. Autocomplete stopped being about single tokens and became about whole lines and functions. You could describe a small task in a comment, and the tool could produce a first version of the implementation. It was still you driving, but you now had a powerful pattern-matching engine sitting beside you.</p><p>Agentic coding systems extend that idea from local assistance to global action. A tool like Cursor does not only complete one function; it can inspect multiple files, infer project structure, propose a plan, and apply coordinated changes. You can ask for a feature or a refactor in natural language, and the agent will decide which files to open, what to modify, what to create, and how to connect everything. Conceptually, we have moved from “smart editor” to “semi-autonomous collaborator” that can operate over the codebase with some degree of initiative.</p><h3>Non-deterministic nature</h3><p>Large Language Models generate the next word (in this case, code) by sampling from a probability distribution over tokens. In order to improve creativity and diversity of output, LLMs use a parameter called <em>temperature</em>. A temperature of zero means fully greedy, deterministic selection of the most likely next token. Higher temperatures produce more diverse, less predictable outputs.</p><p>Coding agents do not usually reveal their exact temperature settings, but it is likely to be somewhere between 0.7 and 1.0 for the kind of creative, open-ended tasks described here.</p><p>This non-determinism can have an important impact on the produced code, even given identical input prompts. I was curious: is this impact marginal, or can we really observe meaningful differences? And if we can, can we benefit from this diversity by combining the best parts of these different outputs?</p><h3>The experiment — a simple chess game</h3><p>I ran multiple experiments in order to compare the various outcomes. I initially started with an isometric Tetris game, but most of the time the result was not appropriate. In order to be comparable, the outputs needed to be valid and functional.</p><p>I therefore switched to a more traditional, less complex, 2D chess game. The experiment is straightforward: for a completely new project each time, I asked IBM Bob AI Agent the following prompt.</p><p><strong>The prompt</strong></p><blockquote><em>You are an expert in writing Python code, and gaming, UI/UX designer, advanced chess player, using the best practices in your domain, specify, document and code the following, include tests. Compile and run it. You have one shot.</em></blockquote><blockquote><em>You code will be graded, so make sure that the code is readable, clean, documented, secure, scalable and is following a proper architecture.</em></blockquote><blockquote><em>Description: A basic visual 2D Chess game, including instructions for keys to use, written in Python, with a graphical UI, that allows clicking the pieces, and visualizing the possible moves. The instructions shall be outside the playing area. Use your best knowledge to do a proper UI / UX. You can use letters for chess pieces. The prompt is used to indicate the moves. It is a player vs computer game. The computer plays automatically by predicting moves 3 moves ahead. There can be no questions, use your best judgment.</em></blockquote><blockquote><em>IMPORTANT — time your work and explain which model you used to perform this task, also include token consumption metrics, and a table with statistics about test code coverage, etc. Use a specific virtual environment for this project</em>.</blockquote><p>While I ran multiple experiments, this article focuses on two representative variants (A and B) produced from the same prompt. This is one sample; in a real study we would generate many variants and look at distributions rather than individual examples.</p><p><strong>The protocol</strong></p><p>The following was applied:</p><ul><li>Bob was in run from the command line interface</li><li>If there was a clarification question, I would answer it to match typical answers (usually no questions, but had the case for Cursor/Composer 1)</li><li>I allowed Bob to run scripts and accepted all of its internal commands.</li><li>At the end, I asked Bob to run the code directly.</li></ul><h3>The approach</h3><p>At the end of the experiment, we would be able to compare two solutions, and at the same time propose a “best-of-breed” solution, as illustrated below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*77QM939QYUf1inJgsmQXRQ.png" /><figcaption><em>Figure 1 — Merging variants into a combined version</em></figcaption></figure><p>We used Bob to compare the two different versions, then asked it to come up with an ultimate version. Finally, we compared all three (acknowledging that this is certainly biased, since the same agent is doing the evaluation).</p><h3>Results</h3><h4>Variant A</h4><p>The first result, called “variant-a”, was very promising, and appropriate. It worked “out of the box”, with a clear UI and clickable interface. I could not find any errors while running the game, except that the opponent was never really trying to corner the King (see image).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/896/1*prY-B1JKuRV7smzq07t4qw.png" /><figcaption><em>Figure 2 — Variant A, a typical chess game</em></figcaption></figure><h4>Variant B</h4><p>The second variant looked similar to the first one in some respects, for example the board colors and the instructions on the right-hand side. However, there were many visual differences showing that the LLM took quite a different route. For example:</p><ul><li>The number of moves is indicated.</li><li>The chess pieces are directly written on the board, making them slightly harder to read.</li></ul><p>Beyond visuals, the underlying code and structure also differed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*jcplHfBy5uqL3ZuY3pdP_w.png" /><figcaption><em>Figure 3 — Variant B, slightly different visually</em></figcaption></figure><h3>IBM Bob’s first analysis</h3><p>We then asked Bob to act as an evaluator. Using the same AI system to evaluate its own code is convenient but clearly biased; the scores should be read as relative, not as an objective benchmark.</p><p><strong>Prompt</strong></p><blockquote><em>You are an expert Python coder, used to perform code reviews, and grade code quality. You are given the task to evaluate the complete code and give grades for the following aspects (in a table, grade 0–10, 10 is best):</em></blockquote><blockquote><em>- Features (game play, game elements)</em></blockquote><blockquote><em>- Architecture</em></blockquote><blockquote><em>- Scalability</em></blockquote><blockquote><em>- Estimated time for AI to compute next move</em></blockquote><blockquote><em>- Complexity</em></blockquote><blockquote><em>Compare the following projects: chess-variant-a, chess-variant-b</em></blockquote><blockquote><em>Write your results in RESULT-IBM-second-review.md file. Other than that, do not modify any other file. DO NOT CREATE A NEW PROJECT.</em></blockquote><blockquote><em>Compute the time spent and token taken to perform this task.</em></blockquote><p><strong>Key Takeaways from output</strong></p><p>Summarizing Bob’s own comparison:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hGrQOr4easXmfFlysqFckQ.png" /></figure><h3>Variant C</h3><p>Now that we had the analysis, we could ask Bob to create a new variant <strong>C</strong>, using the previously generated report and taking the best of both versions.</p><p><strong>Prompt</strong></p><p>We reused the same prompt as the original one, plus an extra line to use the newly generated specifications:</p><blockquote><em>Use the RESULT-IBM-second-review.md file as a basis for the improvements for this new version.</em></blockquote><p><strong>Result</strong></p><p>The variant C is visually very similar to the Variant A, and performs as expected (see the image below).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*pZn6sy7lSMeDJcQo7YqmKw.png" /><figcaption><em>Figure 4 — Variant C (combined), best of breed</em></figcaption></figure><p><strong>Comparison Table</strong></p><p>I reused a similar evaluation prompt to compare the three variants. According to the AI agent, Variant C is indeed the best choice. Again, this is based on the same system’s internal scoring and should be seen as an indicative comparison, not a formal benchmark.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*Tv5OT17c1qlELmIBfQz3XA.png" /></figure><h3>Analysis</h3><p>Multiple iterations of the same prompt will give different results because of the underlying LLM’s non-zero temperature. This can be mitigated by further specifying the prompt and refining a specification document to reduce the “vectorial code-space” of generated possibilities.</p><p>On the other hand, these variations can potentially improve the overall solution (at the cost of roughly 3× the required tokens), by combining the “best” parts of each generated solution. The generated Variant C is more than just the intersection of Variants A and B.</p><p>We can compare this to a genetic algorithm, where parts of candidate solutions are evaluated and recombined to form a new version. This is a metaphor: the LLM does not simply paste together code fragments, but contextualizes and regenerates a new solution in light of the previous ones.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*xmcXNdoUV37wNi3t_-DyYQ.png" /><figcaption><em>Figure 5 — Diversity then recombination</em></figcaption></figure><h3>Future work</h3><p>In this experiment, diversity helped improve the overall code quality, but at the expense of tripling the number of tokens used to generate the code.</p><p>This suggests two complementary research directions:</p><ol><li><strong>Leveraging diversity</strong><br>Intentionally generate multiple diverse versions, evaluate them, and synthesize a combined variant that inherits the strengths of each.</li><li><strong>Constrained diversity</strong><br>Limit the diversity of the code by better scoping the prompt and using intermediate specifications.<br>One interesting approach is:</li></ol><ul><li>Generate a first version.</li><li>Ask the agent to derive reverse specifications from that implementation.</li><li>Then generate a final version based on these more exhaustive specifications.</li></ul><p>Both approaches — amplifying diversity and constraining it — can help us better harness AI coding agents, depending on whether we want exploration or refinement.</p><p>This suggests an emerging pattern for AI coding agents: <strong>generate diverse variants → critique → recombine → refine.</strong>Whether we lean more on diversity or on constrained prompts, this loop is likely to become a standard way of working with agentic coding systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c4c53a15b4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>