From install to CI/CD in 5 minutes. VibeDrift scans your AI-generated codebase for contradictions and gives you a score with file-level evidence.
[01] What is drift?
Your AI forgets between sessions.
When you use AI to write code across multiple sessions, each session starts fresh. Session 1 uses a repository pattern. Session 3 switches to raw SQL. Session 7 introduces an ORM. None are wrong individually — but together they create drift: a codebase that contradicts itself.
VibeDrift discovers the patterns your code already follows and finds the exceptions. It's a consistency checker, not a style enforcer. A codebase isn't wrong because it uses raw SQL — it's driftingbecause 8 handlers use a repository and 2 don't.
[02] Install
30-second setup.
VibeDrift is a Node.js CLI. You need Node 18.17+. No config file, no API key, no signup needed for your first scan.
Install globally (recommended)
$npm install -g @vibedrift/cli
Or run without installing
$npx @vibedrift/cli .
Verify
$vibedrift --version
[03] First scan
Run your first scan.
Scan the current directory
$vibedrift .
Free
Scan a specific project
$vibedrift ~/workspace/my-project
The default output is an HTML report that opens in your browser. It includes your score (0-100), category breakdown, drift findings with code evidence, and per-file rankings.
Scanning 55 files · 6,151 LOC · Go
✓ Static analysis .................. 0.8s
✓ Cross-file drift ................. 0.4s
✓ Code DNA ......................... 0.03s
68/100 · Grade C · 4 findings
Report: ./vibedrift-report.html
Other formats
$vibedrift . --format terminal
$vibedrift . --json > report.json
$vibedrift . --output report.html
[04] Sign in
Unlock deep scans & dashboard.
Free scans run locally with no account. Sign in to unlock deep scans, the dashboard, and scan history.
Browser-based sign in (like GitHub CLI)
$vibedrift login
1. CLI shows a one-time code in your terminal
2. Browser opens → sign in with Google or email
3. CLI picks up the token automatically
No password ever touches the terminal.
Check your status
$vibedrift status
Account: you@example.com
Plan: Pro
Deep: unlimited
Token: vd_live_...abc (valid)
For CI/CD (no browser available)
$export VIBEDRIFT_TOKEN=vd_live_xxxxx
[05] Deep scans
AI-powered analysis.
Deep scans add cloud AI on top of the local scan. The CLI sends function snippets only (not full files, never git history) to the VibeDrift API.
$vibedrift . --deep
$5/scan
What deep scan adds:
· AI finds semantic duplicates that look different but do the same thing
· AI detects when function names don't match their behavior
· AI validates ambiguous findings (confirmed vs disputed)
· AI generates a summary with actionable recommendations
--fail-on-score 70 exits with code 1 if the score drops below the threshold, failing the PR check.
[11] CLI reference
All commands.
Scanning
vibedrift [path]Free local scan
vibedrift [path] --deepAI-powered deep scan
Options
--format html|terminal|jsonOutput format (default: html)
--output <path>Output file path
--jsonShorthand for --format json
--fail-on-score <n>Exit 1 if score below n
--project-name <name>Override auto-detected project name
--privateAnonymize project name (privXXXXXXXXXXXX)
--no-codednaSkip Code DNA layer
--verboseShow per-layer timing
--include <glob>Include matching files only
--exclude <glob>Exclude matching files
Account
vibedrift loginAuthenticate via browser
vibedrift logoutRemove credentials
vibedrift statusShow account info
Utility
vibedrift doctorHealth check
vibedrift feedback [msg]Send feedback
vibedrift --versionShow CLI version
[12] Free vs Deep
What each scan includes.
CapabilityFreeDeep
Drift score (0-100)✓✓
5-category breakdown✓✓
Cross-file drift findings✓✓
Static analysis (13 detectors)✓✓
Code DNA fingerprinting✓✓
Per-file rankings✓✓
HTML report✓✓
CI fail-on-score✓✓
AI summary + recommendations—✓
AI semantic duplicate detection—✓
AI intent mismatch detection—✓
AI finding validation—✓
AI anomaly detection—✓
💡
Free catches ~70% of issues with local analysis. Deep adds AI for the remaining 30% — semantic duplicates, intent mismatches, and anomalies that pattern matching can't find.
[13] Pricing
Simple pricing.
· Free — $0, unlimited local scans, 3 deep scans/month
· Pro — $15/mo, 50 deep scans/month + CI/CD + dashboard