Skip to main content
@outlit/pi registers Outlit customer intelligence tools inside Pi. Use it when you want a Pi agent to query complete customer profiles, timelines, facts, sources, and customer-context search results through Outlit’s public tool gateway.

Install

Set an Outlit API key before starting Pi:

Default Tools

The default Pi extension exposes the customer intelligence tools that are safe for most agents: SQL tools are available through @outlit/tools, but they are not enabled by default in @outlit/pi. Use them only for agents that should run read-only SQL.

Minimal Extension

If you only need the Outlit tools and the bundled outlit Pi skill, the package default is enough:
The extension reads OUTLIT_API_KEY from the environment and uses https://app.outlit.ai by default.

Custom Toolsets

Pass toolNames when you want a narrower or broader toolset:
piToolNames includes SQL and the broader Pi-supported Platform surface. The default membership comes directly from Core’s default consumer policy and contains only the nine read-only customer intelligence tools above; import analyticalToolNames for that same policy plus outlit_schema and outlit_query. The broader Pi policy includes the product-facing Feature list, create, archive, and customer-usage tools. The default and analytical policies remain unchanged.

Growth Agent Examples

The examples/pi-agents package shows four Pi agents built on @outlit/pi for revenue and retention work. It includes:
  • Outlit customer intelligence, SQL, and schema tools registered in Pi
  • the generic outlit skill from @outlit/pi
  • a shared growth-agent skill with evidence-gathering playbooks
  • a local usage-decay churn pretriage helper with a churn.json config
  • slash commands and editable prompt templates for usage decay, friction-to-churn, activation failure, and expansion readiness
Try it locally from the SDK repo:
The example package currently uses the canary dist-tag for @outlit/pi and @outlit/tools so fresh installs include the latest public tool contracts before the next stable release is promoted. Then ask:
or:

Public Tool Gateway

See the HTTP route and shared @outlit/tools contracts

Agent Skills

Install Outlit guidance for coding agents