Code Review Preparation Agent · Use case
How can we use an AI agent to prepare the review of a proposed change against our own checklist on our own infrastructure?
A code review preparation agent reads a proposed change and sets it against your team's own review checklist and coding standard. It lists each point for the reviewer, with the file and the line. An engineer reviews the change and approves it or asks for changes. The agent approves nothing, merges nothing and writes nothing to the repository, and it is not the second reviewer. It runs on your own infrastructure, so source code is not sent to a public AI service.
A change waits for review.
The checklist is read against it by hand.
- ✗ 01A reviewer reads each change against a checklist and a coding standard held in a long document and in memory, and the points that are plain to check take time from the ones that need judgement.
- ✗ 02Source code is the company's own work and shows how its systems are built, so it has to stay inside the company.
Where it stops for a person
Always. An engineer reviews and approves or asks for changes.Always. An engineer reviews and approves or asks for changes. A list with no points is not an approval: the agent checks the points your checklist names and nothing else, and it does not say the change is correct, safe or ready. It is not the second reviewer. Several standards ask for review by a second person, and no source we read settles whether an agent can be that person, so here an engineer reviews. It uses the checklist you supply and adds no rule of its own. A comment or a string in the change that is written to steer an agent is reported as text in the change; the agent does not follow it and holds no tool that could.
It lists each point, with the line.
An engineer reviews.
Step · 01
The author asks for a review, and the reviewer hands the change to the agent or uploads the diff.
Step · 02
The agent reads the change and its description.
Step · 03
For each point of your review checklist and coding standard, it reads the lines the change adds or alters.
Step · 04
It lists each point the change does not meet or the agent could not confirm, with the file, the line and the rule behind it.
Step · 05
The reviewer reads the change itself, judges each point, and approves or asks for changes in your own system.
Reads from · connectors
Your own APIs
The proposed change and its description, as an uploaded diff, or read through your own APIs with the read operations only or through a server from the catalogue deployed in your own cluster; and your review checklist and coding standard, indexed as a knowledge source.
What it can change
Nothing. It compares and lists. It approves no change, merges no change, writes no comment into your review system and changes no file.
Build it once.
Use it where the work is.
01 · Where your people use it
In Work Room
Publish it to Work Room and your people use it there.
See Work Room →02 · Where they already work
In a screen they already use
Your developers can put it behind a screen your people already work in, so nobody has to open a new tool.
What you set up
- Write down your review checklist and coding standard, with what in a change shows that each point is met.
- Index both as a knowledge source, and connect source control, keeping only the operations that read.
- Build the agent in Katonic Studio and test it on past changes your reviewers have already reviewed.
- Publish it to one team first, one repository at a time.
Where it runs
The agent, its knowledge store and the model run on infrastructure you own or control. You choose the model and serve it yourself, so questions, documents and answers are not sent to a public AI service. Source code and proposed changes stay inside the company.
How you get it today
You build it in Katonic Studio: describe the job, connect what is named above, add test cases and release the agent once it passes them. There is no ready-made template for this job yet.
Does the agent approve or merge a change?
No. It approves nothing and merges nothing. It has no tool that approves, merges or changes anything, and it writes nothing to the repository. It lists each point of your checklist with the line, and an engineer reviews and approves or asks for changes.
Does the agent count as the second reviewer?
No. It is not the second reviewer. Several standards ask for a change to be reviewed by a second person, and no source we read settles whether an agent can be that person. Here an engineer reviews, and the record shows who.
Where is source code processed?
On your own infrastructure, with a model you serve. Nothing is sent to a public AI service.