Codecora Logo

Documentation

CLI-first AI code review. Catch bugs before you commit.

Quick Start

Get AI code review in under 2 minutes. No credit card required.

  1. 1

    Install the CLI

    npm install -g @codecora/cli

    That's it. No config files needed.

  2. 2

    Sign In

    cora auth login

    Opens browser. Click "Authorize" and you're done.

  3. 3

    Review Your Code

    git add .
    cora review

    Get instant AI feedback on your staged changes.

  4. 4

    Enable Auto-Review (Optional)

    cora enable

    Every commit gets reviewed automatically via pre-commit hook.

You're Done!

You now have 1M free tokens/month. No credit card required.

View standalone Quick Start guide →

Having Issues?

"Authentication required"

cora auth login

"No AI provider configured"

Visit Dashboard → Select workspace → GLM 5 is pre-configured

"Not in a git repository"

git init

Hook not running

cora disable && cora enable

View full troubleshooting guide →

CLI Reference

Commands, flags, and options

Roadmap

See what's coming next

GitHub App

Install on your repository

Why Use Codecora CLI?

Catch issues before they leave your machine. AI-powered code review between git add and git commit.

Pre-commit Review

Get instant feedback before your code leaves your machine. No more waiting for PR reviews.

Privacy-First

We only read commit diffs. Zero code storage. Your code is processed and discarded immediately.

Generous Free Tier

1M tokens FREE monthly. BYOK included in all tiers. No credit card required.

Works Everywhere

Cross-platform CLI for macOS, Linux, and Windows. Integrates with any Git workflow.

AI Models

Codecora supports multiple AI models for code review:

GLM 5 (Included)
Default

Powered by Zhipu AI. 1M tokens FREE monthly. No API key needed.

BYOK (Bring Your Own Key)

Use OpenAI, Anthropic, Groq, or any OpenAI-compatible API.

Pricing

Early Adopter Pricing Ends May 5, 2026

Lock in $5/mo Pro forever. Price increases to $7/mo after May 5.

FREE
$0 forever
  • ✓ 1,000,000 tokens/month
  • ✓ GLM 5 AI included
  • ✓ BYOK included
  • ✓ CLI + GitHub App
  • ✓ Pre-commit hooks
Most Popular
PRO
$12 $5 /month
  • ✓ 20,000,000 tokens/month
  • ✓ GLM 5 AI included
  • ✓ BYOK included
  • ✓ Priority processing
  • ✓ Analytics dashboard

💡 BYOK = Unlimited. All tiers include BYOK option. Use your own AI key and bypass token limits.

Privacy & Security

Codecora is designed with privacy as the foundation:

  • Diff-only analysis: We only read the commit diffs (changed lines)
  • No repo cloning: We never clone your full repository
  • Zero code storage: Your code is processed and discarded immediately after review
  • Zero retention: We don't train on your code or keep any copies

Your code is sent to our service for processing, then forwarded to your configured AI provider for analysis. Results are returned immediately and your code is never stored.

Output Formats

The CLI supports multiple output formats for different use cases:

  • pretty (default): Colored terminal output with file grouping
  • json: Structured JSON for CI/CD pipelines and scripting
  • compact: Single-line per issue for quick scanning
  • sarif: SARIF v2.1.0 for GitHub Advanced Security integration
# Pretty output (default)
cora review

# JSON for CI/CD
cora review --format json --output-file review.json

# SARIF for GitHub Security
cora review --format sarif --output-file results.sarif

Learn more about output formats →

Need Help?

If you run into any issues or have questions: