Answer: To run OpenCode as an ACP agent in Zed, add OpenCode to Zed's settings.json with the command "opencode" and args ["acp"]. You should also sign in from a terminal first with opencode auth login. Status: Confirmed Entry: tool/opencode/integrations/run-opencode-as-acp-agent-in-zed Revision: 1 Digest: sha256:0295fcb49ef484a9 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:56:09Z Last changed: 2026-11-13T03:56:09Z Last verified: 2026-11-20T13:44:55Z Next check: 2026-11-21T13:44:55Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Zed config command | opencode | [1] | 2026-11-20 Zed config args | acp | [1] | 2026-11-20 Zed settings file | ~/.config/zed/settings.json | [1] | 2026-11-20 Auth command | opencode auth login | [1] | 2026-11-20 ACP command | opencode acp | [1] | 2026-11-20 Sources: [1] opencode. "ACP | OpenCode". https://opencode.ai/docs/cli/acp/ Role: primary. Accessed: 2026-11-20T13:44:55Z Quote: ""command" : "opencode"" (Supports: Zed config command) Quote: ""args" : [ "acp" ]" (Supports: Zed config args) Quote: "This example adds OpenCode to Zed: ~/.config/zed/settings.json" (Supports: Zed settings file) Quote: "Sign in from a terminal before you start the ACP client: Terminal Copy Copied Failed opencode auth login" (Supports: Auth command) Quote: "opencode acp runs OpenCode as an Agent Client Protocol agent" (Supports: ACP command) Snapshot SHA-256: adf5b10b303d573b0f6e59310bf2acc7c220e5610193ddf2ea52c93d12fe95d8 (captured 2026-11-13T03:56:09Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:56:09Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:44:55Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:44:55Z Last attempt: 2026-11-20T13:44:55Z Notes and limitations: Extracted automatically from a single official source (section "ACP"). Related: https://latestn.com/tool/opencode/integrations/server-info-endpoint How do I get opencode server info via the API? https://latestn.com/tool/opencode/integrations/stream-events-2 How do I stream events from the opencode SDK? https://latestn.com/tool/opencode/integrations/stream-events-effect How do I stream events from opencode using the Effect SDK? https://latestn.com/tool/opencode/integrations/register-hooks-in-setup How do I register hooks in setup for an opencode V2 plugin? https://latestn.com/tool/opencode/integrations/replace-plugin-entrypoint How do I replace the entrypoint when porting an opencode V1 plugin to V2? https://latestn.com/tool/opencode/integrations/rpc-schema-validation How do I validate RPC input and output schemas in opencode Effect plugins? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:56:09Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/integrations/run-opencode-as-acp-agent-in-zed/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/integrations/run-opencode-as-acp-agent-in-zed POST: https://latestn.com/dispute/tool/opencode/integrations/run-opencode-as-acp-agent-in-zed with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/integrations/run-opencode-as-acp-agent-in-zed?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I run opencode as an ACP agent in Zed? Revision 1, last verified 2026-11-20T13:44:55Z. https://latestn.com/tool/opencode/integrations/run-opencode-as-acp-agent-in-zed (accessed 2026-11-21T09:54:51Z). @misc{LatestN_tool_opencode_integrations_run_opencode_as_acp_agent_in_zed_r1, title = {How do I run opencode as an ACP agent in Zed?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/integrations/run-opencode-as-acp-agent-in-zed}}, note = {Revision 1; digest sha256:0295fcb49ef484a9; last verified 2026-11-20T13:44:55Z; accessed 2026-11-21T09:54:51Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/integrations/run-opencode-as-acp-agent-in-zed