@outlit/pi
Pi package for Outlit customer intelligence tools and skill guidance
Package details
Install @outlit/pi from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@outlit/pi- Package
@outlit/pi- Version
2.1.3- Published
- Sep 8, 2026
- Downloads
- 3,096/mo · 689/wk
- Author
- leo.paz
- License
- Apache-2.0
- Types
- extension, skill
- Size
- 62.2 KB
- Dependencies
- 1 dependency · 2 peers
Pi manifest JSON
{
"skills": [
"./skills"
],
"extensions": [
"./dist/extension.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@outlit/pi
Pi package for Outlit customer intelligence tools.
Outlit is the real-time understanding of every customer, the infrastructure agents use to automate customer operations.
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_customersoutlit_list_usersoutlit_get_customeroutlit_get_timelineoutlit_list_factsoutlit_get_factoutlit_get_sourceoutlit_list_sourcesoutlit_search_customer_context
SQL and the other Pi-supported Platform capabilities are available from @outlit/tools, but the default Pi policy intentionally stays focused on customer intelligence. A custom Pi extension can opt into every Pi-supported tool with piToolNames, including customer relationship and Attention reads, customer ownership and access actions, product-facing Feature list, create, archive, and customer-usage tools, plus safe integration setup, destination, activation, and workspace-settings actions. The default and analytical policies remain unchanged.
For analytical agents that need cohorts, usage trends, revenue filters, activation gaps, or aggregate checks, import analyticalToolNames. It combines the default customer intelligence tools with outlit_schema and outlit_query without exposing every customer tool:
import { analyticalToolNames, createOutlitPiExtension } from "@outlit/pi"
export default createOutlitPiExtension({
toolNames: analyticalToolNames,
})
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 evidence. Public filters include customer-memory facts and relationship transitions such as CONTACT_DEPARTURE, CONTACT_POSITION_CHANGE, and CONTACT_DISENGAGEMENT. 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 { createOutlitPiExtension, piToolNames } from "@outlit/pi"
export default createOutlitPiExtension({
toolNames: piToolNames,
})
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.
Canonical Docs
- Pi agents: https://docs.outlit.ai/ai-integrations/pi
- Tool gateway API docs: https://docs.outlit.ai/api-reference/tools
- Agent skills: https://docs.outlit.ai/ai-integrations/skills
- MCP integration for remote MCP clients: https://docs.outlit.ai/ai-integrations/mcp
- Agent-facing docs index: https://docs.outlit.ai/llms.txt