CodyLabs Now Supports Claude for AI Code Review
Big news: Cody, the free AI code reviewer for GitHub, now supports Anthropic's Claude models alongside OpenAI. You can review every pull request with Claude Opus 4.8, Claude Sonnet 5, or Claude Haiku 4.5 — just bring your Anthropic API key.
How it works
Cody now routes your review to whichever provider matches the model you pick. Set the MODEL environment variable in your workflow: any model name starting with claude- is sent to Anthropic, and anything else goes to OpenAI. You only need the API key for the provider you choose.
Use Claude in your workflow
- Add
ANTHROPIC_API_KEYas a repo secret (create a key at platform.claude.com). - Set
MODELin the "Run Code Review Model" step:
- name: Run Code Review Model
run: |
python src/review_pull_request.py ${{ github.event.pull_request.number }} ${{ github.repository }} > ${{ github.workspace }}/output.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
# Claude's most capable model for code review
MODEL: "claude-opus-4-8"
That's it — Cody posts the Claude-written review straight onto your pull request.
Which Claude model should you pick?
| Model | Best for |
|---|---|
| claude-opus-4-8 | The most capable reviews — our recommendation |
| claude-sonnet-5 | Near-Opus quality on coding at a lower price |
| claude-haiku-4-5 | The fastest and cheapest option |
Existing workflows keep working unchanged — OPENAI_MODEL is still honoured and OpenAI models like gpt-5 and gpt-5-codex are fully supported.
- GitHub: https://github.com/codylabs/cody-code-reviewer
- Setup Guide: Quick Start Documentation
Keywords: Claude code review, Anthropic code review, Claude Opus 4.8 code review, Claude Sonnet 5, AI code reviewer GitHub Actions, automated code review, free AI code review, Claude vs GPT-5, CodyLabs, 2026