Skip to content

Architecture Overview

glib is a BentoTUI shell with four first-class modes and one repo-scoped PI process.

glib shell (Bubble Tea + BentoTUI)
|- PROJECTS mode
|- DIFF mode
|- GIT mode
|- PI mode
|
+-- pi --mode rpc --cwd <repo>
stdin/stdout JSONL transport
  • Go
  • Bubble Tea v2
  • Lipgloss v2
  • BentoTUI v0.6+
  • bento-diffs
  • glib owns everything the user sees and navigates.
  • pi owns execution and assistant reasoning work.
  • shell composition is built around rooms.Focus(...) with an anchored footer.