Openbar for OpenCode
A small plugin inside OpenCode hands its sessions to the island: permissions, replies, the model, tokens and cost.
What you can do from the island
Approve in the island
Once, always or reject, answered through OpenCode's own plugin API.
Reply from the island
Typed or spoken, sent to the session through the plugin.
Model, tokens and cost
Each row shows the session's title, tools, model, tokens, cost and last reply.
Set it up
- Install Openbar, then in its Settings install AI Agents in the Features hub and turn on Sessions under Dynamic Island.
- Openbar finds the agent by itself: when Sessions starts, it adds its hooks next to yours, after a backup. A tool installed later is picked up too. Turning the agent's switch off takes out only what Openbar added. For OpenCode it is a plugin in ~/.config/opencode/plugins/.
The same island runs on Mac, Windows 11 and Linux. Download Openbar, free and with no account.
Questions
Does it need OpenCode's server?
No. The plugin runs inside OpenCode and acts through its in-process client, so it works in the terminal UI too.
What happens when Openbar isn't running?
The plugin reaches nothing and OpenCode asks as usual. When Openbar starts again, the plugin tells it about its sessions.
Does Openbar send my prompts anywhere?
No. Prompts, replies and commands stay on your machine, and they are hidden in the island until you turn on Show previews. Openbar sends one anonymous usage ping a day, which you can switch off.