npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@openwt-vn/owlet-lens

v1.8.2

Published

Owlet Lens: AI code review for pull requests on GitHub, GitLab, Bitbucket Cloud and Azure DevOps

Readme

Most AI reviewers post comments and walk away. Owlet Lens stays in the conversation: it posts findings as inline review threads, reads what the developer answers, and closes the thread when the code is fixed. The thread list always matches the code.

  • It talks back. Reply in a thread and it decides: fixed, won't fix, or still open.
  • It cleans up after itself. Fixed threads close. Regressions reopen. One summary comment stays up to date.
  • It learns. Findings your team keeps declining become proposed coding-standards rules, in a pull request a person approves.
  • It runs where you are. GitHub, GitLab, Bitbucket Cloud and Azure DevOps. Your own LLM key, including local models. No server, no database.

The flow: open a pull request, findings become threads, reply in the thread, threads close themselves

See it live: this repo reviews its own pull requests. Open any recent pull request to watch the threads and the summary comment. Small pull requests we measured cost under $0.01 each (FAQ: cost).

Quick start

GitHub (2 minutes)

1. Add a secret. Repo, Settings, Secrets and variables, Actions: add ANTHROPIC_API_KEY. Other providers: LLM providers.

2. Add .github/workflows/ai-review.yml:

name: Owlet Lens
on:
  pull_request:
    types: [opened, synchronize, reopened]
  pull_request_review_comment:
    types: [created]

jobs:
  review:
    if: github.event_name == 'pull_request'
    runs-on: ubuntu-latest
    permissions:
      contents: read
      pull-requests: write
    steps:
      - uses: actions/checkout@v4
        with: { fetch-depth: 0 }   # the review needs full history to diff
      - uses: openwt-vn/owlet-lens@v1
        with:
          anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
          subcommand: review

  reply:
    if: github.event_name == 'pull_request_review_comment' && github.event.comment.user.type != 'Bot'
    runs-on: ubuntu-latest
    permissions:
      contents: read
      pull-requests: write
    steps:
      - uses: actions/checkout@v4
      - uses: openwt-vn/owlet-lens@v1
        with:
          anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
          subcommand: reply

3. Open a pull request. Findings appear as review threads within a minute or two. Reply in a thread to discuss a finding.

Reading replies from the conversation tab, the one-job reusable workflow, and every input: GitHub Action setup.

Any platform: let init write it

npx @openwt-vn/owlet-lens init

It asks for your platform, LLM provider and models, then writes ai-review.config.yaml and the pipeline file for GitHub, GitLab or Bitbucket Cloud. It never writes keys, and it never overwrites an existing pipeline file. At the end it prints the secrets to add and the git commands to commit. Details: owlet-lens init.

Try it from your terminal

Print what it would post on a pull request, and post nothing (Node 20.10+; LLM calls are checked on Node 20, 22, 24 and 26):

GITHUB_TOKEN=... ANTHROPIC_API_KEY=... GITHUB_REPOSITORY=owner/repo GITHUB_PR_NUMBER=42 \
  npx @openwt-vn/owlet-lens review --dry-run

All commands, flags and exit codes: Usage reference.

Other platforms

Each platform needs its own access token plus one LLM key. The tool detects the platform from the CI environment.

Copy examples/gitlab-ci.yml to .gitlab-ci.yml and examples/ai-review.gitlab.yaml to ai-review.config.yaml. Add the CI/CD variables GITLAB_TOKEN (api scope) and ANTHROPIC_API_KEY (or another LLM key). Review and reply run on merge request pipelines. Full steps: GitLab setup.

Start from this repo's bitbucket-pipelines.yml. It runs reply, then review, with --provider=bitbucket. Add two secured repository variables: AI_REVIEW_TOKEN (access token with pullrequest:write) and the LLM key named in your config. Bitbucket Pipelines has no comment trigger, so replies are read on the next push. Bitbucket Server and Data Center are not supported. Variables: review provider.

