My approach to coding with LLMs puts human direction at the center: I talk through and shape a solution before code is written, prepare context, and guide and check the agent’s work. The human’s role can include coordinating multiple models, writing prompts, asking questions, and cross-checking results. This complements my broader views on human steering and specification and autonomous coding workflows.
I said an agent can do actual work over editing sessions with user steering, which is very different from one-shot regurgitating an implementation learned during training.
I asked @weissblitzz and @dreamworks2050: how much context did you gave it at startup?
I find it a more direct way to work to start with the extension of the existing test, since agents may otherwise try to test that everything is fine and end up building a massive test suite.
I argue that coding with an LLM should be mostly talking so that I can shape the solution, with code written only at the end, either by me or by the LLM.
I characterize Cursor and similar tools as code first, an anti pattern.
I announced a video about writing Redis VRANGE using AI, covering how I prepare the context and why the human in the loop is crucial to obtain good results: https://t.co/EI1ahPnehf.
When I use LLMs to write code in a human-in-the-loop way, I am the agent.
My human-in-the-loop coding practice includes using multiple LLMs in different web tabs, writing the best prompts, checking the code, asking the right questions, and cross-checking with another LLM.
I find that being good agents is not trivial, but very rewarding.
When I use autocoding, I find the experience very strange and unlike anything I had experienced in myself in the past.
I write big chunks of text to the LLM, and feel how every word I type conditions the agent’s work in one way or the other.
I say that every word reduces the error.