<?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: Ramakrishnan Lokanathan</title>
    <description>The latest articles on DEV Community by Ramakrishnan Lokanathan (@makriman).</description>
    <link>https://dev.to/makriman</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%2F4179634%2F243215b7-a230-44d9-80c9-e485f68c82ca.jpg</url>
      <title>DEV Community: Ramakrishnan Lokanathan</title>
      <link>https://dev.to/makriman</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/makriman"/>
    <language>en</language>
    <item>
      <title>When Is an AI Rewrite Finished?</title>
      <dc:creator>Ramakrishnan Lokanathan</dc:creator>
      <pubDate>Wed, 11 Nov 2026 02:16:58 +0000</pubDate>
      <link>https://dev.to/dailycontext/when-is-an-ai-rewrite-finished-4ged</link>
      <guid>https://dev.to/dailycontext/when-is-an-ai-rewrite-finished-4ged</guid>
      <description>&lt;p&gt;&lt;em&gt;AI makes it easier to attempt a replacement. The harder question is what the new software still owes the people using the old version.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Imagine rewriting a game engine and getting the same winner in both versions. That looks promising. Then you inspect the match record. The new engine has counted a move supplied by the software as though the AI model chose it. The game still ended, but the experiment changed.&lt;/p&gt;

&lt;p&gt;I am exploring a Rust version of eSlams alongside its Python engine. eSlams lets AI models play games so we can investigate their decisions. That gives a rewrite a particular obligation: preserve what a result means. Which moves did the model choose? What could it see? What happened when it failed to return a usable response?&lt;/p&gt;

&lt;p&gt;These questions make the appeal of AI-assisted rewrites more interesting to me. A replacement that once looked too expensive may now be worth attempting. We can explore a different language, remove an awkward dependency or reconsider an architecture. But generating the replacement is only part of finding out whether it can take over.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://blog.cloudflare.com/vinext/" rel="noopener noreferrer"&gt;Cloudflare's Vinext&lt;/a&gt; offers a useful example. The company described building its initial reimplementation of the Next.js API on Vite in under a week, with one engineer directing AI and about $1,100 in model tokens. It called the release experimental. Seven months later, &lt;a href="https://blog.cloudflare.com/vinext-nextjs-on-vite/" rel="noopener noreferrer"&gt;its account of version 1.0&lt;/a&gt; described the work of making the replacement behave correctly across real applications.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/cloudflare/vinext/security/advisories/GHSA-2956-r8mj-w5c4" rel="noopener noreferrer"&gt;An October security advisory&lt;/a&gt; showed how small a consequential difference can look. Two different cached functions could share an entry when they used the same extra cache keys and arguments. In the advisory's example, a public summary route could return data cached by a private receipt route. Vinext 1.2.0 fixed that defect by including the function's source code in the key.&lt;/p&gt;

&lt;p&gt;That distinction mattered because the functions had different jobs. A caller could supply the expected arguments, receive a valid response and still get information the route should never have returned. Matching the visible shape of an API had left a gap in its behaviour.&lt;/p&gt;

&lt;p&gt;The lesson I take from this is to make the obligations of a rewrite explicit before celebrating its completeness. Some will be documented. Others live in tests, old incidents and the assumptions of whoever calls the software. A particular error may tell another service to retry. The order of two events may determine whether a customer is charged again.&lt;/p&gt;

&lt;p&gt;For eSlams, I would want the two engines to encounter the same positions and recorded actions, then compare the state after each move. An identical final score could hide an earlier disagreement. I would also want to know whether they reject the same invalid action and preserve the same information boundaries between players.&lt;/p&gt;

&lt;p&gt;The same approach applies elsewhere. Compare a write followed by a read, a request repeated after a timeout, or two customers making otherwise identical requests. Include the stored data and emitted events in the comparison. A response body can look correct while the next request inherits the mistake.&lt;/p&gt;

&lt;p&gt;Some differences will be improvements we intended to make. An old bug need not become a permanent feature merely because a comparison found it. But someone needs to decide which behaviour is wanted, understand who depends on it and record that decision. Otherwise, convenient differences can quietly become accepted ones.&lt;/p&gt;

&lt;p&gt;Those decisions also affect the release. I would begin with a bounded part of the workload and keep a way back. Running both versions can help, provided the comparison does not send two emails or make two payments. Switching back only works if the old software can still understand the data the new version has written.&lt;/p&gt;

