OpenQodex

Open-source AI code review that checks every change your coding agent writes before you push.

Stars
★ 1.2k
Last updated
3d ago
FARS reviewed
Nov 20, 2026
License
Apache-2.0
Primary language
TypeScript

At a glance

How it runs
CLIAgent plugin / skillMCP server
Works with
Portable with changesCodex · Claude CodeClaude API (Partial support)
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Node.js 22gitClaude Code or Codex installed and logged in (for a full review)Ruby for brakeman/rubocop, Go for golangci-lint, Cargo for cargo-deny (some scanners)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
A developer writing code in Claude Code or Codex who wants a second, independent process to re-check the agent's diff before git push.
Not a fit if
  • Teams on Cursor, Cline or Goose with no Claude Code or Codex installed as reviewer
  • Windows or WSL users — the project states no test runs there
Website
openqodex.com ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-20
Source review
67/100 · Some gaps

What does this agent do, and when should you use it?

OpenQodex is an Apache-2.0 command-line tool that reviews the change a coding agent just produced — unpushed commits plus everything uncommitted — before it reaches the remote. Each run first executes built-in scanners chosen for the changed files (secrets, SAST, lockfile advisories via osv.dev, lint, GitHub Actions, Dockerfile/Terraform/Kubernetes/CloudFormation, SQL migrations) and keeps only findings on changed lines. It then starts separate Claude Code or Codex reviewer processes on your own login: finder sessions propose candidates with a quoted line, a script checks every quote against the code, and verifier sessions must confirm or refute each candidate and each scanner finding with a reason. Results land as report.html, report.md, report.json and report.sarif plus a terminal receipt the skill tells your agent to show you. init wires the tool into Claude Code, Codex CLI, Cursor, Cline and Goose, installs a push gate where the host supports one, and exposes a code-graph server over MCP. Everything runs locally on macOS or Linux; the only model traffic is your change going to the model service behind your existing Claude Code or Codex login.

review treats unpushed commits plus uncommitted work as one change: it selects built-in scanners by the files touched (gitleaks, semgrep, osv-scanner, kubeconform, cargo-deny, brakeman, rubocop, golangci-lint and others), drops findings in test fixtures and disabled rules, and checks every supported lockfile against osv.dev on every review and scan. Advisories outside the changed lines are shown but never counted and never enter the reviewer brief. It then starts reviewers — by default a fresh process of the agent you work in, with no memory of your session — where finder sessions read each part of the change with the code that calls it and propose candidates with a quoted line, a script validates each quote, and verifier sessions confirm or refute every candidate and scanner finding with a reason; further scripts check that every scanner finding was answered and every changed line was handed to a reviewer. Output is report.html, report.md, report.json, report.sarif and a printed receipt (verdict, one line per finding, report path), and the skill prompts the agent to ask "Fix all, or tell me which?". init writes per-host skills, rules and hooks: an in-agent push gate asks whether your current work has a passing review, and the git pre-push hook it adds judges the exact commits a push sends; both warn by default and block only when .openqodex/config.yaml sets review.block_on_severity. graph answers questions such as who calls a function through a local MCP server, trust quarantines and asks approval for custom GitHub scanners, and --offline skips the network-dependent scanners.

  1. A developer writing code in Claude Code or Codex who wants a second, independent process to re-check the agent's diff before git push.
  2. A team that wants the gate to actually block: set review.block_on_severity: major in .openqodex/config.yaml so findings at or above that level stop the push.
  3. A solo developer who does not want another API key — reviews run locally on an already-logged-in Claude Code or Codex account.
  4. A security-minded reviewer who needs secret scanning and dependency advisories scoped to changed lines instead of drowning in legacy backlog and test fixtures.
  5. CI adoption: the GitHub Action runs the full review when the workflow supplies an Anthropic API key and scanners only without one; the pre-commit hook likewise runs scanners only.
  6. An agent that needs call-graph context before editing, using the graph questions exposed over MCP by init.
  7. A team bringing in a third-party scanner from GitHub, such as Bearer, through config plus an explicit trust approval.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx openqodex init
  • npx -y [email protected] init --yes --agent claude-code
  • npx skills add openqodex/openqodex -g
  • npx openqodex trust
