Openbar for Grok CLI
xAI's Grok Build, the grok command, gets its own rows in the island, and where its terminal takes keys you approve it there too.
What you can do from the island
Approve in the island
Where its terminal takes keys, Openbar answers Grok's prompt for you: Return for yes, Ctrl+C for no, which also cancels the turn. Elsewhere you answer in Grok CLI.
Reply from the island
Type or speak a reply and Openbar sends it to the session's terminal.
Diffs, tools and model
A file change's diff, the tools the session ran, its model and, with previews on, its prompt 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 Grok CLI it is a hooks file in ~/.grok/hooks/ (or GROK_HOME).
The same island runs on Mac, Windows 11 and Linux. Download Openbar, free and with no account.
Questions
Which Grok CLI does Openbar support?
xAI's own Grok Build (@xai-official/grok). The community grok-cli has no hooks the island uses.
Are Grok's questions answered in the island too?
No. Its questions are answered in Grok CLI; the island answers its permission prompts.
What happens when Openbar isn't running?
Nothing changes. With Openbar closed its hook connects to nothing and exits at once, so the agent asks in its terminal as usual.