You can hand an AI coding agent small, clearly described jobs in a client’s code, like fixing a bug or writing a missing test. An AI coding agent is a program that reads a task written in plain words and changes the code on its own. It edits the files in the client’s code repository, which is where a project’s code and its history live. Then it runs the project’s tests and proposes the finished change.

That proposal comes as a pull request. A pull request is a set of changes on a separate copy of the code, called a branch. Someone reads the changes and approves them before they get merged, which means added to the main code. At an agency, one of your engineers reviews the pull request before the client ever sees it. Your engineer still talks to the client and checks the code. They also decide what gets merged.

Which client tasks can you hand to an agent?

An agent needs a clear goal. Start with work where you can state what the finished change must do and how you’ll check it. A bug report with the steps to reproduce the bug tells the agent where to look and what should happen instead. A vague request like “Improve the checkout” leaves the agent guessing.

Good first tasks:

  • A bug fix, with the steps that make the bug appear
  • New or updated tests for code that has few tests or none
  • A small feature where you can say clearly when it’s done
  • An upgrade of a framework or another dependency to a known version, for example from Laravel 11 to Laravel 12. A dependency is code written by someone else that the project builds on.
  • A refactor of one named part of the code. Refactoring means restructuring code without changing what it does.

Some decisions should stay with the engineer who knows the client. One is the architecture, which is how the software is built as a whole. Another is any part of the product where the client hasn’t said clearly yet what they want.

How do you run an agent task in a client repository?

Treat a change from an agent the same way you’d treat a change from a new developer on your team. Follow these steps:

  1. Ask the client to approve the tool and the connection to their repository. Many contracts and security policies say where client code is allowed to go.
  2. Give the agent access to that one repository and nothing else. The next section explains how.
  3. Write a task brief. Describe what the code does now and what it should do instead. Add any limits the agent must follow. If the repository doesn’t make it obvious how to build the project and run its tests, include those commands.
  4. Let the agent work on its own branch. It should never touch the client’s main branch.
  5. Review the pull request. Read its description and the diff, which is the line-by-line view of what changed. Run the tests and check any code that touches security yourself.
  6. Merge the change and deploy it, which means putting it live, through the client’s normal process.

A task brief can be this short:

The contact form on /contact accepts an empty email field and then fails with a 500 error.
Expected: the form shows "Please enter your email address" and doesn't submit.
Only change the contact form code in app/Http/Controllers/ContactController.php and its view.
Add a test for the empty email case. Run: php artisan test

Passing tests only prove that the code does what the tests check. The person reviewing the pull request still needs to compare it with what the client asked for.

How do you give an agent access to a client’s code?

Before the first task, agree with the client on three things:

  • Which repositories the agent can open
  • Which credentials it gets, meaning login details or keys
  • Who approves the final change

GitHub is a service where many companies keep their code. Most agents connect to it through a GitHub App. A GitHub App is an add-on that the owner of a GitHub organization installs. During setup, the owner chooses which repositories the app can reach and what it’s allowed to do there. The app can’t reach anything else.

When the code sits in the client’s own GitHub organization, someone with owner rights at the client installs the app. They should choose “Only select repositories” and pick only the repositories you work on. The client can remove the app at any time in their GitHub settings.

You also need to check two other things. The first is secrets, like passwords and API keys. An API key lets one program use another service. Never paste secrets into the text of a task. Some tools, like OpenAI’s Codex Cloud, let you store secrets in the setup the agent works in. Others, like Vroni, the AI coding agent, don’t take secrets at all.

The second is automation on pull requests. GitHub Actions is GitHub’s built-in system that runs scripts when something happens in a repository, like when someone opens a pull request. Agents that run inside GitHub Actions can be risky. Anthropic’s security notes for the Claude Code GitHub Action warn against loading the code of a pull request from someone you don’t trust before the action runs. Each action is set up in a workflow file. Before you turn one on in a client repository, open that file and check what starts the action and what it’s allowed to do.

If you work for several clients, keep their code apart inside the agent tool. Check whether the tool lets you choose which people see which repository. That way, a developer you invite for one client can’t see another client’s code.

Which AI coding agents fit agency work?

Start by checking where the client keeps its code. Some of these tools work only with GitHub. GitLab Duo works only in GitLab, which is another service for storing code.

