Launch native agent UIs through shared tmux hosts - #21
Merged
Merged
Conversation
ScottRBK
commented
Sep 6, 2026
ScottRBK
left a comment
Owner
Author
There was a problem hiding this comment.
please remove the two invalid documents from the poc but aside from that it is good to go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AgentShell can now launch each agent's actual interactive UI in tmux while exposing shared
input, event observation, and lifecycle control. Supports Codex, Claude Code, Pi, OpenCode,
Copilot CLI, Cursor, and Grok without requiring an app server or reconstructing their UIs.
open_interactive()and shared terminal/worker infrastructure; harness-specific setupand event parsing remain in adapters. Capabilities describe each harness's available events.
caller. Numeric session targets use exact matching.
resources, preserving replacements even after server restarts. Startup cleanup also covers
interrupted launches and
remain-on-exit.after the CLI exits, including when terminal job-control signals suspend the harness.
and allows effort selection for health probes. No new Python dependencies.
Validation: 1,050 unit/integration tests passed, including 23 new cleanup regression cases.
Real tmux tests use explicitly isolated servers and check input, layout, focus, process
lifecycle, and preservation of borrowed resources. Real Codex/Pi split E2Es passed.
An independent Astra xhigh review approved the final cleanup changes.
Provider-wide E2Es have not all passed: previous runs encountered Claude usage limits and
Copilot account-budget and interactive trust blockers. Interactive hosts remain experimental,
support NoIsolation only, and expose differing metadata capabilities across harnesses.