BLOGBuilding with agents

Agentic coding in an agency: how to set it up so the work is still yours

Agentic coding means AI coding agents plan, write and check code. How to pilot it in an agency in two weeks, so what comes back meets your standards.

A ring of lime squares with blue checkpoints and a solid block in the centre

Agentic coding is a way of building software where an AI agent does the work in steps. It reads the codebase, plans the change, edits the files, runs the tests, and fixes what fails. A developer directs it and reviews what comes back. The tools that do this are usually called AI coding agents.

That’s a long way from autocomplete. It’s also where a lot of agencies get stuck, because the first results look impressive and then don’t survive a code review. This is how I set it up in an agency so the work that comes back is yours, and how to pilot it in two weeks.

What agentic coding is

There are three ways developers use AI, and they get confused with each other.

  • Autocomplete. The tool suggests the next line as you type. Helpful, small.
  • Chat. You paste code into a chat window, ask a question, and paste the answer back.
  • Agents. You give the agent a task. It works inside the project, makes the change across several files, runs the checks, and comes back when it’s done or stuck.

The third is agentic coding. Anthropic describes agents as systems where the model directs its own process and tool use, and notes that coding agents can use test results as feedback. The developer’s job moves from typing to directing: writing a clear brief, checking the plan, and reviewing the result.

This post is the starting point. If you want the system I run day to day, with several models checking each other, that’s in agentic engineering.

What the evidence says

Developers are using AI, but they don’t trust it yet. In the Stack Overflow Developer Survey 2025, 84% were using or planning to use AI tools, yet more distrusted the accuracy of what they produce (46%) than trusted it (33%). Only 3% highly trusted it.

Stacked bar from the Stack Overflow Developer Survey 2025: 33% of developers trust the accuracy of AI tools, 46% distrust it. 84% are using or planning to use AI tools. Only 3% highly trust what it produces.
Source: Stack Overflow Developer Survey 2025.

The UK government ran its own coding assistant trial, with 2,500 licences across more than 50 public sector organisations from November 2024 to February 2025. People reported saving an average of 56 minutes a working day. Asked where, they reported 24 minutes on creating code or analysis, 21 on reviewing it, and 10 on learning. Those are self-reported and may overlap, but review was almost as large as writing. Copilot’s own data showed 15.8% of suggested code lines were accepted, and 39% of users said they committed code it suggested.

The UK government's coding assistant trial: 56 minutes a day saved on average, with reported savings of 24 minutes creating code or analysis, 21 reviewing and 10 learning, self-reported and possibly overlapping. 15.8% of suggested lines were accepted, 39% of users committed suggested code, 58% would not want to go back, 8% saw no significant saving.
Source: GOV.UK, AI coding assistant trial findings (12 September 2025). Savings are self-reported and may overlap.

That was a trial of coding assistants, not agents. My inference from it is simple: the time goes heavily on review, so a pilot should measure review and rework, and the set-up should make reviewing easy.

Why agencies struggle with it

A product company has one codebase and one way of doing things. An agency has dozens of clients, several frameworks, and standards that live in the heads of its senior developers.

So an agent turns up with no idea how you work. It writes code that runs, in a style nobody on your team would choose, with components you already have rebuilt from scratch. A senior developer can end up spending longer fixing it than writing it would have taken, and decides the whole thing is hype.

Expect that pushback, especially from developers. It’s normal, and it passes. In every agency there are one or two who are already ahead. Start with them.

The agent isn’t the problem. Nobody told it how your agency builds.

The set-up

This is what I set up inside the agencies I work with.

Write your standards where the agent reads them

Every project gets a plain file of instructions that the agent reads before it does anything. Claude Code reads a file called CLAUDE.md, and many other tools read AGENTS.md. Put in how you name things, which components to reuse, how you handle accessibility, what a finished piece of work looks like, and what it must never touch. A short example:

# Standards for this project
- Reuse components from /components. Never create a new button, card or form field.
- Name files in kebab-case. Name components in PascalCase.
- Every image needs alt text. Every form field needs a visible label.
- Colours and spacing come from the design tokens only.
- Done means: tests pass, types pass, it builds, and it works on a phone.
- Never touch: payment code, .env files, the live database, anything in /legacy.
- If unsure, stop and ask rather than guess.

Keep it short. Claude Code’s own guidance warns that if CLAUDE.md is too long, Claude ignores half of it.

An agent writes code that runs. Your standards make it code you’d ship.

This is the single thing that most changes the quality of what comes back. It also makes you write down things you’ve been meaning to document for years.

Work on real tickets, in small pieces

Agents are good at a clearly described change and poor at “build the website”. Break the work into the same tickets you’d give a developer, each with a clear definition of done.

Check each piece as it’s made

Each piece is built, then checked automatically: tests, type checks, linting, a production build. If anything fails, the agent fixes it before it moves on. Nothing is called done on the agent’s say-so.

Have a second model review it

Before the next piece starts, a model made by a different company reviews the change, and its findings are checked against the project’s tests before anyone acts on them. How I run that with several models is in agentic engineering.

