Adapting your development team to AI agents: where to start

AI agents can write code. What you need in place before that code reaches production safely: tests, verifiable tasks, human review, security checks and honest measurement.

AI agents can write code. For a business, that is no longer the interesting question. The interesting question is what has to be true before that code can go to production. The answer is not a tool. It is a way of working: tests, well-written tasks, human review and honest measurement.

What the public research says

Developers have adopted AI, and they don’t fully trust it.

  • In Stack Overflow’s 2025 survey, 84% of respondents use AI tools or plan to. Yet 46% distrust the accuracy of the output, against 33% who trust it. Their biggest single frustration, cited by 66%: answers that are “almost right, but not quite”.
  • Google’s 2025 DORA report, based on nearly 5,000 technology professionals, sums it up in one line: AI doesn’t fix a team, it amplifies what is already there. AI adoption is linked to higher throughput, but also to lower delivery stability, especially where automated testing, disciplined version control and fast feedback loops are missing.
  • In 2025, a randomised study by METR followed 16 experienced developers working on their own projects. With the AI tools of the time, they took 19% longer, while believing they had been 20% faster. METR has since flagged the result as out of date. The lesson still holds: how fast you feel is not a measurement.

In short, the gain is not automatic. It depends on what you build around the agents.

1. Make your codebase agent-ready

An agent does good work on code it can check by itself. Before you hand it anything, you need three things.

  • Automated tests on the parts that matter. Without them, the agent cannot tell whether it broke something, and neither can you.
  • One command that checks everything: tests, static analysis, build. If it passes, the change is ready for review. If it fails, the task goes back to the agent.
  • Written conventions in the repository: how the project is organised, how things are named, what must never be touched. What your team knows by heart, an agent cannot guess.

2. Break the work into verifiable tasks

“Improve the checkout page” is not a task. “Show shipping costs before the basket is confirmed, with a test that checks it” is.

A good task fits in a few lines:

  • the expected outcome, as the user sees it;
  • the scope: what changes, and what doesn’t;
  • how to check that it is done.

It is the same discipline as scoping a software project, on a smaller scale. Give an agent a clear task and it can deliver it. Give it a vague one and it will deliver something else.

3. Keep people at both ends

The pattern that works is simple: a person scopes, agents execute in parallel, a person reviews.

  • Scoping stays human. That is where you decide what is worth building.
  • Execution can go to several agents at once: front end, back end, SEO, security.
  • Review stays human. Every change is read before it reaches production.

Dropping review to go faster means shipping the “almost right” answers that developers complain about in the Stack Overflow survey.

4. Treat security as a step, not an option

In July 2025, Veracode published a test of more than 100 language models on 80 coding tasks: in 45% of cases, the generated code introduced a security flaw. That does not mean all generated code is dangerous. It means security does not come for free.

In practice, every delivery should go through:

  • static analysis of the code and its dependencies;
  • a check for secrets (keys, passwords) that have no business in the repository;
  • a review focused on access control and input validation.

If agents have already written part of your code, a code audit tells you where you stand. A code audit reviews the code and its configuration. It is not a penetration test.

5. Validate outside production, ship it yourself

Agents should not decide what goes live. The right flow:

  1. agents deliver to a test environment, separate from production;
  2. you test the journeys that matter to you;
  3. you decide when it goes to production.

You stay in control, and every step can be rolled back.

6. Measure instead of guessing

The METR study makes the point: you can feel faster while being slower. Measure before and after, with a few simple indicators:

  • time from request to production;
  • number of releases per month;
  • number of rollbacks and incidents.

On its own projects, Techspike observes on average 10 times more development delivered, and a 4-hour task cut to 5 to 10 minutes of execution, excluding scoping and review. These are observed averages that vary with the task, not guaranteed results. The detailed before / after shows how the figures are worked out.

Where to start

A realistic first week:

  • pick a project that already has tests, even partial ones;
  • write the repository’s conventions down in a file an agent can read;
  • give it three small, well-scoped tasks, and review everything;
  • record the time spent, before and after.

You will quickly see whether your code is ready, and what it is missing. If you would rather have help, Techspike prepares code, tests and deployments so that agents can work on them under control.

Sources

  1. Stack Overflow, 2025 Developer Survey, AI section
  2. Google Cloud, announcing the 2025 DORA State of AI-assisted Software Development report
  3. METR, Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity (July 2025)
  4. Veracode, 2025 GenAI Code Security Report, press release of 30 July 2025

Read next

← All articles