@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
1.0.0- Published
- Aug 6, 2026
- Downloads
- 1,967/mo · 1,250/wk
- Author
- leo.paz
- License
- Apache-2.0
- Types
- extension, skill
- Size
- 58.6 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 customer-facing 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 the full public catalog with allPublicToolNames, including safe integration setup, destination, activation, and workspace-settings actions. Responsibility-only and other internal commands are never part of that public catalog.
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 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 { allPublicToolNames, createOutlitPiExtension } from "@outlit/pi"
export default createOutlitPiExtension({
toolNames: allPublicToolNames,
})
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