Test like a real user

Automated scans miss a lot. So the last step is a check that clicks through the site the way a person would, on phones and desktops. It finds the button that doesn’t work on a small screen, the form that says “sent” when it didn’t, the menu that traps the keyboard.

Give it designs it can read

An agent can only match a design it can read properly. That means Pencil files or well-organised Figma, with real components and named layers, not a flat picture of a page.

Keep a person deciding what goes live

Agents work on a copy, never straight on the live site. Your people decide what goes live and own the result. That line doesn’t move.

Rules for client work

Before any of this touches a client project, agree the rules:

  • Which tools can see client code and data. Check the terms. Use business accounts, not personal ones.
  • What the agent can do on its own. Reading and editing files in a branch is fine. Deploying, deleting and anything involving money or credentials needs a person.
  • Where secrets live. Never in a prompt, a chat or a commit.
  • What you tell clients. Be straight about how you build. Clients don’t mind how the work gets made. They mind how good it is and how fast it arrives.

Not having them written down is how an agency ends up in an awkward conversation.

A two-week pilot

Don’t roll it out to the whole team. Pick one developer who is already curious, and one piece of work that matters but won’t sink you if it goes slowly. An internal tool or a small, well-defined client ticket is ideal.

Two-week pilot plan. Week one: day 1 pick the work, day 2 write the standards, day 3 set up the checks, day 4 rules for client work, day 5 first small ticket. Week two: days 6 to 7 three more tickets with second-model review, day 8 fix the standards, day 9 test like a user, day 10 decide and measure, then show the team.
Week one sets it up. Week two builds, fixes the standards and shows the team.

Use day 8 to turn whatever came back wrong in the first tickets into a line in the standards file, so the next ticket comes back better.

Then let that developer show the rest of the team what worked and what went wrong. They’re your AI champion. After that, the second project is quicker, because the standards and the checks already exist.

What to measure

Measure what matters to an agency: time from ticket to an approved change, how much the review sends back, and whether what ships meets your standards first time. Don’t count lines of code.

What changes for your developers

Your seniors spend more time on architecture, review and the judgement calls. Your juniors need a different kind of support, because reading and questioning code matters more when you didn’t write it yourself.

Code23 was 30 or more people at its busiest. Today a small senior team does that work with agents.

If you want this set up inside your agency, it’s what I do on the Lead plan. There’s more on how I work with web and development agencies, or you can send me a message.

QUICK ANSWERS

Questions
people ask.

What is agentic coding?

Agentic coding is a way of building software where an AI agent does the work in steps: it reads the codebase, plans the change, edits the files, runs the tests and fixes what fails, with a developer directing and reviewing. It is different from autocomplete, which only suggests the next few lines, and from chat, where you paste code back and forth.

What is the difference between agentic coding and vibe coding?

Vibe coding means accepting whatever the AI writes without reading it. Agentic coding done properly is the opposite: the agent works to written standards, every piece is checked automatically and reviewed, and a developer decides what goes live.

What is the difference between an AI agent and agentic AI?

Anthropic describes agents as systems where a model dynamically directs its own process and tool use, such as reading files, running tests or searching. Agentic AI is the general term for AI built to work like that. A coding agent is that kind of system pointed at a codebase. ChatGPT used as a chat window is not acting as an agent until it can work inside the project and run the checks.

Is agentic coding safe for client projects?

It is when it is set up properly. Agree which tools can touch client code and data, use business accounts, keep the agent working on a copy and away from live systems and credentials, and have a person approve every release.

How do I get started with agentic coding in an agency?

Pick one curious developer and one real piece of work that matters but won't sink you if it goes slowly. Spend the first week writing your standards where the agent reads them, setting up automatic checks and agreeing rules for client work. Spend the second week building a few tickets, fixing the standards from what went wrong, and showing the team.

Which tools are used for agentic coding?

The main AI coding agents are Claude Code and OpenAI's Codex, which run in a terminal or editor and can read files, run commands and make changes across a project. Editors such as Cursor run several companies' models. I use Claude Code and Codex, with review from a model made by a different company. The tools change fast, so the standards and checks matter more than the brand.

Does agentic coding work on WordPress or Shopify sites?

It works when the theme and code are in version control, the agent has a copy of the site to work on, and there are checks it can run. It works poorly when the job is mostly clicking in an admin panel, or where there's no safe copy to work on.

What should we measure in an agentic coding pilot?

In an agentic coding pilot, measure time from ticket to approved change, how much rework the review finds, and whether what ships meets your standards first time. Don't measure lines of code. Even in the UK government's coding assistant trial, only 15.8% of suggested lines were accepted.

Does my team need training to use coding agents?

A little, but less than you'd think. The bigger job is writing your standards down and setting up the checks. After that, the best training is a developer working on a real ticket with someone who has done it before.

Will agentic coding replace junior developers?

It changes what they need to learn. Reading, questioning and testing code matters more when you didn't write it yourself. Juniors still need a path to becoming seniors, so give them real tickets with agents and review their judgement, not just their output.

MORE NOTES