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.

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.
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.
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.
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.

