Platform- and provider-agnostic AI code review agent. Bring your own tokens.
lupe (German for magnifying glass) is an open-source, BYO-token alternative to CodeRabbit, Cursor Bugbot, Greptile, and Macroscope. Run it as a reusable GitHub Action or a local CLI, pointed at your model provider (Anthropic, OpenAI, Google, Bedrock, OpenRouter, …) or — opt-in — your existing local Claude Code / Codex login.
- Provider-agnostic. One engine, any model. Swap providers with a single config value.
- BYO-token. No hosted SaaS, no per-seat pricing. Your keys, your spend.
- Two surfaces, one core. The same review engine powers a GitHub Action and a CLI.
- Precision-first. High-recall detection, then a grounding verifier + filter chain so the noise budget stays low (≈5 actionable comments/PR).
- Embeddable.
@gigadrive/lupe-sdklets you drop the reviewer into your own product.
| Package | Description |
|---|---|
@gigadrive/lupe-core |
The review engine: finding model, provider registry, agent loop, verifier, filters, renderers. |
@gigadrive/lupe-git |
Diff parsing, hunk → (line, side) anchoring, read-only repo tools, context compression. |
@gigadrive/lupe-github |
GitHub transport: paginated diff fetch, batched review posting, sticky summary, thread resolution. |
@gigadrive/lupe |
The CLI (lupe). BYO API keys or opt-in local Claude Code / Codex credentials. |
@gigadrive/lupe-action |
The reusable GitHub Action. |
@gigadrive/lupe-sdk |
Embeddable, Promise-returning programmatic facade. |
Vercel AI SDK 6 is the AI engine; Effect is the application backbone. Model-touching code uses the AI SDK; app wiring (DI, typed errors, config, CLI, concurrency) uses Effect.
pnpm install
pnpm build # turbo run build (tsdown, ESM-only)
pnpm typecheck
pnpm test
pnpm check:exports # publint
pnpm format # oxfmt --check (format:fix to apply)
pnpm lint # oxlint
pnpm knip # unused deps/exports
pnpm effect:check # @effect/language-service diagnosticsNode ≥ 20.18, pnpm ≥ 10.
MIT © Gigadrive