<?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 Pulkit Nijhawan on Medium]]></title>
        <description><![CDATA[Stories by Pulkit Nijhawan on Medium]]></description>
        <link>https://medium.com/@pulkitn1010?source=rss-dd59c550ac07------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Pulkit Nijhawan on Medium</title>
            <link>https://medium.com/@pulkitn1010?source=rss-dd59c550ac07------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 03:19:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pulkitn1010/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[My experience of coding with Agentic IDEs]]></title>
            <link>https://medium.com/@pulkitn1010/my-experience-of-coding-with-agentic-ides-f6326524acc6?source=rss-dd59c550ac07------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6326524acc6</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[ai-coding]]></category>
            <dc:creator><![CDATA[Pulkit Nijhawan]]></dc:creator>
            <pubDate>Sat, 26 Apr 2025 10:57:18 GMT</pubDate>
            <atom:updated>2025-04-26T10:57:18.471Z</atom:updated>
            <content:encoded><![CDATA[<p>It is 2025 — the year widely speculated to be the year of AI agents. With so much pomp and show I started coding using Agentic IDE, a big enough module of a new ml-ops platform that we were coding at work. <strong>When I say big enough I mean a module that would take over 1 month(working 9–5, 5 days a week) for a developer in the pre-copilot era</strong>.</p><p>The experience was exactly opposite of what I had thought. I had thought I will just prompt and it will write the code but to my utter dismay, it would write test cases which are failing, write code which did not take into account util classes and duplicate the code again, miss the design principles being followed in other parts of the code. In other words, the code base being written by AI was in a total mess. Btw, I was using frontier LLM models, claude 3.5 and even claude 3.7 after it’s recent launch. So could not rule it out as a model problem either.</p><p>Setup: Cursor + claude <br>Language: Python</p><p>My Learnings:<strong><br>1. The model needs help. I cannot emphasise this enough.</strong></p><p>We need to think from the perspective of the model. I was always conscious(maybe a bit over conscious) to the context window of the model. So I would start a new chat in Cursor ( <strong>hence clear the context window*</strong>) whenever I felt the task I would be working on is different. This is how our lord and saviour Andrej Karpathy also described the way to use LLMs. Clear the context window when you think you can, since it is a very precious resource. But this brings me to point 2.</p><p>2. <strong>Always think from the model’s perspective when providing help.<br>Put yourself in the agent’s shoes( read context window)<br></strong>This is a very useful framework that one needs to develop. Learnt this intuition from a video on Anthropic’s youtube channel, where the people developing the computer use agent would try to mimic the agent by closing their eyes frequently, to mimic working with snapshots of screen.</p><p>I think the way we do coding now, will need to evolve. Everything from design docs to UML diagrams need to be in the code, in machine readable format, that means no draw.io diagrams in confluence pages( a mistake I made). Plus I think that one of the things I made a mistake and realised later is that do not start writing code until you draw the high level diagram and the low level diagrams ( machine readable format always from now).<br>Put these LLDs and HLDs in the context window of the model whenever you developing a big enough feature.</p><p>an example of this is the claude.md file that is supported in the claude code tool. CLAUDE.md is a special file that Claude automatically pulls into context when starting a conversation. I think we need more such files.</p><p>Have a developer onboarding document in the repo in a concise manner, would be super useful to the AI is what I think.</p><p>3. The model will do, exactly what you ask it to do. If you ask it to write some unit test cases, it will write some unit test cases, and maybe not think we are missing some important test cases. The biggest example of this is fixing pylint issues with an AI IDE. It seemed as if it was the perfect use case for AI. All it has to run the pylint command with the terminal tool the AI has access to. Simple task for the AI I thought. But it failed and wasted more than 2 hours of my time, frustrating me to the core and questioning where is the AI revolution 8 out 10 posts on Linkedin talk about.</p><p>4. AI based repos look very different in structure from other repos we have.<br>We can have different levels of abstraction documents in the repo and use that to help the AI</p><p>5. I am still grappling with level of abstraction we need to work while working with AI. Since AI is writing the code, I do not know the exact location of the code which does a specific thing and this can become a big issue, especially when debugging in high pressure situations as you don’t know the code that well.</p><p>FootNotes:</p><blockquote>(*) — I was thinking about whether I shouold have used a single chat for building the entire module, instead of frequently starting a new context window — was this the mistake I was making. But there were valid reasons laid by Karpathy for starting a new conversation whenever you can, which included:<br>1. Ability. Just because you can feed in all those tokens doesn’t mean that they can also be manipulated effectively by the LLM’s attention and its in-context-learning mechanism for problem solving (the simplest demonstration is the “needle in the haystack” eval). <br>2.- Signal to noise. Too many tokens fighting for attention may *decrease* performance due to being too “distracting”, diffusing attention too broadly and decreasing a signal to noise ratio in the features. <br>3.Data; i.e. train — test data mismatch. Most of the training data in the finetuning conversation is likely ~short. Indeed, a large fraction of it in academic datasets is often single-turn (one single question -&gt; answer). One giant conversation forces the LLM into a new data distribution it hasn’t seen that much of during training.</blockquote><p>P.S. There could have been issues with cursor, as there is no major release version of cursor yet, but I am ruling that out.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6326524acc6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Musings of a 26 year old]]></title>
            <link>https://medium.com/@pulkitn1010/the-musings-of-a-26-year-old-9ad6a1f411be?source=rss-dd59c550ac07------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ad6a1f411be</guid>
            <dc:creator><![CDATA[Pulkit Nijhawan]]></dc:creator>
            <pubDate>Thu, 10 Oct 2024 15:03:33 GMT</pubDate>
            <atom:updated>2024-10-10T15:03:33.853Z</atom:updated>
            <content:encoded><![CDATA[<p>As I turn 26 tomorrow, I do not even know what it means to be a 26 year old. I remember crying reading the description of a teenage boy by Rabindranath Tagore in his story the Home Coming. I could relate it to so hard. Tagore wrote:</p><blockquote>In this world of human affairs there is no worse nuisance than a boy at the age of fourteen. He is neither ornamental, nor useful. It is impossible to shower affection on him as on a little boy; and he is always getting in the way. If he talks with a childish lisp he is called a baby, and if he answers in a grown-up way he is called impertinent. In fact any talk at all from him is resented. Then he is at the unattractive, growing age. He grows out of his clothes with indecent haste; his voice grows hoarse and breaks and quavers; his face grows suddenly angular and unsightly. It is easy to excuse the shortcomings of early childhood, but it is hard to tolerate even unavoidable lapses in a boy of fourteen. The lad himself becomes painfully self-conscious. When he talks with elderly people he is either unduly forward, or else so unduly shy that he appears ashamed of his very existence.</blockquote><p>I was 13 year old when I read this first and cannot believe it has been 13 years since then. I am unable to fathom what I was doing so many years in between. It was as if the world was in a big hurry and I just tagged along.</p><p>Is there any writing/literature that describes the state of a 26 year old so beautifully as Tagore described the state of a 14 year old, I wonder.</p><p>I think being a 26 year old is a weird feeling, eerily similar to that being a 14 year old. You want to do night outs and party but you understand that doing nothing the next day is too much price to pay for a party. Your friend group is shrinking and even when it meets it there are less energetic conversations. You find as much happiness in a light dosa and filter coffee as much as in burger. You have seen it all and yet you have seen so little. Your hairs resemble this dichotomy so well, mostly black but a few white strands have started to emerge.</p><p>I have still not figured what you want to do in life, maybe I never will, maybe life will be lived in phases of trying different things. But I eerily remember thinking at 13, I would have figured everything by 26.</p><p>Money has been a central part of life for the past 13 years either explicitly or implicitly through societal nudges. Choosing engineering, choosing internships in finance/trading and becoming a software engineer all decisions had an undertone of money. And even after earning fairly well, money still seems scarce and I want to chase money even more, even though I do not know what to do with that money. Maybe it resembles a deer(Mrig Hiran) chasing a smell in the jungle when the smell was coming from inside it all the while.</p><p>As i think back now, a seemingly strange thought is also starting to emerge, how will life look like when I am 39. How do I want it to look like ?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ad6a1f411be" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>