Repository-Native Tools
drep discovers and runs the tools your repository already chose: ruff, ESLint, tsc, gofmt, go vet, and clippy. Their findings always block.
drep runs the linters and formatters your repository already configures, then sends only the code that changed to an LLM for review. It works at commit and push time as a single Rust binary.
drep discovers and runs the tools your repository already chose: ruff, ESLint, tsc, gofmt, go vet, and clippy. Their findings always block.
The LLM sees the staged files or pushed diff, not an entire hosted repository. Findings are advisory unless you opt into a severity gate.
There is no server, database, platform account, or background service. Configuration, credentials, acknowledgements, and cached reviews stay on your machine.
Use a local OpenAI-compatible endpoint, OpenRouter, Z.AI, MiniMax, Kimi, the OpenAI API, or the Codex CLI with a ChatGPT subscription. Ordered providers can fail over.
Install a native Git hook once. drep runs locally when you commit or push, using the repository and credentials already on your machine.
# Homebrew (macOS or Linux)
brew install slb350/tap/drep
# Cargo
cargo install drep-ai
# Configure the repository and its default pre-push hook
drep init
# See what drep will run
drep doctor
# Check staged changes now
drep check --staged