Config files
~/.openqodex/bin/openqodex .openqodex/config.yaml
Runtime
Node.js 22
Install notes cover
macOS · Linux

How do you install or deploy this agent?

Requirements: Node 22 or newer, git, and macOS or Linux; a full review also needs Claude Code or Codex installed and logged in. Some scanners need runtimes OpenQodex does not install: Ruby for brakeman and rubocop, Go for golangci-lint, Cargo for cargo-deny.

Run the installer in a terminal. It detects Claude Code, Cursor, Codex CLI, Cline and Goose, lists the files it will write, asks once, starts the scanner downloads your repository needs, then reviews the current change if a reviewer can start:

npx openqodex init

For an agent-driven install with no prompt, name the host:

npx -y [email protected] init --yes --agent claude-code

The host is one of claude-code, codex, cursor, cline or goose. Codex's default sandbox gives commands no network, so run that line from your own terminal. To install only the skill, with no push gate and no scanner downloads:

npx skills add openqodex/openqodex -g

An npx install puts no openqodex on your PATH; use the launcher init writes.

How do you use this agent?

From your own terminal, run the launcher. Inside an agent, just say "review my change with openqodex".

~/.openqodex/bin/openqodex review

Other scopes:

openqodex review --all
openqodex review main
openqodex review '#42'

Gates warn by default; to make them block, set a severity floor (critical, major, minor, nitpick, info):

# .openqodex/config.yaml
review:
  block_on_severity: major

To add a GitHub-hosted scanner, register it, approve it on this machine, then try it alone:

scanners:
  custom:
    - source: https://github.com/Bearer/bearer
      run: bearer scan {target} --format sarif --output {report} --quiet --disable-version-check
      target: repo
npx openqodex trust
npx openqodex scan --only custom:bearer
npx openqodex demo

--offline skips semgrep, osv-scanner, kubeconform and cargo-deny and stops scanner downloads; npx openqodex guide <topic> prints the bundled docs page for a topic.

What are this agent's strengths and limitations?

Pros
  • No account or key of its own: reviews run on separate Claude Code or Codex processes started from your own logged-in account.
  • The pipeline is auditable rather than trusting: scripts check every quoted evidence line against the code, require a reason for every verdict, and verify that each scanner finding was answered and every changed line reached a reviewer.
  • 22 pinned built-in scanners span secrets, SAST, dependency advisories, lint, GitHub Actions, IaC and database migrations, each download fixed to one version.
  • Four report formats (HTML, Markdown, JSON, SARIF) plus a consistent terminal receipt the agent is instructed to surface.
  • Failure is reported honestly: a stage that did not run yields "Review incomplete", a named list of what is missing, and exit code 2.
  • Custom scanners get a real approval boundary: quarantined download, a shown command, and per-machine consent stored in ~/.openqodex/trust.json.
Limitations
  • macOS and Linux only; the project states no tests run on Windows or WSL.
  • Pre-1.0: commands, flags and the configuration file can change between minor releases.
  • A full review depends on Claude Code or Codex; Cursor, Cline and Goose can start a review but cannot be the reviewer, and a second Codex cannot run inside the Codex sandbox.
  • No offline vulnerability data: lockfiles are checked against osv.dev at every review and cargo-deny downloads RustSec, so --offline skips those checks rather than replacing them.
  • The in-agent push gate only understands plain git push forms and says it cannot tell for anything else; git push --no-verify bypasses the git pre-push hook.
  • Published benchmarks are modest on real PRs — 22.8% semantic precision and 5.2% semantic recall on AACR-Bench — so coverage of genuine review comments is limited.

How does this agent compare with similar options?

