A self-hostable GitHub App that autonomously reviews pull requests using an agentic Claude AI loop with RAG-based learning and adaptive feedback.
DiffSense is a self-hostable GitHub App / AI Agent that automatically reviews pull requests using an agentic Claude AI loop. When a PR is opened, the bot queues a review job, then runs a multi-step reasoning cycle — listing changed files, reading diffs, searching for historically similar review patterns, and posting inline comments directly on the PR diff. It uses OpenAI embeddings and pgvector to perform semantic similarity search over past review comments, and learns from developer responses: when a review thread is resolved or dismissed on GitHub, the bot updates the feedback weight of that comment in the database, making similar suggestions more or less prominent on future PRs.