What problem does it solve?
Delegate complex coding work—implementation, refactoring, and PR review—to an external, provider-agnostic CLI agent so developers can offload routine or long-running engineering tasks while retaining repo-level control.
Core Features & Use Cases
- One-shot automation: Use opencode run for bounded tasks like adding retry logic, fixing a bug, or running targeted reviews without interactive sessions.
- Interactive long-running sessions: Launch the TUI in background mode for iterative development, monitoring, and progressive changes via session IDs and process actions.
- PR review and isolation: Review pull requests safely in temporary clones or separate worktrees to avoid collisions and preserve main branches.
- Operational controls: Binary path resolution, pty requirements for TUI, session polling/logging, and explicit exit/kill patterns for safe process management.
Quick Start
Run OpenCode to add retry logic to the API module, summarize changed files and test results, and report remaining risks.