Overview
Use a coding agent as a second reviewer that checks finished work against the full list of your original instructions, runs the checks you name and records what it found in a task file.
Problem or Objective
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- OpenHands
- Prerequisites
- Agent Canvas running on your machine or infrastructure, and access to a language model of your choice.
How It Works
Keep the full text of your instructions to the build agent in a file in the repository, such as a numbered list of every request in the order you made it. Start a separate review conversation in OpenHands on the same repository and tell it to read that file first, then compare the current code, tests and documentation with each instruction. Ask it to run the project's tests and linters if your setup lets it run commands, mark each instruction as met, partly met or not met with the file and line it relied on, and write the result into a review task file. Repeat the review after each round of fixes, and read the file yourself before merging. Any coding agent that can read a repository could do the same review. If you already use pull requests, the pre-built pull request review automation is a simpler way to get comments on a diff.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up OpenHands.
- Connect the toolsConnect the tools this workflow relies on: OpenHands.
- Check the prerequisitesAgent Canvas running on your machine or infrastructure, and access to a language model of your choice.
- Gather your detailsCollect what the prompt asks for: File holding the original instructions, Project name, Command that runs the checks, Review task file to write.
- Run the starter promptPaste the starter prompt below into OpenHands and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at github.com before you rely on it.
Practical Starter Prompt: Audit work against the instruction list
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read the file [File holding the original instructions], which lists every instruction given to the build agent for [Project name]. Compare the current code, tests and documentation with each instruction. Run [Command that runs the checks] and report the result. Write a review file [Review task file to write] with one row per instruction: met, partly met or not met, the file and line you relied on, and what is missing. Do not edit any source file and do not commit. Wait for my review of the file before suggesting fixes.Keep each instruction as a separate numbered line so the reviewer can cite it.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. OpenHands' documentation describes Agent Canvas, a self-hosted control centre for coding agents and automations, and a pre-built automation that reviews pull requests and posts feedback as a comment. It does not describe checking work against an instruction history or running a project's tests, so those parts depend on how clearly you write the instruction file and on your own testing.
Limitations and Considerations
The reviewing agent can agree with weak work or miss a requirement, so treat its report as a lead for your own check, not as sign-off. Give it only the repository access it needs, and keep secrets out of the instruction file. The README says Agent Canvas works with any language model and runs locally by default, so check what the model provider charges and how you will keep the install updated. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Related Videos
About OpenHands/OpenHands
Setting up a CVE Remediation Factory with OpenHands (opens in a new tab)
Walkthrough of OpenHands by OpenHands: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About OpenHands/OpenHands
One AI Agent, Multiple LLMs: Automatic Model Routing in OpenHands (opens in a new tab)
Published by the project’s official channel.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- OpenHands/OpenHands README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- Agent Canvas is described as a self-hosted developer control centre for coding agents and automations.
- It is used to start conversations with coding agents and to automate everyday tasks.
- Setup a Pre-built Automation - OpenHands Docs (opens in a new tab)
Project documentation · docs.openhands.dev · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- A pre-built GitHub PR Review Assistant automation reviews pull requests and posts feedback as a comment.
- Automations can be created and managed in the agent canvas.