Tool How a task runs Where code can live Price Limits to know
GitHub Copilot in the cloud You give Copilot a task on GitHub. It works in the background and runs the tests. Then it opens a pull request. GitHub Pro $10 a month, Pro+ $39, Business $19 per user, Enterprise $39 per user. Usage is paid in GitHub AI Credits, and each plan includes some. When Copilot runs on GitHub Actions, a session works in one repository and opens one pull request per task. The session stops after 59 minutes. In a cloud sandbox, a session can work across several repositories of the same organization.
OpenAI Codex Cloud Codex runs each task on its own computer in the cloud. That computer is set up from an environment you prepare. You check the changes, then save them to the repository or open a pull request. GitHub or GitLab Included in ChatGPT Plus ($20 a month), Pro (from $100) and Business ($20 per user a month billed yearly, $25 billed monthly). If a project needs extra tools or services, you have to add them to the environment first. A task in the cloud uses up more of your plan’s allowance than a task on your own computer.
Claude Code GitHub Action Someone mentions @claude in an issue or pull request, or a workflow file starts Claude on its own. Claude works inside GitHub Actions and saves its changes as commits. GitHub You pay for GitHub Actions minutes and for Claude API usage. Or you use a Claude subscription: Pro $20 a month, Max $100, Team $25 per standard seat billed monthly. You add a workflow file and an API key or token as a secret to the client’s repository. You set up the security rules yourself.
GitLab Duo Agent Platform GitLab has ready-made agent tasks, called flows, that run inside GitLab. The Developer Flow takes an issue and turns it into a merge request, which is GitLab’s name for a pull request. GitLab You pay in GitLab Credits, which cost $1 each. Premium costs $29 per user a month, billed yearly, and includes $8 in credits per user. Only for code in GitLab. Which flows you get depends on the client’s GitLab plan and version.
Devin by Cognition You send Devin a task from the Devin app or from Slack. Devin also takes tasks from Linear and Jira. It works on them in Devin Cloud. GitHub, GitLab or Bitbucket Pro $20 a month, Max $200, Teams $80 a month for up to 100 users. Each plan has a daily and a weekly allowance. When you’ve used it up, you buy extra usage. A private cloud setup is only available on the Enterprise plan.
Vroni, the AI coding agent You give Vroni a task in its dashboard or as a GitHub issue. Vroni plans the change and writes the code. Then it runs the project’s checks and fixes what fails. At the end it opens a pull request on its own branch. GitHub Solo $299 a month with 2 hours of work. Team $1,199 a month with 10 hours. The Team plan has unlimited users and API access. You pay for each minute Vroni works, and time in the queue is free. GitHub only. Vroni doesn’t take secrets or environment variables, and it can’t use packages from private registries. There are no database servers and no Docker. Vroni can’t edit GitHub Actions workflow files.

The prices come from each vendor’s pricing page in November 2026.

Which tool fits:

  • If the client already pays for GitHub Copilot Business or Enterprise, Copilot in the cloud is the shortest path. It runs in the client’s own GitHub account, and the client’s GitHub bill covers it.
  • If your team already pays for ChatGPT or Claude, Codex Cloud and the Claude Code GitHub Action work with those plans.
  • If you want to hand off a task and only look at the finished pull request, Vroni has settings built for agency work. Its agency guide describes them. One is pull request approval. When you switch it on, Vroni first shows its change to someone at your agency, and the pull request only opens for the client after that person checks it. Another is task approval. When it’s on, a new task waits until someone you’ve made an approver agrees to it, so no task spends credits without anyone knowing. On the Team plan, you choose which repositories each person you invite can see. In the list of runs, you can see how many credits each client’s repository used. Vroni never merges or deploys a change, and it never pushes to the main branch.

Do AI coding agents save time?

Before you plan a client budget around an agent, look at what research says about time savings. So far, the research doesn’t give you a reliable number to plan with.

In 2025, the research group METR ran a randomized trial with 16 experienced open-source developers working on 246 tasks in repositories they knew well. For each task, chance decided whether they were allowed to use AI tools. When they used AI tools from early 2025, they took 19% longer. In February 2026, METR published a follow-up with 57 developers that suggested developers were now faster with AI. Still, METR calls that data “very weak evidence”, because many developers didn’t submit tasks they no longer wanted to do without AI.

DORA is Google Cloud’s yearly research program on software delivery, which is how companies get code changes live. Its 2024 report linked each 25% rise in AI adoption to an estimated 1.5% drop in delivery throughput, meaning how many changes get delivered. It linked the same rise to a 7.2% drop in delivery stability, meaning how often changes go live without problems. The 2025 report found that more AI adoption now goes along with higher throughput, though it is still linked to less stable delivery.

For an agency, the number that counts is how long it takes until a change is accepted. That’s the time from writing the brief until the change is merged, including review and any rework.

How do you test an agent before using it for clients?

Before you use an agent for clients, try it in a pilot, which is a short trial run. Use one of your own repositories or one client’s repository. Pick a few kinds of tasks that your engineers can judge in the same way.

For each task, write down:

  • How long it took to write the brief
  • How long it took until a pull request was ready for review
  • How long the review took, including fixes and test runs
  • The result. Was the change accepted as it was or with small edits? Did it need major rework, or was it rejected?
  • Any bug that showed up after the merge

Then compare these numbers with similar tasks that engineers did without an agent. Those engineers should know the repository as well as the ones in the pilot.