SuperAPI AI Directory

verifair

verifair is a self-hosted web service that lets coding agents publish change review reports for humans to read, comment on, and render verdicts. It does not run AI itself; reports are stored in the user's own Postgres. The core flow is: an agent pushes a change report in Markdown format, the author signs off first, and then team members comment by selecting text and give a verdict of approve or request changes. Reports include intent, before/after design comparison, edge cases, verification commands and results, unverified content, rollback plan, security impact, agent review summary, and more. It supports version management, plan-first review, prompt coach, execution evidence attachments, Slack notifications, and other features. It provides a JSON API for agents to push reports and read feedback, along with an agent skill. It is suitable for individuals or teams where coding agents write most of the code, for change review based on evidence rather than diffs.

Open website

About this tool

verifair is a self-hosted web service designed to change the way code review works: instead of reading diffs line by line, coding agents publish structured change review reports, and humans judge based on evidence whether the change is correct. It does not run any AI itself; reports are stored in the user's own Postgres database.

Purpose

When coding agents write most of the code, humans cannot read every diff, and reading diffs is not an ideal way to judge whether a change is correct. verifair provides one page per change, letting humans judge intent and evidence: is this the right change? Does the evidence hold up?

Main capabilities

  • Change reports: one report per change, including intent, design (before/after comparison and diagrams), edge cases, verification (commands, results, and links), unverified content, rollback plan, security impact, agent review summary, questions only humans can answer, and one line per merge request.
  • Prompt coach: authors can share the prompts they typed on the same page, and teammates can comment to suggest clearer prompts (e.g., missing context, vague goals, unverifiable results). This feature is opt-in; authors can preview and trim before sharing, and it does not block the flow. For Claude Code, local Codex, OpenCode, and Pi sessions, export is automatic; other agents require manually pasting the prompt.
  • Humans sign first: the person requesting the change reads the agent report and signs off, after which the team is asked to review. The signer or an admin can cancel the sign-off when no verdict has been given.
  • Comment on any text: select a sentence to start a discussion thread. Threads block by default, and reviewers can mark them as suggestions. Regular comment tag buttons (such as issue:, nitpick:, question:, etc.) set the tag and whether it blocks.
  • Verdicts with rules: approve or request changes. Approval is rejected when blocking threads exist, and the signer cannot approve their own version. After changing their mind, they can cancel approval or withdraw the verdict.
  • Version management: agents push new versions after feedback. Sign-offs and verdicts are retained per version; comments show whether they were made on an older version.
  • Plan first: review and approve a Markdown plan before implementation, then attach the change report at the same URL. The plan and the implementation have their own sign-offs, comments, and verdicts. Submitting a report directly is still possible.
  • Diagrams and screenshots: Mermaid blocks in reports are rendered as diagrams, and the source can be copied with one clickCheck. Agents upload screenshots via the API and they are displayed in the report; images from other sites remain as links.
  • Optional execution evidence: Attach local recordings or marked reconstructions to the implementation version. The read-only execution tab adds context; humans still sign and judge the implementation.
  • Built for agents: A small JSON API for pushing reports, reading and replying to comments, long-polling feedback, and archiving or restoring reviews. Ships with an agent skill installed via a single npx skills command, plus an API explorer at /docs.
  • Human inbox: Grouped by whose turn it is: needs your review, needs your signature, returned to you, needs implementation, waiting on others. Assigned to me, created by me, and all reviews list the rest, with status labels.
  • Archive and delete: Archive completed or test reviews (or an entire project) to remove them from the list; it stays readable and can be restored. Admins can permanently delete.
  • Two modes: Local mode for one person or a small trusted team. Shared mode for teams, with built-in login (Google or any OpenID Connect provider), members, admins, per-member agent tokens, optional open registration on your own domain, and a first-run guide for connecting each member's agent.
  • Small and simple: FastAPI, Jinja, and htmx, no JavaScript build step, strict CSP. State is stored in Postgres, so multiple replicas can run. System, light, and dark themes, mobile-friendly.
  • Secure and open: Images in reports from other sites are shown as links and not loaded. Local mode rejects unknown hostnames, preventing DNS rebinding.
  • Optional Slack messages: For drafts, ready for review, comments, verdicts, and withdrawn verdicts. Text written by agents is marked as such in Slack and email.
  • Request review: Request a review from any member on the review page, optionally send an email when changes are ready, and a welcome email for new members (shared mode).

