opencode

AI-powered coding agent that runs in your terminal

brewmacoslinux
Try with needOr install directly
Source

About

AI coding agent, built for the terminal

Commands

opencode

Examples

Start an interactive coding session with AI assistance$ opencode
Generate code for a specific task$ opencode 'create a python function to parse JSON files'
Get AI help debugging code in current directory$ opencode 'debug my code and suggest fixes'