Skip to main content

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

Installation

# Install globally with pip
pip install reviewmywork

# Install globally with uv
uv tool install reviewmywork

Key Features

  • LLM Agent Architecture: Orchestrates multiple tool calls for thorough analysis
  • 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.

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.1 /path/to/repo 

# Get help
reviewmywork --help

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

Development

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

License

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

Metadata

Release files for reviewmywork 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reviewmywork 0.1.1
File Size Uploaded
reviewmywork-0.1.1.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for reviewmywork 0.1.1
File Interpreter ABI Platform
reviewmywork-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / reviewmywork-0.1.1.tar.gz

Download URL reviewmywork-0.1.1.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6fe48f6380f914dec7cd9ae11a2083a0e3ba5680377342687dc7c02db9b0152a
BLAKE2b-256 checksum
How to use checksums
00e0d3ba40bc7460bd03b4c949eb93351327dca92b040ab9f8bfd73990d101e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.3

Release files / reviewmywork-0.1.1-py3-none-any.whl

Download URL reviewmywork-0.1.1-py3-none-any.whl
Size 12.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f85503abcd9ba8153ce3197423e65e39b34d0c73c3a16c6a9027cefcb76510f
BLAKE2b-256 checksum
How to use checksums
b0e51d7fce4486cd0f503b60fddf49a641f1a3428e6461858ceffdff4b3825eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.3

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page