Ask HN: Do you "micro-manage" your agents?
Posted by xinbenlv 1 day ago
I’ve recently started integrating AI coding agents into my daily workflow (specifically when using Cursor Composer, Devin, Claude Code), and I’ve noticed a strange pattern in my behavior.
I treat the agent like the worst kind of micro-manager.
When I work with a human junior developer, I try to provide the "why" and the high-level architecture, then give them autonomy to solve the problem. If I stood over their shoulder dictating every variable name, commenting on every logic branch before it was finished, and constantly interrupting with "no, do it this way," they would (rightfully) quit within a week.
However, with the agent, I find that micro-management is actually the optimal strategy.
* I break tasks down into atomic units. * I review code block-by-block rather than feature-by-feature. * I constantly course-correct standard library choices or variable naming conventions in real-time.
And I felt that I am intruding the space of my agents while I should have just trust and let it build. It also sometimes break the seperation of tasks.
What makes me further unsettled is the kind of mental drain and internal conflict with what I have been trained in management.
So my question for you is
Do you micro-manage your agent?
or what's the best pratice?
Comments
Comment by muzani 3 hours ago
I treat it like a non-deterministic script. It does stuff. If the stuff does not result in the expected outcome, fix the script.
You have to observe it. If you were a developer and decided to write code that you never run because you're worried that you're micromanaging your code, that's negligent.
You manage it the same way you manage those little SWAT units in Door Kickers - there's a plan, let them follow the plan, then the plan goes to hell in 4 seconds, so you interrupt and fix it on the spot. Some people get a kick out of building ultimate foolproof blind plans. Yes, this is impressive. But the goal of the game is to win the levels.
Unlike a junior developer, it does not grow. I treat it unlike the way I would treat a human. It may be self-learning and stuff, but that's not the plan. The plan is to throw it out 6 months later, when Grok Supersonic comes along and forces completely new strategies.
Comment by johntash 18 hours ago
Basically just a bullet list of stuff like "- use httpx instead of requests" or "- http libraries already exist, we dont need to build a new one that shells out to /proc/tcp"
Just add stuff you find yourself correcting a lot. You may realize you have a set of coding conventions and you just need to document it in the repo and point to that.
Smaller project-specific lists like that have been better imo vs giant prompts. If I wouldn't expect a colleague to read a giant instruction doc, I'm not going to expect llms to do a good job of it either.
Comment by politelemon 1 day ago
Comment by xinbenlv 22 hours ago
Comment by sheepscreek 21 hours ago
Comment by hereme888 22 hours ago
Comment by raw_anon_1111 9 hours ago
But yes as a staff cloud architect who specializes in app dev, I very much treat AI as a junior developer who “learns” by my telling it to summarize discussions/preferences in markdown in the repo.
I do a phase approach when I use AI just like when I don’t where I test a little at the time. It gets too difficult to manage and explain otherwise.
Comment by hahahahhaah 13 hours ago