Skip to main content

A CLI tool for automated code reviews.

Project description

Bee Reviewer 🐝

Bee Reviewer is a Python CLI tool that generates narrated, interactive code reviews. It uses a "Context-Aware" architecture where your AI agent (Claude, Gemini, etc.) directly generates review recipes as it works, ensuring the narration captures the full intent and design decisions of every task.

🌟 Features

  • Context-Aware: Review recipes are generated inside the AI session, capturing planning and reasoning that raw git diffs often miss.
  • Narrated Presentation: A cinematic web-based slideshow where your code is explained via high-quality text-to-speech.
  • Turnkey Viewer: A self-contained web viewer with syntax highlighting, auto-play narration, and full playback controls.
  • Cross-Agent Support: Works with Gemini CLI, Claude Code, Aider, and any other AI agent via BEE-REVIEWER.md.
  • Zero Token Overhead: No secondary AI calls required for reviews.

🚀 Installation

Install via pip:

pip install bee-reviewer

🛠️ Getting Started

1. Initialize your project

Run this command in the root of your project:

bee-reviewer init

This will:

  • Print the Bee Reviewer banner.
  • Create a .bee-review/ directory to store your reviews.
  • Detect your agent (CLAUDE.md, GEMINI.md) or create a fallback BEE-REVIEWER.md.
  • Inject instructions telling the AI to generate a recipe.json in .bee-review/ after every completed task.

2. Work with your AI Agent

Continue working with your AI agent as usual. After every human prompt you provide, the agent will silently create a new review file in the .bee-review/ folder.

3. Launch a Review

When you're ready to watch your progress:

bee-reviewer review
  • Select a review from the chronological menu.
  • A local web server starts, and your browser opens to a narrated slideshow of your changes!

📖 Manual Usage & Advanced Tips

Custom Agent Launch

You can initialize and immediately launch your AI agent in one command:

bee-reviewer init --launch gemini

💡 Pro Tips for Better Reviews

  • Baseline Commits: For the best review experience, run git commit -m "baseline" before starting a major task. This gives the AI a clean reference point for its narration.
  • Large File Handling: The AI instructions include a 1,000-line limit per file. If a file is larger, the AI is instructed to include only the most relevant 1,000 lines to keep your sessions fast and lightweight.
  • Recipe Management: All review recipes are stored as JSON files in the .bee-review/ directory. You can safely delete old files you no longer need, or share specific .json files with teammates.
  • Shell Completion: bee-reviewer supports tab-completion. To enable it for your shell, run:
    bee-reviewer --install-completion
    

🛑 Stopping the Server

Press Ctrl+C in your terminal to stop the review server. This safely returns you to your shell.

📄 License

MIT

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

bee_reviewer-0.1.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

bee_reviewer-0.1.0-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bee_reviewer-0.1.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for bee_reviewer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 95724913d031ce3d04fb1ec797e5551932166946c569d7c80552d58f6ef1b299
MD5 2c9f65e393a115fca97a43cd0c8fb7d7
BLAKE2b-256 6b428c775053bc2c034c1262733da50e99c4d97520d88133820dbc74ad460a85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bee_reviewer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for bee_reviewer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 31c5ed05a2e390dc1fd61b8675829e4617202cf987fda0071380b2603d20c73e
MD5 ea9350636c199a17ff569aed75aed002
BLAKE2b-256 e737d1978a37c352dcc015b107f055267c9117e0e4a71a43a3997731e64dca28

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