&lt;p&gt;I find the possibility of building a better engine exciting. AI gives a small team more room to attempt work it might previously have postponed. That is a meaningful change even before anyone claims a fully autonomous rewrite.&lt;/p&gt;

&lt;p&gt;But the finish line has to include the people and programs that depend on the result. They need the replacement to keep working when an input is unusual, a request repeats or a component fails. I would call the rewrite finished when I can explain which promises survived, which changed deliberately and how we checked.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>rust</category>
      <category>softwareengineering</category>
      <category>testing</category>
    </item>
    <item>
      <title>Give Your Agent a Fast Path</title>
      <dc:creator>Ramakrishnan Lokanathan</dc:creator>
      <pubDate>Wed, 11 Nov 2026 02:15:45 +0000</pubDate>
      <link>https://dev.to/dailycontext/give-your-agent-a-fast-path-496</link>
      <guid>https://dev.to/dailycontext/give-your-agent-a-fast-path-496</guid>
      <description>&lt;p&gt;&lt;em&gt;Small decision models offer a way to handle routine judgments quickly, provided we are clear about which judgments they should make.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A customer writes to say that a parcel arrived broken. Before anyone composes a sympathetic reply, the software has a few things to work out. Is this a delivery problem? Is there enough information to find the order? Which team should handle it? Much of the work happens before the first sentence is written.&lt;/p&gt;

&lt;p&gt;These are the kinds of questions that make System 1 models interesting. &lt;a href="https://docs.typesafe.ai/concepts/system-one" rel="noopener noreferrer"&gt;TypeSafe's Jev&lt;/a&gt;, for example, takes information about a situation and returns answers within a structure the developer defines, along with probabilities. Give it a set of possible destinations for a ticket and it can choose among them. The application already knows how to use the answer.&lt;/p&gt;

&lt;p&gt;There is a practical difference here from asking a language model to write a reply that happens to contain a decision. A decision model can score the available options directly. &lt;a href="https://fastino.ai/blog/glide-decision-model-family" rel="noopener noreferrer"&gt;Fastino's GLiDE family&lt;/a&gt; does this without generating answer tokens, with models ranging from 0.4 billion to 27 billion parameters. The category includes small models, although smallness alone does not define it.&lt;/p&gt;

&lt;p&gt;For a repeated task, that is an appealing arrangement. We can avoid spending time on an explanation nobody will read, and keep the surrounding workflow simple. A small model that handles one useful judgment well could have a place in software that has no chat window at all.&lt;/p&gt;

&lt;p&gt;But return to the damaged parcel. Suppose the permitted answers are billing, deliveries and technical support. The model can choose a valid answer and still choose badly. Restricting the output gives the program something it can process. It does not establish that the customer reaches the right person.&lt;/p&gt;

&lt;p&gt;What if the customer has described two different orders? What if the order belongs to somebody else? The useful next step may be to ask a question. If our list of choices leaves that out, we have asked the model to choose from an incomplete account of the situation.&lt;/p&gt;

&lt;p&gt;I am building eSlams to explore how AI models make decisions through games. That makes this distinction familiar: a legal move can still be a poor move. The rules tell us what a player may do. What happens next tells us something about the quality of the choice.&lt;/p&gt;

&lt;p&gt;In a business workflow, we also have to decide which judgments belong to the model. Reading a messy customer message may benefit from one. Checking whether an order number exists is usually a straightforward database query. Permission to issue a refund should remain an explicit rule that the application enforces.&lt;/p&gt;

&lt;p&gt;The probabilities deserve the same care. A high number can be useful evidence, but its meaning has to be checked against real outcomes. Across comparable cases, do answers assigned high probabilities turn out to be right as often as expected? A confident answer to one ticket cannot settle that question.&lt;/p&gt;

&lt;p&gt;I would begin by letting the model make recommendations alongside an existing workflow. Include ordinary requests, ambiguous ones and cases where the correct next step is to leave the decision to somebody else. Look closely at the errors before deciding which recommendations can become actions.&lt;/p&gt;

&lt;p&gt;Then ask two questions together: how much work did it handle, and how often was that work handled correctly? A system that sends almost everything to a person may produce a comforting accuracy figure while saving very little effort. One that accepts everything can make the queue look wonderfully efficient until the corrections arrive.&lt;/p&gt;

&lt;p&gt;Those corrections belong in the measurement. So do the time spent retrieving records and the work passed to another model or a colleague. The customer experiences the whole process. A quick classification is useful when it helps the case reach a satisfactory conclusion sooner.&lt;/p&gt;

