FAQ

Home > FAQs > AI in OpenCode

How do I get inline AI in OpenCode?

OpenCues patches OpenCode so its prompt box gets the full inline surface: word alternatives you can cycle, _-triggered lookups and rewrites (improve prompt _, volume 40 _), and agent tasks that tidy your prompt as you compose.

Install

Install the CLI with npm install -g opencues, then run opencues install opencode. The installer patches a dedicated fork, so your regular OpenCode install is untouched; launch the patched one with opencues run opencode. Uninstalling reverts the patched files cleanly.

One config, every host

OpenCode reads the same ~/.cues/ directory as every other supported host: your cues, blanks, keys, and settings follow you between tools, and edits hot-reload into a running session within a couple of seconds.

What's host-specific

A per-host tips pack teaches OpenCode's own features in context as you type them, the same continuous-onboarding pattern as every host: type a feature word, see it dim, navigate to it, read the tip in the secondary display.

Related: AI in Claude Code · AI in any text field · Inline AI for terminal users · GitHub repo