How I work with coding agents
How I hand work to coding agents, keep them on track, and check what they produce before it reaches production.
I use coding agents every day: GitHub Copilot at work, where our enterprise code lives on GitHub, and Claude Code on my own projects.
Handing work to agents
I bring agents in at the planning stage, but I don’t hand them a long prose plan. Plans written in markdown drift; the agent reads them loosely and the result wanders. Instead I give them code to work against. Our environment is highly connected, so that usually means interfaces and stubs defined by the systems a change has to integrate with, integration tests for those boundaries, and the packages third-party vendors publish. The target is precise, and any deviation shows up as a diff.
Each agent gets one narrowly scoped task, and I review as the work progresses, not only at the end.
Orchestrators
At Hatch we built orchestrators around two paths. For a bug, the agent has to reproduce the issue and analyse the cause before it proposes a fix, drawing on our existing skills and knowledge base. For a new feature, it has to ship regression tests with the change.
An example
A user reported that content they had access to wasn’t showing up. An agent picked the bug up from the board, reproduced it by following our documented process, and compared the actual API responses against what the app expected. It traced the cause to the data-loading logic: a restriction flag on some records was overriding the user’s own permissions, hiding records they were entitled to see.
The agent didn’t guess at a fix; it proved the cause first. The fix then went through the normal path: a small isolated PR, CI tests, and review.
How the output gets checked
CI gates run the unit test suite on every change, so a new feature can’t quietly break an old one. A modified git-flow branching model keeps each PR isolated and small, which makes it easy to put through QA, code review and user acceptance testing. I personally review every PR that touches a production-critical system.
Connected to how the team already works
Agents can pick up a bug or user story directly from an Azure DevOps board, work on it, and link the resulting PRs and commits back to the work item, so their work shows up in the same tracking and velocity reports as everyone else’s.
Guardrails
Agents work under the same rules as any developer: secrets live in key vaults, deployed environments sit on isolated private networks, and data is kept in separate environments by sensitivity tier.
Making it repeatable
As a GitHub Enterprise administrator I publish reusable workflows and agents tailored to our environment, so other developers get the right context and a scaffolded agent for common tasks instead of starting from scratch.
What it’s been used for
Across our environment, agents have changed how much we get through and how quickly it reaches users:
- More stories delivered. Agents take on well-scoped stories in parallel with the team, so we close more of the backlog each sprint, and because their PRs link back to the board, that shows up in our velocity tracking.
- Faster time to ship new features. A newly proposed feature can move from idea to a working, regression-tested PR much sooner, because the agent starts from the interfaces and tests that define it rather than a blank page.
- Faster fixes for production bugs. When a user reports a bug, an agent can pick it up, reproduce it and trace the cause straight away, so the time from report to a reviewed fix in production has come down.
- Modernizing older applications. Moving applications off older .NET Framework versions, and rewriting others outright where that made more sense.
- Leaner frontends. Cutting bloated bundle sizes in our web apps.