Models Presets
Provider-agnostic OpenCode TUI plugin for assigning models, variants, and presets to agents.
0
504
461 in 7 days
36.6
Multi-signal model
3 days ago
2026-10-01
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-models-presets@0.3.5"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-models-presets@0.3.5"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-models-presetsOpenCode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Assign models and variants to OpenCode agents, review the changes, and save reusable presets. The plugin uses the live agents and models from your OpenCode server instead of a hardcoded catalog.
Install
Requires OpenCode >=1.17.15 <2.
opencode plugin opencode-models-presets --global
To pin the first automated npm release:
opencode plugin opencode-models-presets@0.3.1 --global --force
Restart OpenCode, then press Ctrl+P and choose Configure model presets, or run /models-profiles.
Use
- Choose project or global scope.
- Start from live agents, an optional profile, or a saved preset.
- Keep, replace, or inherit assignments.
- Review and apply the changes.
See Configuration for profiles, presets, storage, and write safety.
Configure options
Options live beside the npm package spec in tui.json:
{
"plugin": [
["opencode-models-presets", {"profilesDir": ".opencode/model-profiles"}]
]
}
Relative profile paths resolve from the active project.
Update or remove
Keep "opencode-models-presets" to follow latest. To pin a release, use "opencode-models-presets@<version>".
To remove the plugin, delete only its matching string or tuple from the global tui.json, preserve every other entry, and restart OpenCode. There is no global npm installation to uninstall.
Develop
See Contributing to load local source and run checks.
Help
Similar plugins
Agents Sidebar
opencode-agents-sidebar
Universal OpenCode TUI sidebar for browsing provider agents and subagents
Speed Measure Opencode
speed-measure-opencode-plugin
OpenCode TUI plugin to display LLM prefill and decode speeds in the sidebar
Resolve
opencode-resolve
OpenCode plugin that adds a lightweight resolver/coder harness for continuous agentic coding.