pi-tps
TPS stats widget with waterfall trace visualization for pi coding agent
Package details
Install pi-tps from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-tps- Package
pi-tps- Version
1.0.0- Published
- May 5, 2026
- Downloads
- not available
- Author
- summertime-wu
- License
- MIT
- Types
- extension
- Size
- 35.7 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"extensions"
],
"image": "https://pic1.imgdb.cn/item/69f9fb66a5f82cd27f48c614.png"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-tps
TPS (tokens per second) stats widget with waterfall trace visualization for pi coding agent.

Features
- Real-time TPS (tokens per second) display
- Token usage tracking (input/output)
- Waterfall trace visualization
- Tool call monitoring
- Thinking token stats
- TTFT (time to first token) tracking
- Color presets (morandi, forest, ocean, retro, ice, dusk, mono, nord)
Install
pi install npm:pi-tps
Usage
The widget appears automatically in the pi TUI status bar.
Commands
/pi-tps- Configure display settings
Configuration
Config file: ~/.pi/agent/pi-tps.json
{
"showTraces": true,
"showStats": true,
"showTtft": false,
"colorPreset": "mono",
"maxTraces": 100,
"maxDetailed": 6
}
License
MIT