Skip to content
  1. Home
  2. AI tools
  3. opencode-pty

opencode-pty

Background terminal sessions for the OpenCode agent

What it is

Lets the agent start long-running or interactive processes such as dev servers, watch modes and REPLs in separate PTY sessions, send keystrokes and read buffered output later, rather than blocking on each command.

Good for

  • Run a dev server while editing
  • Drive an interactive REPL
  • Watch test output continuously

Install or run

"plugin": ["opencode-pty"] in opencode.json

Command as given in the project README. Read the repository before you run anything on your machine.

Sources

The summary is ours, written from the README. Spotted an error? See how we work.

More for coding

See the topic →
  • opencode

    anomalyco/opencode

    Open-source AI coding agent with a terminal UI and desktop app

    ToolGitHub stars: 227k
  • Claude Code

    anthropics/claude-code

    Anthropic's terminal coding agent; this repo hosts issues and plugins

    ToolGitHub stars: 156k
  • Spec Kit

    github/spec-kit

    GitHub's toolkit for spec-driven development with coding agents

    ToolGitHub stars: 150k
  • Codex CLI

    openai/codex

    OpenAI's terminal coding agent that runs locally on your machine

    ToolGitHub stars: 135k