AI agents
Coding agents in a team: how software is built and reviewed with agents
Coding agents write and change program code within fixed limits, and people remain responsible for the result. For this to work in a team, four things are needed: clearly limited rights per agent and project, automated tests for every change, a review of the actual code instead of a summary, and human approval before anything goes into operation. In this article we describe what this path looks like and why building and reviewing should stay separate.
On this page
What does a coding agent do in a team's daily work?
A coding agent is an AI agent that works on tasks in a code project: it reads existing code, proposes changes, writes tests, runs commands and explains what it has done. It works in a workspace defined by the team and with the tools enabled there.
Typical tasks are small functions based on a clear description, adjusting tests, tidying code according to fixed rules or a first analysis of why an error occurs. Larger decisions, for example on architecture or on handling customer data, stay with the team.
We use AI ourselves for drafting, developing and reviewing. Important decisions stay tied to the agreed approvals. We describe how we work under About us.
Why should building and reviewing be separate?
Whoever writes a change easily overlooks their own assumptions. This applies to people and to agents. That is why we separate the role that builds a change from the role that reviews it. This can be a second agent with its own task, an automated check or a person in the team; in any case, the same run that built the change does not review it.
The NIST Secure Software Development Framework describes two practices for this that apply without AI as well: review or analyse human-readable code to identify vulnerabilities, and test executable code to identify vulnerabilities and verify compliance with security requirements. A coding agent does not change these practices; if anything, it makes them more important, because more code is produced in less time.
- Describe the task: goal, affected files, expected behaviour and how it is tested.
- The agent builds the change in its own branch, never directly in the main branch.
- Automated tests and checks run for every change.
- A second role reviews the actual diff, not just the agent's summary.
- A responsible person approves the merge and later the path into operation.
Which rights should a coding agent have?
As few as possible. The OWASP project for the security of language model applications lists excessive agency as a risk of its own: too many functions, too far-reaching permissions and too much autonomy can lead to damaging actions following unexpected or manipulated outputs.
- Access only to the project the agent works on, not to all repositories.
- No credentials for production and no secrets in the workspace.
- Write access only to its own branches; the main branch is protected and requires a review.
- Network access and commands limited to what the task needs.
Another danger is prompt injection: instructions hidden in files, tickets or web pages that try to make the agent take unwanted steps. OWASP lists it first. That is why we treat content from external sources as data rather than as an order, and why approval stays with people.
What does a good review of agent code look like?
The review takes place on the diff, meaning the lines that were actually changed. A summary from the agent helps to understand the purpose, but it does not replace looking at the code. We check the same points as for any other change: does the code do what is described, are error cases handled, do tests and code match, and are new dependencies needed and trustworthy.
For changes in sensitive places, such as login, permissions or database migrations, the project protection requires a review by a responsible person. Such rules work when they are set up technically as branch protection and do not exist only on paper.
How does a team introduce coding agents?
We start with rules, not with tools. The team defines which tasks agents may take on, which projects they see, which checks every change goes through and who approves. After that we set up the workspaces, project access and automated checks and support the rollout with training for each role.
The path into operation matters as well. An automated deployment pipeline ensures that only reviewed code with passing tests is delivered and that every delivery remains traceable. The agent itself has no access to this last step; approval lies with the team.
After the first weeks, a joint review is worthwhile: which tasks did agents prepare well, where did reviews have to correct a lot, and which rules were too narrow or too broad? From these answers the team adjusts task descriptions, rights and review steps. This keeps the use of agents a conscious decision of the team rather than a state that expands unnoticed.
What this means for your project
If your team wants to use coding agents, first clarify rights, review paths and approvals. Only then is it worth choosing a tool. An agent with narrow rights, fixed tests and a review by a second role is easier to control than an agent that may do everything.
With coding agents for teams we set up rules, project access and checks for your development team and support the rollout with training for each role. For individuals or small teams there is the AI workstation with terminal and agents, and for ways of working in a team there are workshops.
Sources
- NIST SP 800-218, Secure Software Development Framework (SSDF) Version 1.1, February 2022, National Institute of Standards and Technology, retrieved 12 November 2026
- LLM06:2025 Excessive Agency, OWASP Top 10 for LLM Applications 2025, OWASP Gen AI Security Project, retrieved 12 November 2026
- LLM01:2025 Prompt Injection, OWASP Top 10 for LLM Applications 2025, OWASP Gen AI Security Project, retrieved 12 November 2026
How this text was written
We wrote this article based on the sources listed and on how we work. AI supported drafting and research; we checked the statements and sources. Notes on law and data protection are not legal advice.