Architecture Board · kami diagram
{{System name}} architecture board
Kaku: a WezTerm core, rewired for AI coding
WORKSPACE VIEW · 2026-07
Defaults ship on day one, Lua customization stays, and the AI engine is the fork's real addition.
01 · PLATFORM SURFACE
WHO KAKU SERVES
AI coding sessions
in-terminal assistant
ai_chat_engine · ai_tools
Daily terminal work
panes · tabs · workspaces
local, ssh, mux domains
macOS desktop
theme follows the system
notarized DMG app
Shell suite
curated zsh plugins
prompt · diff · navigation
02 · GUI SHELL · KAKU-GUI
GPU FRONT END
Window frontend
frontend.rs · macos
events · commands
GPU glyph pipeline
glyphcache · shaders
custom glyphs
Input map
inputmap.rs · commands.rs
keys to actions
AI chat engine
ai_client · conversations
auth · state · remote
03 · TERMINAL CORE
INHERITED FROM WEZTERM · TRIMMED
Multiplexer
pane · tab · domain
mux crate
PTY layer
child shell processes
pty crate
Escape parsing
vtparse · escape-parser
bytes to actions
Cell model
surface · cell · termwiz
grid state · attributes
04 · MAIN AXIS · INPUT TO PIXELS
THE PATH EVERY KEYSTROKE TAKES
Keystroke
user intent
Input map
kaku-gui
PTY · shell
pty crate
Escape parse
vtparse
Cell grid
surface
GPU frame
glyphcache
AUX · AI PATH: PROMPT → AI_CHAT_ENGINE → AI_CLIENT → PROVIDER API
05 · CONTROL PLANE & GOVERNANCE
HOW THE FORK STAYS MAINTAINABLE
CONFIG
THEME
DISTRIBUTION
UPSTREAM
Lua end to end
config · lua-api-crates
config_tui · doctor
Follows macOS
kaku_theme · color-funcs
dark and light tuned
Notarized DMG
GitHub releases
brew tw93/tap/kakuku
WezTerm fork
core crates tracked
40% smaller binary
LEGEND
Focal · the fork's addition
Band · peers share one shell
Main axis
Crate-level detail lives in the workspace docs; this board carries the spine.
One focal per board: the AI chat engine, the piece this fork actually adds. Bands group peers behind thin dividers, governance sits in a table shell, and the only brand-colored line on the page is the main axis.