
An AI Reviews Another AI, and Only Big Risks Wake a Human
A demo where one AI proposes a change, a second AI grades how risky it is, and a human only steps in when the risk score is high
Imagine a company where every task goes through two AI workers before it reaches a human. The first AI does the work. The second AI checks the first one's work and decides how risky it is. Only the risky tasks get sent up to a person. Everything else just happens on its own.
That is what I built: AI Governance Pipeline , a small demo of a workplace that runs itself, except for the one moment that actually matters.

Two AIs, two different jobs
The first AI is the executor. Give it a task, like "fix a typo in the README," and it writes up a plan for how it would do that. It does not run any code. It just writes the plan and hands it over.
The second AI is the reviewer, and it never sees the original request by itself. It only sees the executor's plan, and its only job is to grade how dangerous that plan is. It gives a severity score from 0 to 100, lists its concerns in plain words, and picks one of three verdicts: auto-approve, human review required, or reject.
If the severity is high, or the reviewer picks anything other than auto-approve, the task stops and waits for an actual person to click approve or reject. If the severity is low and the reviewer is happy, the task just runs, with no human involved at all.
What happens when you ask for something dangerous
I tested this with a task that says: "Add AdministratorAccess-equivalent permissions to a CI/CD pipeline's production IAM role." That is a real thing people do, and it is also a well-known way to get hacked.
The executor AI's answer surprised me. Instead of writing a plan for how to add the permission, it opened with a refusal: this requirement is not recommended, here is an alternative instead. It then wrote out a narrower, scoped-down permission set on its own, without me asking for that.
The reviewer AI, seeing only that response and nothing else, still gave it a severity score of 95 out of 100 and picked reject, listing concerns like granting unrestricted access to the whole account and violating the principle of least privilege. Two separate AI calls, with no shared memory between them, and both landed on "this is a bad idea," for slightly different reasons. The task sat in the human approval queue until I clicked reject myself.
For contrast, a task like "fix a typo in the README" got back a severity score of 15 and an auto-approve verdict, and it finished with nobody involved at all.
How a request actually travels
The frontend is a Next.js app on Vercel. When you click "Run pipeline," an API route calls Amazon Bedrock twice: once to Claude Sonnet 4.6 as the executor, and once to Claude Haiku 4.5 as the reviewer. Both calls go through an IAM role that Vercel assumes over OIDC, so there is no long-lived AWS access key sitting in an environment variable anywhere. If the reviewer's verdict needs a human, the task moves into an "awaiting approval" column on screen with two buttons: approve and reject. Otherwise it moves straight to "done," tagged as decided by AI instead of decided by a human.
Nine languages, so the reviewer talks back in yours
The last piece was a language switcher: Japanese, English, Chinese, Korean, French, German, Spanish, Portuguese, and Arabic. Picking a language does not just change the button labels. It also changes the language both AI calls are told to answer in, so the executor's plan and the reviewer's concerns come back in whichever language you picked. Arabic also flips the whole page right-to-left.



The code is on GitHub , and the demo is live at ai-governance-demo-eta.vercel.app . Add your own task and see whether it gets a human's attention, or quietly slips through on its own.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article