Skip to content

v0.1.0 Release Notes

Release Date: 2026-04-04

Agent Code Review v0.1.0 is the initial release, providing AI-powered code review capabilities for GitHub Pull Requests.

Highlights

  • Three usage modes — Go SDK, CLI, and MCP Server for Claude Code
  • GitHub App integration — Reviews posted as a bot for clear distinction from human reviews
  • AI-powered reviews — Automated code review using multiple LLM providers
  • Manual cost control — GitHub Action with workflow_dispatch for on-demand reviews

Features

Go SDK (pkg/review)

Programmatic API for GitHub code review operations:

client, _ := review.NewClientFromAppConfig(ctx, cfg)
result, _ := client.CreateReview(ctx, &review.ReviewInput{
    Owner:    "owner",
    Repo:     "repo",
    PRNumber: 123,
    Event:    review.EventApprove,
    Body:     "LGTM!",
})

Available operations:

  • CreateReview — Post approval, comment, or request changes
  • CreateComment — Add general PR comments
  • CreateLineComment — Comment on specific diff lines
  • GetPR — Fetch PR metadata
  • GetPRDiff — Fetch PR diff for analysis
  • ListOpenPRs — List open PRs in a repository

CLI (acr)

Full-featured command-line interface:

# Install
go install github.com/plexusone/agent-code-review/cmd/acr@latest

# Post a review
acr review 123 -o owner -r repo -e APPROVE -b "LGTM!"

# AI-powered review
acr ai-review 123 -o owner -r repo --model claude-sonnet-4

# Run as MCP server
acr serve

MCP Server

Native integration with Claude Code via Model Context Protocol:

{
  "mcpServers": {
    "code-review": {
      "command": "acr",
      "args": ["serve"]
    }
  }
}

Exposes 6 tools: review_pr, comment_pr, line_comment, get_pr_diff, get_pr, list_prs

AI Review (acr ai-review)

Automated code reviews using LLMs with configurable focus:

Scope Focus Areas
full Correctness, security, performance, maintainability, testing
security Injections, auth flaws, secrets, input validation
style Naming, readability, consistency, idioms
performance Queries, algorithms, memory, I/O, concurrency

Supported providers:

  • Anthropic (Claude Sonnet, Opus, Haiku)
  • OpenAI (GPT-4o, GPT-4 Turbo)
  • Google (Gemini 1.5 Pro, Flash)
  • X.AI (Grok 2)
  • Ollama (local models)

GitHub Action

Manual workflow_dispatch trigger for cost-controlled AI reviews:

name: AI Code Review
on:
  workflow_dispatch:
    inputs:
      pr_number:
        description: 'Pull Request number to review'
        required: true
        type: number

Authentication

Two authentication methods supported:

  1. GitHub App (Recommended) — Reviews appear as bot
  2. Personal Access Token — Reviews appear as your account

Getting Started

  1. Install the CLI:
go install github.com/plexusone/agent-code-review/cmd/acr@latest
  1. Configure authentication:
# GitHub App
export GITHUB_APP_ID=123456
export GITHUB_INSTALLATION_ID=12345678
export GITHUB_PRIVATE_KEY_PATH=~/.config/gogithub/private-key.pem

# Or personal token
export GITHUB_TOKEN=ghp_xxxxxxxxxxxx
  1. Run a review:
acr review 123 -o owner -r repo -e COMMENT -b "Looks good!"

Documentation

Dependencies

Package Version Purpose
github.com/google/go-github/v84 v84.0.0 GitHub API client
github.com/grokify/gogithub v0.11.0 GitHub App authentication
github.com/modelcontextprotocol/go-sdk v1.4.1 MCP server
github.com/spf13/cobra v1.10.2 CLI framework
github.com/plexusone/omnillm v0.9.0 Multi-LLM integration