Cheat Sheet · Commands & Shortcuts
OpenCode
A starter reference for OpenCode, the open-source, model-agnostic terminal agent. Commands and shortcuts, expanded as the project grows.
Early access. OpenCode is new and moving fast, this reference covers the essentials and grows with each release.
Getting started
opencode | Start an interactive session in the current directory |
/help | List available commands |
/models | Switch the model / provider |
Run an agent without the setup
Spin up a hosted open-source AI agent with Creative Tim, bring your own key or run it on credits.
Frequently asked questions
Why pick an open-source agent?
Openness gives you model flexibility, self-hosting and no lock-in, the same philosophy behind Creative Tim's hosted open-source agents.
Compare OpenCode