&lt;p&gt;Over time, the questions may change. A new product creates a new kind of complaint. A policy changes what a team can resolve. The examples used to judge the model need to keep up with the work we are actually giving it.&lt;/p&gt;

&lt;p&gt;I like the possibility of giving these ordinary decisions a fast path through software. To trust that path, I would want to see the routine cases move through cleanly and the uncertain ones arrive with the person or system able to resolve them. That is where a quick answer becomes useful work.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>llm</category>
      <category>agents</category>
      <category>aie</category>
    </item>
    <item>
      <title>When the Coding Agent Says It Is Done</title>
      <dc:creator>Ramakrishnan Lokanathan</dc:creator>
      <pubDate>Wed, 11 Nov 2026 01:51:03 +0000</pubDate>
      <link>https://dev.to/dailycontext/when-the-coding-agent-says-it-is-done-4mjj</link>
      <guid>https://dev.to/dailycontext/when-the-coding-agent-says-it-is-done-4mjj</guid>
      <description>&lt;p&gt;&lt;em&gt;The work should be easy to verify and continue after the conversation ends.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;An agent changes the code, runs a few commands and says the work is complete. You close the conversation. The next morning, somebody opens the repository. Can they tell what changed, what was checked and what still needs attention?&lt;/p&gt;

&lt;p&gt;When I think about coding agents, this is the handoff I care about. A useful session should leave the project in a state that another person, or another agent, can understand without having to reconstruct the conversation.&lt;/p&gt;

&lt;p&gt;Consider a simple request: fix a settings page so that a user's changes survive a refresh. The agent needs to find the page, understand where settings are stored and see how the application identifies the user. It needs to know which existing behaviour must remain intact. Missing one of those details can produce a change that looks reasonable in isolation and fails in the application.&lt;/p&gt;

&lt;p&gt;This is what makes context engineering a practical problem. The information needed to finish the task may be scattered across code, documentation, a failing test and a decision somebody made months ago. Giving the agent room to read more does not establish that it has found the right information.&lt;/p&gt;

&lt;p&gt;A repository can make that search easier. Keep instructions close to the work they describe. Show how to start the application and run its checks. Record decisions that would otherwise surprise a new contributor. When documentation and code disagree, the agent needs a way to recognise and resolve the disagreement.&lt;/p&gt;

&lt;p&gt;The agent also needs a working environment. If a test cannot run because a dependency is missing, the change remains unverified. A clear record should distinguish a failed test, a check that never ran and a successful check. Otherwise, even an accurate summary can leave the reader with the wrong impression.&lt;/p&gt;

&lt;p&gt;Then consider what happens when the session stops halfway through.&lt;/p&gt;

&lt;p&gt;In &lt;a href="https://www.anthropic.com/research/effective-harnesses-for-long-running-agents" rel="noopener noreferrer"&gt;its account of experiments with long-running agents&lt;/a&gt;, Anthropic described sessions that left features unfinished and later sessions that saw partial progress and declared the project complete. Its approach used explicit feature requirements, progress records and incremental commits to help the next session understand the state of the work.&lt;/p&gt;

&lt;p&gt;Those practices make sense to me because the handoff is familiar. If a colleague takes over a task, I would want them to know the goal, the changes already made, the checks that ran and the unresolved questions. A summary helps them get started. The actual changes and test output let them check whether that summary is right.&lt;/p&gt;

&lt;p&gt;Completion needs a check of its own. For the settings page, saving a value and refreshing the page tests whether the change survives. Checking the same flow with a second account helps test that users' settings stay separate. The acceptance criteria should follow the behaviour we asked for, including the boundaries around it.&lt;/p&gt;

&lt;p&gt;Apply the submitted change to a clean checkout and repeat the relevant checks. That can expose a dependency on something left behind in the agent's session. It still cannot tell us whether the requirements were complete or whether the tests missed an important case. Review remains part of the work.&lt;/p&gt;

&lt;p&gt;If the agent changes a test, inspect why. The expected behaviour may legitimately have changed. Or the test may have been weakened until the new implementation passed. A green result is useful only when we understand what it establishes.&lt;/p&gt;

&lt;p&gt;I would start with this fairly ordinary discipline before adding more agents and more orchestration. Make the necessary information findable, preserve enough state to recover, and give completion a meaning that somebody else can check.&lt;/p&gt;

