Skip to main content

AI Code Review Agent

Project description

ReviewMyWork - AI Code Review Agent

An intelligent code review agent that orchestrates LLM tool calls to provide comprehensive analysis of your git changes.

ReviewMyWork Demo

Key Features

  • LLM Agent Architecture: Orchestrates multiple tool calls for thorough analysis, not just a single API request
  • Rich Terminal UI: Structured output with confidence scores, detailed issues, and actionable suggestions
  • Multi-Provider Support: Works with any aisuite-compatible LLM (Anthropic, OpenAI, Azure, Ollama, etc.)
  • Minimal & Fast: Focused on core functionality

How It Works

ReviewMyWork parses your git diff, builds some context, and then allows the LLM to intelligently use tools like read_file, search_content, and git_history through multi-turn conversations to understand context and provide detailed reviews with confidence scoring.

Quick Start

Development Setup

# Install dependencies and package
uv sync
uv pip install -e .

# Run a review
reviewmywork review . --base main --model anthropic:claude-3-5-sonnet

Configuration

Set your LLM provider credentials:

# Example for Anthropic
export ANTHROPIC_API_KEY=your-key-here

# Optional: Configure timeouts
export REVIEWMYWORK_TOOL_TIMEOUT=120
export REVIEWMYWORK_MAX_TURNS=10

Or use a .env file in your project root.

Requirements

  • Python 3.10+
  • ripgrep (rg command)
  • git
  • LLM API key for your chosen provider

Usage

# Review changes against main branch
reviewmywork review . --base main --model your-model

# Review specific repository
reviewmywork review --base develop --model openai:gpt-4 /path/to/repo 

# Get help
reviewmywork --help

Short alias: Use rmw instead of reviewmywork for faster typing.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reviewmywork-0.1.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reviewmywork-0.1.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file reviewmywork-0.1.0.tar.gz.

File metadata

  • Download URL: reviewmywork-0.1.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for reviewmywork-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9221b58a45c406ce167abdc7ce66c39d77870b8c4c4ce412c581dc76e2e7b207
MD5 461b6f0480de9a7695f45a5eaf2ff60c
BLAKE2b-256 d30d3ffa9b21aa4924ccacba9fa3e9e31e093930623835816858e0f562f881da

See more details on using hashes here.

File details

Details for the file reviewmywork-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for reviewmywork-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 298ad360abf166863532a75871e806aa9eca86a0d5403547dd4110ea3e63fb54
MD5 edb03553628986080e2ecfaab7616b5d
BLAKE2b-256 0f13b939405d3714be9a7305bd8e815d1f481012367ac913ebf93009f6702eaa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page