How I work with AI agents from brief to result
From brief to result
I have a process I repeat over and over, from the moment I tell Claude what I want to the moment the thing is done and verified.
It starts with research, because before Claude builds anything, it checks whether something similar already exists in the project, in the docs or on the web. Then it proposes a plan, which I read and approve or send back, and only then does it build, checking along the way that things work. At the end, a critic reviews the result, and finally I try it out myself.
This cycle is called the agentic loop, in which the agent takes a step, looks at the result and decides the next step based on it. I step in at two points, the plan and the result.
Planning
What saves me the most time is that Claude doesn’t start writing right away, because first I want a plan that shows me the steps, what could go wrong and what the options are.
A plan is quick to read and cheap to fix. When I spot a bad step, I say “not that, try something else” and the fix takes a minute, whereas fixing a finished thing built on a bad foundation takes far longer.
Claude Code has a plan mode for this, which you turn on with /plan and in which Claude only reads and proposes without changing anything. A plain sentence works just as well, though, such as “Propose a plan first and don’t change anything.”
Subagents and the critic
Claude doesn’t handle bigger jobs alone but splits them between subagents, which are helper agents, each getting its own piece. They work in parallel and hand back only the result, and the main Claude then puts it all together.
Over the summer, I ran whole teams of specialised agents on big tasks, and although it worked, it ate through a lot of my usage limit. Today I’m more frugal and run subagents at medium effort, and only where the work genuinely splits.
One role stuck, though, and it’s the one that matters most to me, the critic, a subagent that only reads and reviews finished work. I used to bring in OpenAI’s Codex for a second opinion too, because a different model makes different mistakes and catches different things. Because of the cost of two subscriptions I don’t do that now, but connecting two or three models that review each other is one of my goals.
Context and memory
On its own, Claude doesn’t remember anything between conversations. So I build its memory out of three pieces: project rules in CLAUDE.md, an automatic memory Claude writes for itself, and working knowledge bases kept as plain text files in Git. I go into detail in My setup and My stack.
The second thing is context, the working memory of a single conversation, which is large but not infinite, and the fuller it gets, the more Claude loses track. That’s why I start a fresh conversation for every new topic, at the start of which Claude loads the rules and notes and picks up where we left off.
My rules
I learned a few rules from my own mistakes. They’re written down in CLAUDE.md, and some of them are enforced by hooks, which are automatic safeguards.
One change at a time. I never do three things in one step, because if something then breaks, I know right away where.
Done means proven. “It should work” isn’t enough; Claude has to show that it actually works by running it, opening the page or showing the result, and a hook enforces this.
Look it up before asking. If Claude can find the answer itself, it shouldn’t ask me, and a hook enforces this one too.
Fix the cause, not the symptom. When a page is slow, I don’t want to hear “I’ll try speeding it up here and there.” I want to know why it’s slow.
Back up before a big change. In Git, that’s one step, and if something goes wrong, I roll back.
Numbers only from a verified source. This applies mostly at work, as I describe below.
Verification and debugging
When something is done, I don’t trust it right away but test what happens if I enter nonsense, how it looks on a phone or what happens when data is missing.
When something doesn’t work, I approach it like a detective, so I look for where it seems suspicious, form a hypothesis and test it, and if it doesn’t hold, I move on to the next one. It’s slower than guessing, but it fixes the cause, not the symptom.
Once, for example, my website slowed down suspiciously, and since it looked fine at a glance, I had the performance measured in the browser’s dev tools. The page was running at about 11 frames per second (FPS) because an animation kept redrawing itself over and over, and once it was removed, the page jumped to 26 FPS. Without measuring, I wouldn’t have found the cause.
Why I insist on verification so much, and how I catch made-up answers, I cover in Watch out for.
AI at work
I don’t use AI just for this website; it also helps me in my corporate job with analysing customer inquiries, running calculations in Excel and preparing materials.
A hard rule applies there that every number has to come from a verified script, not from the model’s head, because a model can calculate convincingly but not always correctly. So I have it write a script that does the calculation, and I can then always trace a number back to its source.
At work, AI is connected to email and live Excel files through MCP, the standard for linking AI to other services. I build company agents in Microsoft Copilot Studio, Microsoft’s tool for building agents for businesses.
Keeping up with news
Things move fast in AI, so a month goes by quietly and then five announcements land at once, and I don’t want to work with six-month-old information and think it’s fresh.
I get news from many places. I read the official docs and changelogs, Reddit, newsletters and authors on X, watch YouTube, and I also keep my own archive of AI podcast transcripts, where Claude finds who talked about a topic and what they said when I need research.
For deeper research, I have Claude go through the web and write up a summary with sources, which I then open myself.
I also follow people from the Czech AI scene, and who they are and what I’ve learned from them is in Who I follow.
This process isn’t finished, and in 2026 I rebuilt it from the ground up, but the core stays the same, meaning a plan, small steps, memory, rules and verification. You don’t have to adopt all of it; try just planning before building, for example, and let me know how it went.