Usage

Requires Docker and Compose. Run:

git clone https://github.com/romanzdk/verifair.git && cd verifair && docker compose up

Then open http://localhost:8000 . The agent token is change-me. Set VERIFAIR_API_TOKEN before starting to use another. Users set a display name (saved in a cookie). Authors sign versions, reviewers select text comments, then approve or request changes.

In a second terminal, load the demo review (only requires Python 3):

...

It adds five reviews from Alice and Bob, each in a different state. Running it again skips content that already exists; to reload, run docker compose down -v and start over.

The static demo shows these reviews from Alice's perspective. In your own browser, you are a newcomer: set your name, sign the high-risk change, then open the same page under another name in a private window to comment and approve.

The compose passwords and tokens are for local use only. Any shared setup should change them.

This is local mode. For teams, use shared mode. See docs/access.md.

To have a coding agent set it up locally or on Kubernetes, paste the prompt from "Deploy with your agent".

docs/report-template.md is the layout the agent should follow. Each section has a one-line prompt, shown as a quote. Readers first see what changed and the evidence, and decisions come last, after understanding the change.

Verification, rollback, and security impact are required by default. See the report rules.

skills/verifair-review/SKILL.md teaches a coding agent to write reports following this template, push, and wait for and answer review feedback. It never signs or gives a verdict. On request, it can also add the author's own prompt for prompt coaching. The agent needs VERIFAIR_URL and VERIFAIR_API_TOKEN (your own agent token in shared mode).

Install with skills, for Claude Code, Codex, Cursor, and many other agents:

...

This installs the latest skill. To match an older server, add its version tag, e.g. romanzdk/verifair@v0.2.0; the agent token page and first-run page show the command with the server version. Without Node.js, download the skill from the server (api.md).

Push a report (push again with the same id to add a version):

...

Wait up to 55 seconds for a verdict or new comments, then read the open threads:

...

Full reference: docs/api.md (push, read, comment, wait, errors).

Agents can read everything in Markdown: llms.txt, or every page in one file: llms-full.txt.

When to use

For individuals or teams where coding agents write most of the code. They want humans to judge changes based on evidence rather than diffs, and need version management, signing, team collaboration, and agent API integration.

Limitations

  • verifair itself does not run AI; coding agents run where they normally run (your machine, CI) and publish reports here using agent tokens. Reviewers only need no token.
  • Requires Postgres 16 or newer, and HTTPS is required for any browser access outside localhost.
  • Compose passwords and tokens in local mode are for local use only; shared setups must be changed.
  • Prompt coach auto-export only supports Claude Code, local Codex, OpenCode, and Pi sessions; other agents require manually pasting prompts.
  • Execution evidence requires locally recorded or marked reconstruction, attached to the implementation version.
  • Agent skills do not sign or issue verdicts.
  • Tests require a database; each test has its own schema and is dropped at the end.

Related projects

verifair reviews change reports, not diffs. Tools that review code provide input for its "agent review" section: CodeRabbit, Greptile, Qodo, Devin Review, Claude Code Review. Planning tools such as Kiro and Plannotator can generate Markdown for pre-implementation review. rcliao/comments is the closest: Markdown review with human-only verdicts for agents. verifair adds evidence templates, versions, signing, a team web UI, and an API for agents to read and answer comments.

License

MIT. See LICENSE. Made by Roman Žydyk.