No pipeline template yet (help wanted). In a pull request validation build, run reply and then review with --provider=azure-devops. Use a PAT in AZURE_DEVOPS_TOKEN or the pipeline's System.AccessToken, plus your LLM key. Variables and azure.* config keys: review provider.

LLM providers

Review and reply each pick a provider, so you can use a strong model for review and a cheap one for replies. Backup models can switch provider when one fails (model failover).

| Provider | Action input | Notes | |---|---|---| | Anthropic (default) | anthropic-api-key | Defaults: review claude-opus-4-7, reply claude-haiku-4-5-20251001 | | Gemini | gemini-api-key | Set review-provider: gemini | | DeepSeek | deepseek-api-key | Set review-provider: deepseek | | OpenRouter (many models, one key) | openrouter-api-key | Private routing by default (data_collection: deny); cost is OpenRouter's billed amount | | ModelStack (OpenAI-compatible gateway) | modelstack-api-key | Add a pricing: block, otherwise cost shows as $0 | | Any OpenAI-compatible endpoint, including local models | config review.apiBaseUrl | The key may be empty for local models |

Switching provider, models and pricing: configuration reference.

Privacy

Your code goes to the LLM provider you choose, and nowhere else. There is no Owlet Lens server.

  • Sent: the pull request diff, files the diff imports, files in review.contextPaths and review.codingStandardsPath, and the replies it judges.
  • Scrubbed: secret-shaped text (keys, tokens, passwords, connection strings) becomes [REDACTED] before sending. This is pattern matching, not a guarantee.
  • Not scrubbed: contextPaths and coding-standards files are sent as they are. Keep secrets out of them.
  • Fallback models on another provider send your code to that provider too.

Per provider: LLM data policy. Report a vulnerability: SECURITY.md.

How it compares

Based on each project's public documentation, checked 10 November 2026.

| | Owlet Lens | CodeRabbit | PR-Agent | Copilot code review | |---|---|---|---|---| | License | Apache-2.0 | Hosted service | MIT | Part of GitHub Copilot | | Runs | In your CI | Their cloud; self-hosted for Enterprise | CLI, Action, Docker | GitHub | | Platforms | GitHub, GitLab, Bitbucket Cloud, Azure DevOps | GitHub, GitLab, Bitbucket, Azure DevOps | GitHub, GitLab, Bitbucket, Azure DevOps, Gitea | GitHub, Azure DevOps (preview) | | Your own AI model | ✅ Incl. local models | ❌ | ✅ Incl. local models | ❌ | | Cost | LLM usage only | Per-developer plans | LLM usage only | Copilot plan | | Closes or reopens its threads from each reply's verdict, no command needed | ✅ | ❌ | ❌ | ❌ | | Proposes rules from findings your team declined | ✅ | ❌ | ❌ | ❌ |

Documentation

| Topic | Read | |---|---| | GitHub Action: workflow, conversation-tab replies, reusable workflow | docs/github-action.md | | Commands, inputs, exit codes, strict mode, token permissions, version pinning | docs/usage.md | | Every ai-review.config.yaml key | docs/config.md | | Team lead gate: hold the review until a named lead starts it | GitHub · GitLab · Bitbucket · Azure DevOps | | FAQ: cost, languages, forks, noise, blocking merges | docs/faq.md | | Example configs and pipelines | examples/ | | Full index, including architecture decisions | docs/README.md |

Community

Owlet Lens is young and shaped by its users. Questions, ideas and show-and-tell go in Discussions. Bugs go in Issues.

Help wanted:

  • A Gitea / Forgejo review provider
  • Bitbucket Server / Data Center support
  • An Azure DevOps pipeline template and init support
  • Review-quality reports on your language or stack

New here? Start with a good first issue. CONTRIBUTING.md covers running it locally, the code map and the test suite (116 test files; CI fails any library file under 80% line coverage).

If Owlet Lens saves your team review time, a ⭐ helps others find it.

License

Licensed under the Apache License 2.0. Copyright 2026 Open Web Technology Vietnam LLC.

The name Owlet Lens and its logo are not covered by the license: see TRADEMARKS.md and NOTICE.