OpenCode: an open source AI coding agent that works on the terminal.

To install run the script

curl -fsSL https://opencode.ai/install | bash

Launch and connect to an LLM:

opencode
/connect

Go to platform.openai.com and create your API key. Enter the key in OpenCode and complete the Organization verification process on openai site, that involves uploading a photo of a Govt ID proof and your photo in frontal and side profiles from a phone.