Agent-to-Agent Terminal Messaging Wiped My Half-Typed Prompt—Fixed by Reading Placeholder Styling
ChemicalExcellent463 · reddit · 2026-12-04
The author runs multiple coding agents that message each other by typing a short wake-up line into the receiving agent's terminal input box. The catch: in tmux, the setup cleared that box before typing, wiping any prompt the human was still drafting; in Orca, the cue got appended after the draft, and Enter sent the whole mess to the agent.
The fix takes two forms:
- tmux: an empty input box shows dimmed placeholder text; actual typed text isn't dimmed. Reading that styling lets the agent detect a human draft, mark the agent busy, and hold the message in a mailbox.
- Orca: screen reads there carry no styling, so the agent types its cue, verifies the box contains exactly that cue, and otherwise removes only what it typed and backs off. If it can't read the box at all, it stops before clearing or sending anything.
Guiding principle: waiting beats deleting the user's work. Remaining problem: abandoned drafts—a forgotten half-sentence can hold up messages since the agent can't tell whether the human is coming back. The author asks how others handle this.
Disclosure: the author builds Sno Station; pairing Gemini with Claude Code or Codex works well, with an install one-liner and GitHub release v2.4.0 linked.
More from coding & agent
- A dozen funded startups automate scientific research, yet no good MCP/CLI for autoresearch loops exists — minhnguyen · 2026-12-04
- Grok Bot launches AI teammates that work in Slack and Teams, learning workflows and collaborating autonomously — thisiskp_ · 2026-12-04
- Solo operator runs a $100K/mo business on ~$1,100/mo of AI, replacing $50K/mo of payroll and SaaS — aryanXmahajan · 2026-12-04
- User deletes 1TB of Claude and Codex generated files, blames soaring memory costs — scaling01 · 2026-12-04
- Developer formalizes nine sciences in Lean: 1,306 definitions and 3,334 proven statements for AI agents — RichardsonDx · 2026-12-04
- Prompt to audit agent-facing docs: replace prose with code, lints, tests and ablation evals — sloppenheimer · 2026-12-04