The repository names exactly one alternative: Qodex's own hosted pull-request review service, which moves review into the vendor cloud. No third-party competitors are mentioned. Against that hosted service, OpenQodex keeps the reviewer processes, scanners and reports on your machine and uses your existing Claude Code or Codex login, at the cost of installing Node and maintaining config and hooks yourself.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
OpenQodex This agent 67 · Some gaps CLIFree + model costs ★ 1.2k 3d ago TypeScript Codex · Claude Code
LintLang 81 · Good CLIFree ★ 147 16d ago Python Claude Code
SEC-AF 52 · Major gaps CLIFree + model costs ★ 200 10d ago Go Codex · Claude Code
Argot Repository Style Analyzer 78 · Good CLIFree ★ 48 21d ago Rust Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
67/ 100 5-point scale 3.4 / 5
Trust 18/29
Reliability 9/14
Adaptability 14/18
Convention 14/18
Effectiveness 7/13
Verifiability 5/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

The security doc gives concrete least-privilege evidence: programs launched with argument lists never through a shell, scanners receive a minimal env allowlist, built-in scanners are pinned and never taken from PATH, custom scanners require explicit `openqodex trust` approval with sha256 checks, symlinked files are withheld from scanners, and gitleaks secrets are stripped from briefs and reports. However `init` persistently modifies the user environment (global instruction files, git pre-push hook, Claude Code permission rules), and rollback is only described as `init --uninstall` with no recovery flow, so rollback and external_effects score 1. Dependency security has lockfiles, sha256 pinning and a zero-runtime-dependency CLI, but no evidence of ongoing dependency vulnerability auditing, so 2. Source attribution has NOTICE and scanner licence notes but no itemized third-party code attribution, so 2.

Reliability9 / 14 · 3.2/5

README and AGENTS.md agree on exit codes, 'Review incomplete', and naming every stage that did not run; security/privacy/faq pages corroborate each other on network behaviour, so self-consistency is solid. Dependency availability has real gaps: Node 22, git, and a Claude Code or Codex login are required, some scanners need Ruby/Go/Cargo that are not installed, a second Codex process cannot start inside the Codex sandbox, and Windows only works via WSL, so 2. Failure messages have concrete wording and exit codes but no complete taxonomy for scanner crashes or network failures, so 2.

Adaptability14 / 18 · 3.9/5

The README table states per-host whether a review can start, whether the host can be the reviewer, and whether a push gate exists; the 'What it does not do yet' section is candid, so capability_boundaries scores 3. Trigger precision is decent (SKILL.md description and 'When to run' cover pre-push, explicit review requests, and hook blocks) but the push gate admits it cannot tell for non-standard push commands and `--no-verify` bypasses the hook, so 2. Audience and scenarios cover terminal and agent use, but no Windows, Docker or Homebrew support limits environment fit to 2.

Convention14 / 18 · 3.9/5

Documentation structure is thorough: README, quickstart, config, security, privacy, faq, scanners and agents pages are clearly separated; install_notes cover npx, `init --yes`, and skill-only paths plus Codex sandbox caveats; examples_and_faq include a demo repo and a dedicated FAQ; known_limitations has its own section, all scoring 3. But the README states commands, flags and config can change between minor releases and SKILL.md hardcodes 0.22.0, so naming_stability is 1. License is Apache-2.0 with a NOTICE, though NOTICE contents are not shown in the packet, so 2. A changelog and changeset workflow exist but the project is pre-1.0 with weak semver promises, so 2. Maintenance responsibility rests on an unverified Qodex publisher with only a contact email and GitHub private reporting, no governance or SLA, so 1.

Effectiveness7 / 13 · 2.7/5

Output usability is good: report.html/md/json/sarif plus a terminal receipt, and the agent is told to show the receipt verbatim and fix only named findings, so 2 (no actual report sample content is shown, only a link). Marginal value is real (a separate reviewer process plus deterministic scanners plus quote verification covers blind spots of self-review), but the README's own AACR-Bench numbers show 22.8% semantic precision and 77.2% noise, and without a reviewer it degrades to agent self-review, so 2. Cost is high: about $0.42 per review in the Claude Code benchmark, roughly 1,018 MiB of scanner downloads on first use, and multi-minute reviews, so 1.

Verifiability5 / 8 · 3.1/5

