ACP Support
OpenCode supports the Agent Client Protocol (ACP) for agent communication.
Starting ACP Server
opencode acpCommunication occurs via stdin/stdout using nd-JSON format.
Flags
| Flag | Purpose |
|---|---|
--cwd | Working directory |
--port | Server port |
--hostname | Server hostname |
Protocol
ACP enables standardized communication between agents and clients.