#463 · Primary category: AI Coding Assistants

opencode-pty

background-process bun cli opencode opencode-plugin pty terminal typescript

OpenCode plugin for interactive PTY management - run background processes, send input, read output with regex filtering

Project last updated:07/21/26

GitHub Stars

565

Forks

56

Contributors

12

License

MIT

Why we included this project

OpenCode's built-in bash tool runs commands synchronously, so the agent sits and waits whenever a command takes a while. This plugin fixes that by giving the agent real pseudo-terminal sessions: it can start a dev server or database in the background, send it keystrokes, read its output with regex filtering, and hit Ctrl+C when needed. That turns long-running and interactive workflows into something the agent can manage reliably instead of fumbling through. There's also a small React web UI and a REST/WebSocket API if you want a human view of what the agent has running. For teams doing real development with coding agents, this is a practical add-on.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category