OSC 7501 gains support from Claude Code, Grok Build and more terminal tools
OSC 7501, a terminal state protocol proposed by Ghostty author Mitchell Hashimoto, is starting to see adoption across coding agents and terminal tools. Anthropic’s Claude Code v2.1.295 and xAI’s Grok Build v1.0.52 already support the protocol, while OpenAI has merged Codex adaptation code on GitHub, though it has not yet appeared in the latest stable release. The protocol lets an agent explicitly report whether it is working, waiting for user input, finished, or in an error state, giving terminals a direct signal instead of forcing them to infer status from loading animations or on-screen text. BlockBeats said several open-source agents have also added support, including Pi v1.1.0, Crush v0.98.0, Oh My Pi v18.8.7, and Docker Agent v1.150.0. OpenTUI, the terminal UI framework used by OpenCode, added an OSC 7501 interface in version 0.6.3, although OpenCode itself has not yet merged its adaptation code. On the terminal side, Rex, cmux, and TUIOS can already receive these state signals.