The benchmark table names dataset, model, scoring-rule version and cost and links full results, so claim_traceability is 2. Several claims cross-corroborate: security.md and privacy.md list network uses consistently, and AGENTS.md's CI description matches the ci.yml comments, so cross_source_corroboration is 2. The docs distinguish measured runs (e.g. the 2026-10-02 first-run measurement) from design intent, but some figures such as benchmark results cannot be rechecked inside the packet, so fact_inference_separation is 2.

Risks and how to mitigate them
  • `init` persistently modifies the user environment (global instruction files, git pre-push hook, Claude Code permission rules); rollback is only described as `init --uninstall` with no failure recovery or partial rollback.
  • The push gate reports it cannot tell for non-standard `git push` commands, and `git push --no-verify` bypasses the pre-push hook, so it is not a hard gate.
  • Custom scanners are arbitrary commands run with user permissions; even after `trust` approval their network and file behaviour is outside OpenQodex's control.
  • The README's own AACR-Bench numbers show 22.8% semantic precision and 77.2% noise, so reviews may produce substantial noise requiring human triage.
  • First use downloads roughly 1,018 MiB of scanners; a review costs about $0.42 and takes minutes; some scanners need Ruby/Go/Cargo that are not installed automatically.
  • The project is pre-1.0 and the README states commands, flags and config can change between minor releases; SKILL.md hardcodes 0.22.0, so upgrades may break integrations.
  • Publisher Qodex is unverified by FollowAgents; maintenance responsibility and update path rest on a contact email and GitHub private vulnerability reporting only.
Evidence confidence: Low Reviewed Nov 20, 2026 Reviewed revision ffa62b5a08df
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/openqodex.svg)](https://followagents.com/en/agents/openqodex)
<a href="https://followagents.com/en/agents/openqodex"><img src="https://followagents.com/badge/openqodex.svg" alt="FARS review"></a>

FAQ

Do I need to buy an API key?
No. OpenQodex needs no account or key of its own; a full review runs on your logged-in Claude Code or Codex. The one exception is the GitHub Action, which needs an Anthropic API key in the workflow for a full review and otherwise runs the scanners only.
Does my code leave my machine?
OpenQodex collects no usage data and its built-in scanners send no code as it runs them. The reviewer does send your change to the model service behind your Claude Code or Codex login, and network scanners such as semgrep, osv-scanner, kubeconform and cargo-deny need connectivity — --offline skips them.
What happens when a review cannot finish?
A review is complete only when every stage ran. Otherwise review prints "Review incomplete" with what is missing and exits 2. With no reviewer available it prints "Full review unavailable", saves unchecked scanner findings to unchecked-candidates.json, and names the review --agent fallback where your own coding agent reviews its change.
Can it really stop a push?
Only after you opt in. Both the in-agent gate and the git pre-push hook warn by default; findings block only when .openqodex/config.yaml sets review.block_on_severity. The in-agent gate handles a plain git push (optionally after one leading cd <folder> &&, with trimmed output) and reports it cannot tell for other push commands; the hook judges the exact commits but is skipped by git push --no-verify.
Are custom scanners trusted automatically?
No. A custom scanner runs only when ~/.openqodex/trust.json on that machine holds your approval of that exact entry; npx openqodex trust downloads the release asset into quarantine, shows what will run and asks. A fresh GitHub-hosted runner holds no approval, so the GitHub Action skips custom scanners there.
Is OpenQodex free?
The software is free, but OpenQodex calls an AI model, and you pay that model provider for usage (or run a local model).
Is OpenQodex open source?
Yes. The source code is on GitHub (openqodex/openqodex) under the Apache-2.0 licence.
Is OpenQodex safe to use?
FollowAgents' FARS review (Nov 20, 2026) scored OpenQodex 18/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is OpenQodex still maintained?
Yes. The latest commit on GitHub is from 2026-11-20, within the last 30 days.
Who makes OpenQodex?
OpenQodex is published on GitHub by the account openqodex. FollowAgents has not verified which person or company is behind that account.
What is OpenQodex's official website?
The project's GitHub repository lists https://openqodex.com as its website. That link is set by the repository owner; the source code itself is on GitHub (openqodex/openqodex).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts