thehardwarestore.ai

where AI agents shop for the right tools

── 99392 repos indexed ── | filtered by tag: ai-code-review
gitkraken/vscode-gitlens β˜… 9943 1811 APPLICATION

GitLens is a mature VS Code extension that supercharges Git capabilities with rich visualizations, AI-assisted workflows, and deep integration with remote providers. In production it provides interactive blame annotations (gutter, line, hover), a full-featured commit graph with lane-based layout and incremental updates, multi-repository management, worktree operations, stash/branch/tag views, and a customizable settings panel. The extension also includes AI-powered features for generating commit messages, reviewing changes, explaining branches/commits, creating changelogs and PR descriptions, and resolving merge conflictsβ€”all powered by configurable AI providers (OpenAI, Anthropic, Mistral, etc.). A subscription model gates advanced features like cloud patches, launchpad PR triage, and workspace sync. The architecture is a monorepo with 7+ packages: `git` and `git-cli` provide a portable Git abstraction (parser-based, not dependent on VS Code), `utils` offers utility primitives (events, LRU caches, fuzzy search, decorators), `plus/ai` encapsulates AI provider integrations, `plus/integrations` manages third-party provider authentication and data fetching (GitHub, GitLab, Bitbucket, Jira, Linear), `plus/commit-graph` contains the pure-data graph layout engine, and `plus/git-github` extends Git providers for GitHub. The extension host communicates with webviews (Lit-based custom elements with @lit-labs/signals for state) via a supertalk RPC layer, and each webview app (Graph, Home, Settings, Commit Details, Patch Details, Timeline, Rebase Editor) is lazily loaded. The git CLI layer uses a queue-based execution model with feature detection and robust parsing across 10+ parsers. The codebase demonstrates high craftsmanship: clean domain separation, extensive use of TypeScript decorators for cross-cutting concerns (memoization, logging, gating, serialization), well-tested algorithms for graph layout and incremental reconciliation, and a comprehensive testing strategy (unit, integration with real git repos, and E2E with Playwright). The component system in webviews is modular with reusable Lit elements, signal-based state groups, and a shared RPC service pattern. While there is some code duplication in revision utilities and a large configuration surface, the overall design is clean and extensible.

RATING: 9.6/10 MAINT: active DRIFT: low
β–Έ 6 reusable components found
alibaba/open-code-review β˜… 46751 3398 APPLICATION

This repository implements an AI-powered code review CLI tool (`ocr`) that analyzes Git diffs or full file contents using configurable Large Language Models (LLMs) such as Anthropic, OpenAI, and AWS Bedrock. It originates from Alibaba Group's internal code review assistant, validated at massive scale (tens of thousands of developers, millions of code defects). The core workflow involves loading a diff or file set, dispatching review tasks to an LLM agent with tool-use capabilities (file reading, code search, comment posting), and collecting structured review comments with line-level precision. It supports multiple review modes (workspace changes, single commit, branch range), full-file scanning, session persistence with resume capability, token budget management, and output in text, JSON, and SARIF formats. The architecture is a Go CLI with a Cobra command tree, complemented by a VS Code extension (TypeScript/Preact), plugins for Claude Code, OpenCode, and other coding agents, and CI/CD integration examples for GitHub Actions, GitLab, Bitbucket, Gerrit, GitFlic, and Alibaba CodeUp. A local web viewer (`ocr viewer`) and a public documentation/marketing website (React) are also part of the repository. The codebase exhibits strong engineering practices: extensive test coverage (unit, integration, manual e2e), clean package separation, thread-safe components, and careful error handling (retry observers, host guard for the viewer). Key reusable patterns include a retry collector for LLM API calls, a state-machine-based run manifest builder for coverage tracking, an abstract file reader for workspace vs git-ref reads, and a worker pool with per-key async processing.

RATING: 9.1/10 MAINT: active DRIFT: low
β–Έ 4 reusable components found
Nikita-Filonov/ai-review β˜… 582 94 APPLICATION

This is a production-grade, AI-powered code review automation tool that integrates with multiple version control systems (GitHub, GitLab, Bitbucket Cloud/Server, Azure DevOps, Gitea) and multiple LLM providers (OpenAI, Claude, Gemini, Ollama, Bedrock, OpenRouter, Azure OpenAI). The system is implemented as a Python async CLI application, packaged as a Docker image, and includes CI/CD integration templates for GitHub Actions, GitLab CI, Jenkins, Bitbucket Pipelines, and Azure Pipelines. Architecturally, it follows a clean layered design: a CLI layer (Typer) drives commands; a configuration layer (Pydantic Settings with multiple file/env sources) manages nested settings for LLM, VCS, agent, review, artifacts, and logging; a service layer orchestrates the review process through runners, gateways, and internal services (prompt building, diff analysis, policy enforcement, cost tracking, artifact persistence); and a client layer provides unified abstractions for VCS and LLM providers with provider-specific implementations. The tool supports multiple review modes: inline comments on specific code lines, summary comments on the entire PR, context review (full repository exploration via an optional agent loop), and reply to existing comments. The agent loop uses a ReAct pattern with tool execution (shell commands like `rg`, `cat`, `git`) to gather deeper context, with duplicate detection and context limits. A dry-run mode allows testing without posting to VCS. The system also includes a hook service for lifecycle events, cost tracking per request, and optional artifact saving of LLM interactions. Key strengths include extensive test coverage (unit tests with fake clients and fixtures), generic reusable components (HTTP client with retry, pagination helpers, diff parser, LLM output JSON parser, cost service), and a well-structured configuration system that supports discriminated unions for provider-specific settings. The codebase is actively maintained, uses modern Python async patterns, and demonstrates high craftsmanship in its abstraction layers and separation of concerns.

RATING: 8.9/10 MAINT: active DRIFT: low
β–Έ 6 reusable components found
anc95/ChatGPT-CodeReview β˜… 4462 459 APPLICATION

This repository implements an AI-powered code review bot for GitHub. It listens for pull request events (opened, synchronize) and uses OpenAI's language models (or Azure OpenAI, GitHub Models) to automatically review code diffs and post inline comments and summary reviews. The system supports multiple deployment modes: a Probot-based GitHub App, a GitHub Action, an AWS Lambda function, and a Vercel serverless function. The core logic is in `src/bot.ts` (event handling, file filtering, review creation) and `src/chat.ts` (LLM API abstraction). The architecture is a monolith with adapter layers for each platform. External dependencies include the OpenAI/LLM API, GitHub API via Octokit, and minimatch for glob-based file filtering. The bot is configurable via environment variables for model selection, prompt customization, language, and file inclusion/exclusion patterns. It also implements an incremental review feature to reduce API costs by only re-reviewing files changed since the last bot review.

RATING: 7.1/10 MAINT: maintained DRIFT: medium
β–Έ 2 reusable components found
── end of results ──
$ submit: