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.

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.1.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.1-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reviewmywork-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6fe48f6380f914dec7cd9ae11a2083a0e3ba5680377342687dc7c02db9b0152a
MD5 2ef06e90e177e0b2458640398ad1a1ad
BLAKE2b-256 00e0d3ba40bc7460bd03b4c949eb93351327dca92b040ab9f8bfd73990d101e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for reviewmywork-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9f85503abcd9ba8153ce3197423e65e39b34d0c73c3a16c6a9027cefcb76510f
MD5 60cd1a7405e806705e42bbfddc0a653a
BLAKE2b-256 b0e51d7fce4486cd0f503b60fddf49a641f1a3428e6461858ceffdff4b3825eb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 files

Supported by

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