Ghoztty is a programmable fork of Ghostty that lets AI agents create windows, split panes, and manage layouts from the command line.
Three idempotent CLI commands give agents full control over your terminal layout.
Create or focus a named terminal window. Auto-launches Ghoztty if no instance is running. Idempotent by name.
Split any pane in four directions. Name the new pane for later targeting. Nest splits to build complex layouts.
Close a named pane or window by target. Closing a nonexistent target succeeds silently, so teardown scripts are safe.
Every window and pane gets a name. Reference them from any command, any process. No PID tracking needed.
Assign colors to windows and panes for instant visual identification. Keep track of your workspace at a glance.
GPU-accelerated rendering, native macOS integration, ligatures, sixel graphics. Everything from Ghostty, plus IPC.
With the Ghoztty plugin installed, Claude manages terminal windows for you.
"Open a terminal with nvim, a build watcher, and a log tail"
# Claude runs these automatically:
ghoztty +new-window --target=ide --command="nvim ."
ghoztty +split --target=ide --name=build \
--direction=down --command="zig build -Doptimize=Debug --watch"
ghoztty +split --target=ide --name=logs \
--direction=right --command="tail -f app.log"
Download the DMG, drag Ghoztty to Applications, and launch it. Ghoztty sets up the ghoztty CLI for you and keeps it working after updates. No terminal commands, no admin password.
Install the ghoztty plugin so Claude Code knows how to drive Ghoztty.
claude plugin marketplace add dzearing/ghoztty-claude-plugin
claude plugin install ghoztty@ghoztty-claude-plugin
That's it. Ask Claude to open windows, create splits, or tear down layouts. It handles the IPC commands automatically.
Free, open source, signed and notarized for macOS.
v1.22.0 · macOS 13+ · All releases
Lets Ghoztty on your Mac open terminals on a Windows machine, from anywhere. The agent connects outbound over WSS and keeps itself up to date.
Ghoztty-Agent-<version>-x64.msi. Per-user install, no admin required.The agent keeps itself up to date automatically and starts at logon. Uninstall any time from Settings → Apps.
Paste into PowerShell on the Windows machine to install and enroll without the MSI.
irm https://ghoztty-relay-dz17575.westus2.cloudapp.azure.com/dl/install.ps1 | iex
Or download ghoztty-agent.exe directly.