MHN

Ask HN: How do you get into a flow state when using AI to code?

98 points by kilroy123·172 days ago·Show in HN

Before agentic coding, I always prided myself on how long I could work in a flow state. I was really good at working deeply.

Now, with slow agents like Claude, I find myself no longer working deeply.

What are you all doing to stay focused?

Add a comment on Hacker News →
2 of 124 comments
  1. For me the flow state has always come from a sensation of creative juices spawning ideas, a vision for an end result, and the deep focus that ensues in working towards that.

    Such a cycle previously could take hours or days, resulting in long, deep flow states. But now I go through dozens such cycles a day.

    So less of a single flow state, more so many short flow states. As for waiting, that’s when you can explore another idea in parallel. Double the flow states for me :)

  2. My current solution to this is to write more text. I guess I'm more in product design now. Instead of code I write documents with significantly less structure. I write something, ask the AI to find angles / decisions I missed and frame them as a long list of questions, and then I answer those questions. I iterate that until the AI can't find any more design decisions I need to make and starts generating. At that point I can turn to a different feature or project.

    It's pretty exhausting to be honest. In the past I didn't have to know how the entire app was supposed to work. I would plan a bit, then code for a long time, test, plan some more. Sometimes I would get lost in some (enjoyable) architecture nonsense.

    Now I just read and write regular text. Instead of exceptions I'm avoiding misunderstandings. It can almost feel like a flow state, so I have some hope that it'll turn into that once I get more used to it.