HNNewShowAskJobs
Built with Tanstack Start
Getting into Flow State with Agentic Coding(kau.sh)
50 points by vortex_ape a day ago | 27 comments
  • kevindamma day ago

    I disagree that you can reach what I would call a flow state with such a degree of non-participation but I entirely agree that planning first makes execution better, for both humans and agents.

    • qingcharlesa day ago |parent

      I can't reach flow with agent coding because as soon as I set it running I flip over to something else and come back later.

      I think this is a problem with the current agents, though. If it responded immediately with its ideas and code then I wouldn't flip away and could stay present.

      • panarkya day ago |parent

        >> non-participation

        > flip over to something else

        A flow state is possible with 100% focus at any level of abstraction.

        If you just "flip over" to HN while the agent thinks, then you're not 100% focused.

        But if you're managing three agents at the same time on the same codebase, and while Agent 2 is thinking you "flip over" to Agent 3, you're still fully participating, just at a higher level of abstraction.

        • Philpaxa day ago |parent

          I would like to believe this, but in practice, the context switch involves purging my mental working state, which drags me out of the flow state. I'm not sure how to solve this, but I imagine that the context I switch to should be as close as possible to the one I started with - the problem then is that the agents might trample over each other.

        • TZubiria day ago |parent

          Right, same deal as if you were running multiple requests over the network, you need to parallelize them instead of idling while you wait for the network to complete.

      • a day ago |parent
        [deleted]
      • mrtesthaha day ago |parent

        [flagged]

        • tomhowa day ago |parent

          Please avoid swipes like this in comments on HN.

          https://news.ycombinator.com/newsguidelines.html

        • qingcharlesa day ago |parent

          The agent is stuck doing something for multiple minutes. Am I supposed to just watch a spinner? ┐(´ー`)┌

    • williamcottona day ago |parent

      Perhaps you don’t reach a flow state but why assume your experiences are the same as others?

      • kevindamma day ago |parent

        It's a matter of definition, a flow state is hitting peak performance without attending to the details of your actions, fluidly and without delays, at a task that in any normal situation would be considered complex and difficult.

        If you know the feeling from performance or from trance-like coding sessions, there's no mapping of that to the use of agents as described in this article. It's not that I don't achieve it, it's that using agents doesn't have the depth of technique or immediacy of reaction needed to be worthy of anyone reaching a proper flow state with it.

        I feel like we've already corrupted the meaning of vibe now, do we have to corrupt the meaning of flow state too?

        • bicxa day ago |parent

          I think it’s just different than flow state you experience with traditional coding. I agree that if you’re just entering a single prompt at a time and waiting for it to finish, there’s no way you can enter flow state. However, if you are orchestrating multiple agents and using spare mental bandwidth to debug and plan next steps, then you have the ingredients for flow state. It’s a continual flow of strategizing, evaluating, going in deep to manually handle a hard issue, and then returning to high-level thinking.

          I’m 16 years into my career, build some fairly complex production systems, and definitely enjoyed flow state in normal coding. I’m still figuring out a rhythm with Claude Code, but flow state is certainly achievable.

        • williamcottona day ago |parent

          I know the feeling from hours long guitar jam sessions. I have definitely gotten there with some recent projects using Claude Code.

          • kevindamma day ago |parent

            Would you mind sharing an example project?

            • williamcottona day ago |parent

              I was harassed the last time I shared something, but oh well, here is a work in progress DSL:

              https://github.com/williamcotton/webpipe

              And a work in progress article about it:

              https://williamcotton.com/articles/introducing-web-pipe

              • kevindamma day ago |parent

                I'm just curious, I don't intend to harass anyone. Are you considering including the prompts in the published article?

                • williamcottona day ago |parent

                  I was thinking I would do a writeup about the development process in another article and including prompts seems likely in that case.

    • a day ago |parent
      [deleted]
  • semessiera day ago

    separate contexts for dev/test case development/documentation?

  • a day ago
    [deleted]
  • snambia day ago

    Looks like he generated a lot of code and dumped it somewhere.

  • satisficea day ago

    Unless a tester reports about this, I can’t consider trusting this. People produce bad work in flow states, as easily as good work.

    Doe-eyed self-reporting is not credible.

    • physixa day ago |parent

      I like the planning bit, though.

  • godelskia day ago

    I don't think I'll ever be able to enter a flow state with Coding Agents. It just doesn't fit my flow.

    To give a relatable analogy, it's like how it's hard to hit a flow when working with compiled languages and where you're far enough you have to start compiling. If it is a fast compile, there's no time to get into the state (think like when you're a dumb junior print statement debugging C++ code as your only weapon). If it is long and for some reason you can't do incremental building then you might be able to do something like reviewing other areas, reading docs, writing docs, working on the call graph structure, or something else. Usually I can stay in flow here (but never when print statement debugging!). The medium time might be the worst. Sometimes there's a magic sweet spot but too often it makes distractions easy. You know you don't have enough time to do anything serious but it's too much time to just watch.

    The extra burden I have with the LLMs is that it's kinda like working with someone but not. Working with a person we can formulate the design and get a good understanding of what things should look like, we start planning for edge cases and challenge ourselves to make sure we have the right model. We then go program our parts, meet back up, and debrief. Things will change but it'll have a similar structure. When this happens we both have a fairly good understanding of everything. But with the LLM, I have to be extra vigilant. It will lie to me, it makes mistakes that are difficult to find or notice (just because it compiles and just because it runs doesn't mean it's right... only very junior programmers think that), and most importantly, it doesn't have a good model of the program.

    I expect a lot of people will push back on that last one. You can give it all the lines of code, you can even talk to it and explain, but it still won't get that good world model. FFS we program because natural language is so messy[0]. It's not trying to interpret what I mean, finding out what I want, but just follows directions. It doesn't innovate on its own (though it can draw from some similar sources [1]). Like the terminal, it doesn't second guess and just goes along with it. Worse, it does do cheery faced, praising you all along the way while it lies about what it did. If a human did that we'd call them evil. I won't call them evil because a machine is a machine, it has no desires and isn't intending to lie.

    They work fine for small stuff, Repetitive things, or even when you're rapid testing, but that's a very small portion of coding. I can't rely on it to do anything serious. But many of these things can be handled in other ways. Is the repetitive work? You're a programmer, anything repetitive can be resolved with classic automation.

    Worst of all, agents take away the most enjoyable part of coding and leave me with the worst part. I'd rather debug my code than someone else's. Debugging my own code is not fun, debugging a junior's code is exhausting

    [0] https://www.cs.utexas.edu/~EWD/transcriptions/EWD06xx/EWD667...

    [1] That is not so much the impressiveness of the machine but more the lack of impressiveness of myself

  • runnr_aza day ago

    Just keep pulling the slot machine

  • aswegs8a day ago

    Will this be the way of working for the next 10x engineers? Or will all of this be available for more inexperienced developers? Anything seems possible at this point.

  • 000ooo000a day ago

    None of this stuff is remotely impressive from an engineering perspective. You pay a service to provide code for you. That's existed for a while now.

    s/(agentic|llm|vibe) coding/outsourcing/g