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 read-only: 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:
Use the default policy for nine read-only customer tools. Use analyticalToolNames when the agent also needs outlit_schema and read-only outlit_query (11 tools total). piToolNames is broader: it includes SQL, customer relationship and Attention reads, customer ownership and access actions, Feature tools, workspace configuration, and outlit_submit_feedback for product feedback intake. Choose the smallest set your Pi agent needs.

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:
Then ask:
or:

Public tool gateway

See the HTTP route and shared @outlit/tools contracts

Agent skills

Install Outlit guidance for coding agents