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

@outlit/pi

v0.1.4

Published

Pi package for Outlit customer intelligence tools

Readme

@outlit/pi

Pi package for Outlit customer intelligence tools.

Install

pi install npm:@outlit/pi

Set an Outlit API key before starting Pi:

export OUTLIT_API_KEY=ok_...
pi

Tools

The default extension registers the default customer intelligence tools from @outlit/tools:

  • outlit_list_customers
  • outlit_list_users
  • outlit_get_customer
  • outlit_get_timeline
  • outlit_list_facts
  • outlit_get_fact
  • outlit_get_source
  • outlit_search_customer_context
  • outlit_send_notification

SQL tools are available from @outlit/tools, but they are not enabled by default. Notification action tools are included in the default Pi toolset, but they should only be used when the user explicitly asks to send, post, or notify a result. Integration-management commands are intentionally not part of this package.

For analytical agents that need cohorts, usage trends, revenue filters, activation gaps, or aggregate checks, import analyticalAgentToolNames. It combines the default customer intelligence tools with outlit_schema and outlit_query without exposing every customer tool:

import { analyticalAgentToolNames, createOutlitPiExtension } from "@outlit/pi"

export default createOutlitPiExtension({
  toolNames: analyticalAgentToolNames,
})

Skill

This package also ships an outlit Pi skill. Pi loads the skill when you install @outlit/pi as a Pi package:

pi install npm:@outlit/pi

The skill gives the model generic guidance for choosing between customer records, users, timelines, facts, search, sources, and SQL when SQL tools are enabled. It does not add CLI or MCP instructions; it assumes the Outlit tools registered by this package are the available interface.

The facts tool supports factTypes filters for narrowing structured customer-memory evidence. Anomaly detector fact types are not supported as public filters because customers may not have configured core actions, activation paths, or funnels.

Custom Toolsets

Create a small Pi extension when you want a narrower or broader toolset:

import { allCustomerToolNames, createOutlitPiExtension } from "@outlit/pi"

export default createOutlitPiExtension({
  toolNames: allCustomerToolNames,
})

You can also pass apiKey, baseUrl, and fetch directly to createOutlitPiExtension for embedded or test environments.

See examples/pi-agents for complete customer-signal Pi agents built on this package, including usage-decay churn, friction-to-churn, activation-failure, and expansion-readiness examples.