@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
Default Tools
The default Pi extension exposes the customer intelligence tools that are safe for most agents:| Tool | What it does |
|---|---|
outlit_list_customers | Browse customers by billing status, activity, revenue, traits, or name |
outlit_list_users | Browse contacts by journey stage, activity, customer, traits, email, or name |
outlit_get_customer | Retrieve one complete customer profile |
outlit_get_timeline | Retrieve customer activity across product, billing, support, and conversation channels |
outlit_list_facts | List structured facts with status, source type, date, and provenance filters |
outlit_get_fact | Retrieve one exact fact |
outlit_get_source | Retrieve one exact source record behind a fact or search result |
outlit_search_customer_context | Search grouped source and fact results with natural language |
@outlit/tools, but they are not enabled by default in @outlit/pi. Use them only for internal agents that should run read-only SQL.
Minimal Extension
If you only need the Outlit tools and the bundledoutlit Pi skill, the package default is enough:
OUTLIT_API_KEY from the environment and uses https://app.outlit.ai by default.
Custom Toolsets
PasstoolNames when you want a narrower or broader toolset:
allCustomerToolNames includes the SQL tools. Keep integration setup and integration-management actions outside customer-facing Pi agents unless you are building an internal admin package.
Growth Agent Examples
Theexamples/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
outlitskill from@outlit/pi - a shared growth-agent skill with evidence-gathering playbooks
- slash commands and editable prompt templates for usage decay, friction-to-churn, activation failure, and expansion readiness
Public Tool Gateway
See the HTTP route and shared
@outlit/tools contractsAgent Skills
Install Outlit guidance for coding agents