piagent_
← ~/map

$ cat ~/map/pi-open-tui.md

pi-open-tui

Polished terminal interface for pi: model/thinking header, runtime-aware footer, framed editor, turn metrics (TPS / TTFT / stalls / cost), and 50+ runtime detectors — all configurable from /open-tui.

extensions✓ Oct 16

Facts

repository
github.com/OldSuns/pi-open-tui ↗
GitHub Stars
★ 111
Forks
31
license
MIT
npm / mo
—
last push
Oct 2, 2026

install

pi install npm:pi-open-tui

## TL;DR

A polished terminal interface extension for pi — configurable header and footer with Git state and runtime detection for 50+ runtimes, turn telemetry, and an interactive /open-tui settings dialog in English and Simplified Chinese.

## Key points

## FAQ

Q How do I try it without installing?

Run pi -e npm:pi-open-tui to load the extension for a single session; pi install npm:pi-open-tui makes it permanent.

Q Icons render as boxes — what should I do?

Install a Nerd Font and select it in the terminal profile (in VS Code and Windows Terminal, configure the profile rather than just installing at the OS level), then set icons.mode to nerd in /open-tui — or use ascii mode, which needs no patched font. The default auto mode detects the terminal environment, not the installed font file.

Q Where do settings live?

In ~/.pi/agent/open-tui.json, edited via the /open-tui dialog; settingsLanguage switches the dialog between en and zh.

## References

## Related entries

Last updated: Aug 31, 2026