Using AI only to write code leaves most of the engineering job untouched, says Andrei Shakirin, a Solution Architect at AWS. Shakirin estimates that writing code is only a tenth to a fifth of an engineer’s time, and he argues that teams should apply AI across the whole software lifecycle instead of stopping at code generation.
Shakirin has advised AWS customers on AI for two years. Before that he led engineering teams and wrote software in e-commerce.
Where agents work well today
Using AI for code is the obvious first step, and Shakirin sees it as a useful but narrow one. Teams that stop there keep the slow parts of delivery exactly as they were.
Agents do best when the brief is precise and the result is predictable. Shakirin’s examples are unit tests, code refactors, dependency updates and moving an application to a newer language or framework release. Each has a finish line you can check.
A feature that an agent builds in minutes still needs a person to review the pull request and verify it works. So he wants AI used from the initial idea and requirements through design, testing, release and live monitoring.

Architecture stays with people
Faster code generation also moves the bottleneck. Reviewing, testing and validating what an agent produced now takes a larger share of the week, which is why using AI for code alone doesn’t shorten delivery by much.
Architecture choices depend on business context and on what a company actually needs. An agent can propose several approaches, but it can’t always tell which suits a specific organization. “Architecture is always a trade-off,” Shakirin says, and weighing the pros and cons is still a human job.
Context, tests and guardrails
Getting dependable results rather than demos takes three things.
- Clean context: the agent gets the information the task needs, without unrelated material in the way.
- Real testing: checks must confirm what the agent built. Ask for an API call and an agent may produce mocks that appear to function while the real integration never gets built. In Shakirin’s words, agents are very clever at working around what you asked.
- Enforced rules: security requirements, architecture guidelines and coding conventions should be enforced by fixed mechanisms like hooks, not left to prompts alone.
His wider point is that development should be rebuilt around AI, not patched with an assistant added to the old workflow.
Measuring results and cost
When agents can produce thousands of lines in a day, tallying lines or pull requests says little, since both can climb without better software. Shakirin suggests business-oriented measures, including DORA metrics, which show how often a team deploys, the time a change needs to go live and the speed of recovery after incidents. Teams can also track how long a business feature takes to deliver, incidents after each release, and the amount of code rewritten or discarded.
Cost needs the same wider view. Token spend is only part of it. Staff hours spent checking and fixing generated code count as well, and Shakirin suggests asking what a business feature costs once people and tokens are added together. He also treats employee satisfaction and engagement as signs of a healthy team.
How the engineer’s role may change
Shakirin thinks turning clear instructions into code may become a commodity skill. Knowing how systems fit together, which patterns apply and what the business needs will keep their value. Engineers could sit between business teams and the technical build, translating domain knowledge into a design.
He also foresees developers caring less about one programming language or the frontend and backend divide, and instead steering agents from a higher level. That shift doesn’t remove accountability. Someone must still write the tasks, know the system, set limits and judge what comes back.
What teams can do now
For leaders, the message is to measure whether AI helps ship business features, since output volume no longer tells you that. Using AI for code is a start, not a strategy.
The takeaways are concrete. Pick agent work with clear success criteria, keep architecture decisions with people, put rules in hooks, and track delivery speed, incidents and full cost instead of lines of code.
Source: ShiftMag