My three jobs when I build with AI

When I use AI to solve a problem, my own work basically comes down to three main jobs. Before there is a plan, I let the model run free to exhaust all of its potential. Once there is a plan, I hold the model to it, counteracting focus drift. Also during the build, I push it past its own unwarranted caution.
My most recent big coding project was the simulation suite dome-sim that I developed for my Honors Thesis called "Modeling alpha-induced air-fluorescence measurements from the alpha decay to the measured photon count" as a physics bachelor student in the field of atomic, molecular, and optical physics (AMO). It can be found under the DOI: 10.5281/zenodo.23509426.
1. Before the plan: let it run
Models get more capable by the month. So my first job is to not over-prompt at the start. At the beginning of a project I give the model as much room as possible, so that it comes up with the widest range of solutions, including the wild ones.
For brainstorming, I send the same kick-off prompt to five fresh chats. It contains some project context, my goal, and the non-negotiable constraints. The cool thing about large language models is that identical prompts do not produce identical answers, so the five chats come back with several distinct solution paths. I want at least three.
If the chats keep producing new paths, I open more of them with the same prompt until I only get repeating solution paths.
Then I start one last fresh thread and give it more context, including everything I brainstormed on my own. That leaves me with several solution plans from the model, plus my own ideas. In my experience, the plan that gets implemented is a mixture of them all.
To evaluate them, each thread writes its complete solution plan into an .md document. These documents go into a new thread that I call the "strategy thread". There, the model compares all plans on output quality, viability, and elegance, and proposes a comprehensive implementation plan.
Then we argue. I love to play devil's advocate and attack the plan from every possible angle, and the model tries to defend it. Usually we adapt a couple of steps. What comes out is the final implementation plan. From then on the plan is fixed, and every later deviation has to be argued and logged.
2. After the plan: hold the line
A model that runs freely still loses focus quickly. So once the plan exists, my second job is to keep pulling the focus back to the task at hand.
To help me with this, the strategy thread's last job is to split the road map into chunks that a single thread can handle. This is the last step where I let the model run freely. With proper prompting, every model I have used so far did a good job of not overestimating what fits into one chunk.
Each chunk of work is done by a dual AI team: a "companion thread" and an agentic "coding thread". The companion thread continues the strategy thread's work one level deeper, looking only at the task at hand. It does the understanding portion of the work and records new decisions, after arguing them out with me. These threads are a constant discussion between me as the devil's advocate and the model. They are my main lever for keeping the project on track.
The companion thread also steers the coding thread. It writes the prompts for the coding agent and reviews its work together with me. The coding agent goes one level deeper still, compared to the companion thread. The coding agent only executes the final implementation plan and finalized decisions in code. When it runs into a wall, it reports back to the companion thread and me.
I found that separating decision making from execution helps the models keep focus. This way, every thread has one predefined task, and none has to shift its focus back and forth between jobs.
By now, I have a small template package for this "dual workflow with a human in the loop", so the setup is automated. A setup thread runs before the implementation phase can really start. It connects to the right GitHub repository and my local folders, sets up Git and the README.md files, and creates the three documents that carry the implementation phase:
- TASKS.md holds the project road map, divided into chunks, so every thread sees its task in the context of the whole project.
- STATUS.md tells each new companion thread where the last one stopped.
- decision_log.md holds every deviation from the original plan and every implementation decision, each with its reason.
The reasons logged in decision_log.md make single decisions much easier to trace later, when we troubleshoot and streamline the code base.
System prompts and project instructions are the other tool I rely on for high-quality results. I have spent a lot of time refining my templates, and I still add a few lines whenever I find a new failure mode that the instructions can prevent. I started really curating these master prompts when I noticed that the output quality of AI models differs a lot depending on these instructions. I think master prompts as a concept hold much untapped potential.
3. During the build: push past unwarranted caution
In my experience, AI models see many possible outcomes of a decision. However, on their own, they still struggle to assign accurate probabilities to them. As a result, they hesitate or hedge around the direct route in anticipation of a problem that may never occur. My third job is therefore to push my threads to commit wherever that is needed, so that decision_log.md and my backlog do not grow uncontrollably.
YC Labs published an experiment in October 2026 that illustrates this well. Together with Olam Labs, they put fifty GPT-6.1 Sol agents into a Minecraft world for three hours, so roughly nine Minecraft days. The agents had one instruction: build a thriving civilization.
Of 34 agent deaths, 22 came during the first night, although dying cost an agent nothing but its gear. From then on, the colony played it safe: fewer risky tasks, and more time inside shelters. When a food delivery went wrong, the agents ran an inquiry and wrote a protocol for handing over rations. In summary, every time something went wrong, the agents decided to make a new rule that everyone followed from that point on. In turn, every new rule made the next risk look bigger than it actually was. In the end, the agents were paralyzed by their fear. They would just mostly sit idle in a closed shelter and ration scarce food. As a result, the civilization never took off. The authors describe this behavior as "compounding caution". (Source: YC Labs, Agents in Games.)
I see the same behavior in my own projects. If coding agents are left too autonomous and unsupervised, the backlog and the to-do list grow faster than the code base itself, to exaggerate a little. Therefore, I have to review every decision and every rule before it takes effect. I decline whatever would hold the project up in the long run. In those cases I force the agent to just take the plunge into the cold water and solve the problem.
The dual AI team helps here as well. I noticed that a coding agent does better work in the long run when it can raise its concerns with a companion thread and gets a well-researched solution back, compared to dealing with the problem inside the coding thread. I could go deeper into AI-psychology here, but this probably should go into another post. Here I just want to focus on reporting my findings from working with AI.
The hard part is finding the middle ground between what to approve and where to push. My feel for this has improved a lot, but it remains one of the hardest things I have to do to use AI effectively. Knowing the project plan inside out, including the reasons behind each step, helps. The rest is pattern recognition, making mistakes, and learning from them. The good news is that with Git, I can always roll back to a previous version if something goes down a dead end.
Do you also build software with AI? Does my routine resemble yours, or do you work differently? I would love to connect and compare notes.