&lt;p&gt;The next morning, the conversation may be gone. The repository should still be able to explain the work.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>testing</category>
      <category>softwareengineering</category>
    </item>
    <item>
      <title>AI Needs a Test That Fights Back</title>
      <dc:creator>Ramakrishnan Lokanathan</dc:creator>
      <pubDate>Mon, 12 Oct 2026 21:03:49 +0000</pubDate>
      <link>https://dev.to/dailycontext/ai-needs-a-test-that-fights-back-4f17</link>
      <guid>https://dev.to/dailycontext/ai-needs-a-test-that-fights-back-4f17</guid>
      <description>&lt;p&gt;&lt;em&gt;One right answer is not the same as a good sequence of decisions. eSlams is building a public stadium to explore the difference.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Have you ever replayed a game in your head and traced the loss back to a single move? Sometimes, one overlooked threat is enough to undo a game’s worth of good decisions.&lt;/p&gt;

&lt;p&gt;That is what makes an opponent different from an answer key. On a fixed question-and-answer test, the response is the end of the task. In a game, it is the beginning of the next problem.&lt;/p&gt;

&lt;p&gt;Your opponent responds. New information changes what makes sense. A promising plan becomes a liability. You have to adjust, carrying the consequences of your last decision into the next one.&lt;/p&gt;

&lt;p&gt;So what happens when an AI model has to do more than produce a convincing answer?&lt;/p&gt;

&lt;p&gt;I am building eSlams to explore that question: a public stadium where people can play against AI models and watch them compete, with an open-source engine underneath for investigating their decisions.&lt;/p&gt;

&lt;p&gt;eSlams stands for Electronic Slams. The Grand Slams for AI models. At eSlams, AI plays games.&lt;/p&gt;

&lt;p&gt;Games make the challenge concrete. In Connect Four, building your own threat is not enough if you overlook your opponent’s. In poker, a sensible decision can still lose a hand because you cannot see all the cards. Cooperative games ask something different again: can players coordinate towards a shared goal?&lt;/p&gt;

&lt;p&gt;The point is not to demand perfection. It is to understand whether models can make consistently good decisions, adapt when circumstances change and recover when a plan goes wrong.&lt;/p&gt;

&lt;p&gt;In Arena, you can choose a game and face an AI model yourself. In Battlefield, you can watch recorded model-versus-model matches. You do not need to understand a benchmark chart to have an opinion about the game unfolding in front of you.&lt;/p&gt;

&lt;p&gt;Underneath the stadium, eSlams Core supports 50 game and control environments, spanning board games, cards, negotiation, cooperation and control tasks. Some use compact or adapted rules, clearly identified in the catalogue.&lt;/p&gt;

&lt;p&gt;But a compelling replay is only the beginning of useful evidence.&lt;/p&gt;

&lt;p&gt;Imagine a model loses. Did it choose a poor move, misjudge its opponent, or fail to return a usable response? Was the problem with the model, or with the software connecting it to the game? A final score cannot tell us.&lt;/p&gt;

&lt;p&gt;Core records what happened so those questions can be investigated. The game engine enforces the rules and limits what each player can see. Moves and technical failures are recorded separately. If the software substitutes a move after a model fails, that intervention is recorded, and the run is excluded from valid scoring.&lt;/p&gt;

&lt;p&gt;A match can be saved as a portable record that can be validated and replayed. Public replays are kept separate from private audit information. A spectator can follow the action; a developer can examine the record behind the result.&lt;/p&gt;

&lt;p&gt;Games are not a complete test of intelligence, and winning one does not prove readiness for a high-stakes application. Meaningful comparisons need repeated trials, balanced conditions and a clear account of uncertainty. Games complement testing in the settings where an AI will actually be used; they do not replace it.&lt;/p&gt;

&lt;p&gt;The MIT-licensed eSlams Core engine is available on GitHub and PyPI. Developers can connect their own agents, run experiments and inspect the results. We are hosting the inaugural AI Grand Slams from February 8–14, 2027.&lt;/p&gt;

&lt;p&gt;The question is not simply whether an AI can win. It is what happened between the first move and the final score.&lt;/p&gt;

&lt;p&gt;At eSlams, you can watch. You can play. And with the open-source engine, you can investigate.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Ramakrishnan Lokanathan is the founder of eSlams. He is speaking at AI Engineer New York on October 14 on “When AI Fails: Designing Evaluation Systems for High Stakes Applications.”&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>testing</category>
      <category>aie</category>
    </item>
  </channel>
</rss>
