Gokin uses the Bubble Tea TUI framework with 3 themes, a command palette, and streaming output.


Themes#

Switch via /theme <name> or the ui.theme config.

Dark (default)#

Deep dark background with soft accents.

ElementColorHex
PrimarySoft Purple#A78BFA
SecondaryBright Cyan#22D3EE
SuccessSoft Green#34D399
WarningWarm Amber#FBBF24
ErrorSoft Red#F87171
MutedNeutral Gray#9CA3AF
TextSoft White#F1F5F9
BackgroundDeep Navy#0F172A
BorderSubtle Slate#1E293B
AccentPink#F472B6
InfoTeal#2DD4BF

macOS#

Apple-inspired theme in SF UI style.

ElementColorHex
PrimarySF Blue#007AFF
SecondarySF Purple#5856D6
SuccessSF Green#34C759
WarningSF Orange#FF9500
ErrorSF Red#FF3B30
TextWhite#FFFFFF
BackgroundDark Gray#1C1C1E
AccentSF Pink#FF2D55
InfoSF Mint#00C7BE

Light#

Light theme for daytime use.

ElementColorHex
PrimaryPurple 600#7C3AED
SecondaryCyan 600#0891B2
SuccessEmerald 600#059669
WarningAmber 600#D97706
ErrorRed 600#DC2626
TextSlate 800#1E293B
BackgroundSlate 50#F8FAFC
AccentPink 600#DB2777
InfoTeal 600#0D9488

Icons#

Message Icons#

IconMeaning
✓Success / Complete
✗Error
⚠Warning
ℹInformation
›Hint
◐Loading
○Waiting
●Active
↷Skipped

Tool Icons (Unicode, no emoji)#

ToolIcon
read▸
write✦
edit△
bash$
glob◇
grep⊙
todo☐
diff±
tree⊞
web_fetch / web_search↗
list_dir◇
ask_user?
git_*⎇
memory / memorize◈
refactor△
code_graph◈
batch / task / test▪
Default·

Command Palette#

Opens via Ctrl+P.

Features:

  • All 35+ commands organized by category
  • Filter by name, description, and arguments
  • Shows unavailable commands with reason (no git repo, no API key)
  • Icons and usage hints

Select Mode#

Ctrl+G — freezes output and enables native text selection for copying.

Press Ctrl+G again to exit the mode.


Markdown Rendering#

Gokin renders Markdown in the terminal via the Glamour library:

  • Styled headers
  • Code blocks with syntax highlighting
  • Lists, tables, links
  • Inline code highlighting

Toggle:

ui:
  markdown_rendering: true

Streaming Output#

Model responses are rendered in real time as they’re generated:

ui:
  stream_output: true

Progress UI#

While agents work, progress is displayed:

  • Current step name
  • Completion percentage
  • Tokens used
  • Execution time

Mouse Mode#

Mouse support in TUI:

ui:
  mouse_mode: enabled    # enabled / disabled

Additional Settings#

ui:
  show_tool_calls: true        # Show tool calls
  show_token_usage: true       # Token statistics
  show_welcome: true           # Welcome on start
  hints_enabled: true          # Contextual hints
  compact_mode: false          # Compact mode
  bell: true                   # Terminal bell on prompts
  native_notifications: false  # macOS Notification Center
GitHub MIT License © Gokin Contributors