What problem does it solve? Delegating coding work to an external autonomous agent requires managing CLI flags, interactive TUI sessions, background processes, and session lifecycles, which is error-prone without clear operational guidance. ## Core Features & Use Cases - One-Shot Task Execution: Run bounded coding tasks with opencode run, attaching context files and forcing specific models. - Interactive Background Sessions: Drive the OpenCode TUI via pty sessions, submitting prompts, polling progress, and resuming prior sessions. - PR Review & Parallel Work: Review pull requests with opencode pr and run parallel tasks in isolated workdirs or git worktrees. - Use Case: Ask the agent to implement OAuth refresh token handling with tests in your repository; it launches OpenCode in the project directory, monitors progress, and reports files changed and test results. ## Quick Start Use OpenCode to add retry logic to the API calls in this project and update the tests, then summarize what changed.