Real Terminal Cores for Agent Command Centers

repoaiagentsterminalmacosswiftcliinfrastructureagent-loops

libghostty plus OSC signals maps to joelclaw command-center UI for agent loop progress, context, and notifications.

Supacode is a native macOS command center for terminal coding agents. The line that matters is the stack: The Composable Architecture for app state and libghostty for the terminal surface.

That’s the clever part. Agent work is mostly process supervision, terminal IO, progress, context, and notifications. If the terminal is the product surface, using a real terminal core like Ghostty is a much sharper bet than pretending a text box is enough.

The repo also has Ghostty patches for command wrapping and OSC context signals, plus scripts for notification and progress escape sequences. That points at a useful pattern for joelclaw: terminal control sequences as structured agent telemetry, not just dumb text scraping bullshit.

This is worth remembering for Pi, cmux, and any future native command center around Restate workloads. The terminal can be an app protocol, not just a place where logs go to die.

Key Ideas

  • Supacode frames itself as a native macOS command center for terminal coding agents.
  • The stack pairs The Composable Architecture with libghostty, putting app state and terminal rendering at the center.
  • The repo includes Ghostty patches for command wrapping and OSC context signaling.
  • The bundled scripts for OSC notification and progress signals suggest a terminal-native way to report agent state.
  • The contribution note explicitly prefers well-written issues over vibe-coded pull requests, which is a useful quality boundary for agent-heavy repos.