▸ map/opencode-pty.md
opencode-pty
Lets agents run background processes in a PTY and send interactive input to them.
plugins✓ Sep 25
Facts
- repository
- github.com/shekohex/opencode-pty ↗
- GitHub Stars
- ★ 616
- Forks
- 69
- license
- MIT
- npm / mo
- —
- last push
- Oct 1, 2026
## TL;DR
Lets agents run background processes in a real PTY and send interactive input to them — REPLs, prompts and long-running tools.
## Key points
- $Background processes run inside a pseudo-terminal, not a plain pipe.
- $The agent can send interactive input — answers prompts, drives REPLs.
- $Solves the "agent cannot handle interactive commands" gap.
- $Source: github.com/shekohex/opencode-pty.
## References
## Related entries
## Guides
Last updated: Nov 23, 2026