What desktop apps for coding agents add to Claude Code and Codex A developer who maintains Yardlet, a free open-source Mac app for running coding agents like Claude Code and Codex in one window, surveyed how desktop agent apps detect agent state. The approaches range from hooks written into an agent's global settings files, which persist after the app is removed and run in every session, to per-process wrapper hooks injected via Claude Code's --settings flag and Codex's -c overrides, to reading the OSC 7501 Program Status Protocol escape sequence that Claude Code 2.1.295 added and Codex now reports. The developer notes that a May cmux release added --allow-dangerously-skip-permissions to every claude launch, pushing ordinary starts down Claude Code's dangerous-mode path until the maintainer removed it the same day. I make Yardlet https://github.com/zzunkie/yardlet , a free, open-source Mac app that runs coding agents like Claude Code and Codex in one window. So I make one of the apps in this post, and you should read it with that in mind. I've linked every claim to the app's own code at a fixed commit or to its documentation, as of November 13, 2026. Where I couldn't find out, I say so. An app that runs several agents at once has to know what each one is doing: working, waiting for you, or done. Claude Code and Codex were built to be used directly, so each desktop app picks its own way to find out. That choice decides what the app adds to the agent and what stays on your Mac after you stop using it. Apart from Yardlet, each app here is a commercial product or part of an open-source project with at least 10,000 stars on GitHub. Hooks in the agent's own settings. Claude Code and Codex both run commands you register at points in a session: when a turn ends, when the agent needs permission, when it sends a notification. Both document this as an extension point. Claude Code reads hooks from ~/.claude/settings.json for every project, from a project's .claude/settings.json and a few other places docs https://code.claude.com/docs/en/hooks ; Codex reads them from ~/.codex/hooks.json or a hooks table in ~/.codex/config.toml , and asks you to review and trust a hook before it runs docs https://learn.chatgpt.com/docs/hooks . A hook registered there tells the app exactly when a turn ends or a permission prompt appears, even when the agent runs as its normal terminal UI, and it works for any agent that has hooks. The catch is where it lives. A hook in your global settings runs in every session of that agent, including the ones you start in Terminal with the app closed, and it stays after you drag the app to the Trash unless something removes it. Orca and Paradev Superset until October work this way, and both make their hooks exit at once outside their own terminals. Hooks for one process. A terminal app can put its own claude and codex in front of the real ones in the shells it opens, as a shell function or a script early on PATH . The wrapper then hands the agent hooks for that process only: Claude Code takes extra settings with --settings