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

@finalrun/finalrun-agent

v0.1.7

Published

AI-driven mobile app testing CLI for YAML-defined tests on Android and iOS

Readme


finalrun-agent is an AI-driven CLI that tests your Android and iOS apps using natural language. You write a plain-English test in YAML, FinalRun launches your app on an emulator or simulator, uses an AI model (Gemini, GPT, or Claude) to see the screen and perform each step — tapping, swiping, typing — and produces a pass/fail report with video and device logs.

Demo

Install

curl -fsSL https://raw.githubusercontent.com/final-run/finalrun-agent/main/scripts/install.sh | bash

Sets up Node.js, the CLI, AI coding agent skills, and platform tools. Run finalrun doctor to verify host readiness.

Write and Run Your First Test Using AI Agents

FinalRun ships skills that let your AI coding agent generate tests, validate workspaces, and run tests — all from chat.

Generate tests

/finalrun-generate-test skill reads your app's source code, infers the app identity, and generates complete test specs with setup, steps, and expected state — organized by feature folder.

Example:

/finalrun-generate-test Generate tests for the authentication feature — cover login with valid credentials, login with wrong password, and logout

The agent will:

  1. Read your source code to understand the UI and infer the app's package name / bundle ID
  2. Set up .finalrun/config.yaml and environment bindings in .finalrun/env/
  3. Propose a test plan with file paths and cleanup strategy for your approval
  4. Generate YAML specs under .finalrun/tests/auth/ and a suite under .finalrun/suites/
  5. Run finalrun check to validate everything

Run tests

/finalrun-generate-test skill validates and run the test once your tests are generated.

Example:

/finalrun-use-cli Run the auth tests on Android

Debug and fix failing tests

/finalrun-test-and-fix skill orchestrates the full generate → run → diagnose → fix loop. It authors tests via finalrun-generate-test, runs them via finalrun-use-cli, reads the CLI artifacts (result.json, actions/, screenshots, device.log) on failure, classifies whether the bug is in the app code or the test, applies the narrowest fix, and re-runs until the run is green.

Example:

/finalrun-test-and-fix Verify and fix the checkout feature end-to-end on Android

How to auto trigger Finalrun to generate and test once feature development is completed

Add this content to your AGENTS.md to auto-trigger Finalrun, so you don’t have to explicitly ask your agent to generate and run tests everytime. This will also let your agent fix issues if there is any error while development

API Keys (BYOK — Bring Your Own Key)

FinalRun uses your own AI provider API key to run tests.

echo "GOOGLE_API_KEY=your-key-here" > .env

| Provider | Environment variable | |---|---| | google/... | GOOGLE_API_KEY | | openai/... | OPENAI_API_KEY | | anthropic/... | ANTHROPIC_API_KEY |

Test runs consume API tokens from your configured provider — standard API billing applies.

Running Tests manually with CLI

finalrun test smoke.yaml --platform android --model google/gemini-3-flash-preview
finalrun suite auth_smoke.yaml --platform android --model google/gemini-3-flash-preview

Documentation

Full docs: docs.finalrun.app

Development

See CONTRIBUTING.md for monorepo structure, build commands, and contributor guidelines.