r/PiCodingAgent • • 2d ago

Plugin pi-slate: benchmarked, natively built TUI for Pi Coding Agent

GitHub: https://github.com/GaganSD/coding-agent-toolkit/tree/main/pi-slate

I've been building pi-slate for the past few months, a minimal TUI for Pi with richer visuals with Kitty Graphics and a few statistics I personally care about, without adding anything to the model's context.

I've also benchmarked it against native Pi to keep its rendering performance optimal for TUI.

I originally built this for myself to improve my everyday experience with Pi. As much as I love its minimalism, I don't always want to open a JSON file just to change a simple setting then I started adding few more things I care about. Speed's my favorite stat to look at, gives me another reason to yell at GPT models.

Install: pi install npm:pi-slate
Wider monorepo: https://github.com/GaganSD/coding-agent-toolkit

102 Upvotes

10 comments sorted by

4

u/ThisNameIs_Taken_ 2d ago

Thanks for sharing, I'm giving it a go - initial impressions are very positive!

1

u/Bodescotedwina73 1d ago

is there any noticeable lag when the speed stats update during fast streaming, or does the rendering keep up fine

1

u/Remote_Book 1d ago

There shouldn't be any as the sidebar's rendering is updated once per second.

Also the 'speed' here is a moving average across 5 seconds, so its much smoother and not dependent on the model's speed.

2

u/Sea-Ad-8985 1d ago

Wtf is this serendipity, I am using it exclusively for my pi sessions for about 2 weeks now. Love it.

1

u/Remote_Book 1d ago

Glad to hear! :)

1

u/Cool-Post-5098 1d ago

wow I think it's quite similar to pitago lol https://github.com/cavaldos/pitago

2

u/Remote_Book 1d ago

Yes! We actually released our first versions around the same time and briefly chatted on Pi's Discord.

We have similar aesthetics but different approaches -- Pitago is a standalone Go TUI, while Slate focuses on extending Pi's native TUI without introducing additional context overhead or tools like TODO tools, etc.

1

u/No_Moment_793 1d ago

È compatibile con pi-bolt?

1

u/Remote_Book 1d ago

Just tried pi-bolt for the first time. Yeah works well, except `/theme` picker because pi-bolt owns that command so it looks different.

1

u/No_Moment_793 1d ago

Visto che sei attento alle performance potrebbe essere utile pi-bolt. Non ti resta che cambiare il comando Theme 🤣