Working with agents
Once by the book.
Once where a check can say no.
An agent writes quickly and drifts quietly. Learn to turn an opinion about the code into a rule a check can enforce, to see what an agent actually reads before it acts, to split work so several agents never fight over one file, and to use all of it without letting your own judgment go soft.
Work in progress. Lessons and examples are still being refined.
Rules first, tools second. Examples use dependency-cruiser, git hooks, and recorded agent runs, but every idea here outlives the tool that demonstrates it.
The shape an agent is held to is an architecture decision. Meet those decisions in Architecture →
Ready articles Showing lessons that are ready to explore. Choose Drafting articles for works in progress, or All topics for the full catalog.
Enforcement
Rules the agent cannot argue with, and what each one catches.
Architecture as intent
State the shape you want, then check whether it still holds after the agent worked.
Using AI as a tool
Push into AI as far as it goes, and keep the discipline underneath it strong enough to notice when it is wrong.