Skip to main content

Rigour

Deterministic quality gates that force AI agents to write production-grade code.

Rigour sits between your AI agent and the codebase — catching hallucinated imports, hardcoded secrets, and floating promises the instant they're written, not after CI fails.

Zero cloud. Zero telemetry. Fully local. MIT licensed.


See It In Action

Rigour Demo

npx @rigour-labs/cli demo --cinematic

Watch an AI agent write flawed code, Rigour hooks catch each issue in real time, then the agent self-corrects — score jumps from 35 → 91.


Quick Start

npx @rigour-labs/cli scan              # zero-config — auto-detects stack, runs 27+ gates
npx @rigour-labs/cli init # create rigour.yml + install hooks
npx @rigour-labs/cli hooks init # install real-time hooks for your AI tool

Real-Time Hooks

Hooks run inside your AI tool and catch issues before files are even saved:

ToolHook LocationTrigger
Claude Code.claude/settings.jsonEvery file write
Cursor.cursor/hooks.jsonOn save
Cline.cline/hooks.jsonOn file change
Windsurf.windsurf/hooks.jsonOn save
Aider.aider.conf.ymlOn file write
Copilot.github/copilot-hooks.jsonOn save
RooCode.roo/hooks.jsonOn file change

OWASP LLM Top 10 Coverage

#RiskCoverage
1Injection FlawsStrong
2Broken AuthenticationStrong
3Sensitive Data ExposureStrong
4Hallucinated DependenciesStrong
5Improper Error HandlingStrong
6Unsafe Output HandlingStrong
7Denial of Service (ReDoS)Strong
8Missing Input ValidationStrong
9Overly Permissive CodeStrong
10Insufficient Code QualityStrong

Key Features

  • Real-Time Hooks: Catch issues the instant AI writes code — before CI, before review.
  • AI Drift Detection: Hallucinated imports, floating promises, context window artifacts.
  • 27+ Quality Gates: 11 AI-drift, 11 traditional, 3 governance/multi-agent, 1 deep-analysis — SQL injection, XSS, CORS wildcards, ReDoS, hardcoded secrets with CWE IDs.
  • Deep Analysis (Local LLM): 40+ code quality categories analyzed by a local LLM (Qwen2.5-Coder), verified by AST — SOLID, design patterns, concurrency, architecture. No API key needed.
  • Incremental Cache: Cross-run file change detection — if no files changed, results return instantly (~50ms).
  • Multi-Agent Governance: Scope conflict detection and verified handoffs for agent teams.
  • Industry Presets: HIPAA, SOC2, FedRAMP compliance gates in one command.
  • Score Trending: Track quality over time with exportable audit reports.
  • Peer-Reviewed Research: Zenodo whitepaper DOI:10.5281/zenodo.18673564.

"Local Honest" Governance

  • No Login Required: Start governing in 60 seconds without creating an account.
  • Zero-Telemetry: Your source code and command history never leave your machine.
  • Air-Gapped Sync: The "Local Bridge" between your IDE and Studio happens entirely on your local filesystem.

This isn't just a feature — it's our trust moat.


Rigovo Ecosystem

Rigour is part of the Rigovo AI-Native Engineering Platform:

ProductWhat it doesLink
RigourQuality gates for AI-generated code (27+ gates + local LLM)GitHub
Rigovo HRAI-powered technical hiring — Maya AI interviewer, 15-signal verificationrigovo.com
Rigovo Virtual TeamMulti-agent software delivery with deterministic quality gatesGitHub

Where to Go Next?

Rigour makes Vibe Coding a thing of the past.