AI-powered code review CLI - Keep your kode korekt
npm install korekt-cli


AI-powered code review from your terminal.
``bash`
npm install -g korekt-cli
`bash`
kk config --key YOUR_API_KEY
`bash`
kk review main # Review commits against main
kk stg # Review staged changes
kk diff # Review unstaged changes
`bash`
kk review -m # Interactive model picker
kk review -m gemini-3-flash-preview # Direct selection
Available models (ranked by recommendation):
1. gemini-3-flash-preview - Most efficient, recommended for daily use
2. gemini-3-pro-preview - Best quality for complex reviews
3. gemini-2.5-pro - High quality alternative
4. gemini-2.5-flash - Legacy, avoid
`bash`
kk review main --ignore ".lock" "dist/"
`bash`
kk review --comment # Auto-posts findings to PR
Works with GitHub Actions, Azure Pipelines, and Bitbucket Pipelines.
`bash`
kk review --post-ticket # Posts findings to linked Jira/Azure ticket
Ticket IDs are automatically extracted from branch names and commit messages.
`bash`
kk review main --json # Machine-readable output
`bash`
export KOREKT_API_KEY="your-api-key"
Alternative to kk config --key. Config file takes precedence.
`bash``
kk --help
kk review --help
MIT - See LICENSE for details.