Scott Tompkins

AI-Assisted Engineering

Where coding agents fall short, the four practices I use in response, and the tools involved.

I do not hand four kinds of work to a coding agent, which is a large language model that writes and edits code under direction.

The first is architecture. Those decisions depend on organizational context, business constraints and a judgment about what counts as good enough, and the model has access to none of them. The second is gathering requirements. Where a requirement is vague the model does not ask a clarifying question. It fills the gap with an assumption that sounds confident. The third is reasoning across a large codebase, where distant parts of a system interact. That still needs a person driving. The fourth is designing a new algorithm. A model implements known patterns well and struggles when the problem has no known pattern.

I have worked this way since around mid-2023. The practices below are my response to those limits.

Four practices that answer the limits

I own the architecture and the requirements, and the model implements. Models are unreliable where a decision needs unwritten context or business judgment. They are good at turning a clear specification into working code, so that is the part I hand over.

Before the model sees a prompt I write a user story: the background, the challenges I can foresee and explicit acceptance criteria. If I cannot describe “done” precisely enough for the model to verify it, the requirement is not ready to delegate.

The model writes tests before it writes the implementation. A model can only hold so much conversation at once, called its context window, and a constraint stated in an early prompt fades as the window fills. A test holds the requirement in a form that runs. When the model forgets the constraint, the test still enforces it.

I review every output the way I would review a pull request from a capable junior developer. Unreviewed output collects small faults that each look trivial and together wear down a codebase.

Tools, and how far they can reach

The model I use for code generation, reasoning and review is Claude, from Anthropic. Cursor was the editor I ran agents in, with inline editing, context across several files and terminal access. I have stopped using it.

The Model Context Protocol (MCP) connects the model to development tools such as documentation, APIs, test runners and build systems. With it the model works inside the real environment and not in a vacuum. I scope it by least privilege, meaning the model gets the tools and access the task in front of it needs and nothing else. That prevents an accidental write to the wrong system and limits the damage when the model invents an action.

In 2026 I started experimenting, on my own time, with CrewAI, a framework for orchestrating several agents. Each agent has one concern: product manager, analyst, adversarial tester, coder and scribe. It is the same split between owner and builder, extended to a team. The experiment targets an ERPNext implementation and is not shipped production work.

Work built this way

At Decian I was the lead and the only experienced engineer, while also setting up an engineering practice the company had not had and mentoring a small team. I used this method there on the Mission Control portal, on the billing reconciliation pipeline, where the logic for correlating two systems was specified in tests before it was implemented, and on the pipeline observability dashboards. This site and my résumé generator were built the same way.

The method page has the full account, including what each practice costs in time. Two earlier notes, Agentic X and Agentic Coding and Product Discipline, cover the thinking behind it. The languages I write alongside agents are on the Software Engineering page.