Repository navigation
Add Grok CLI as a built-in agent - #4
Open
edimitchel wants to merge 1 commit into
Open
edimitchel wants to merge 1 commit into
edimitchel wants to merge 1 commit into
Conversation
|
@cursoragent is attempting to deploy a commit to the seanbrydonio's projects Team on Vercel. A member of the Team first needs to authorize it. |
cursor
Bot
force-pushed
the
cursor/grok-cli-agent-bec8
branch
9 times, most recently
from
October 13, 2026 15:19
eae3aee to
3d6b2e2
Compare
Register grok (xAI Grok Build) next to Claude Code, Codex, Cursor, OpenCode and Gemini: last-arg prompt, --model and --effort. When the CLI is present, integrations install writes ~/.grok/hooks/berth.json so Berth can show working, needs-you and done. berthd agents install grok and the guided picker run xAI's documented installer (https://x.ai/cli/install.sh) and link ~/.grok/bin/grok into ~/.local/bin. Skills and MCP stay out until Grok has a documented path for them. Co-authored-by: Michel EDIGHOFFER <edimitchel@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/grok-cli-agent-bec8
branch
from
October 15, 2026 09:00
3d6b2e2 to
9409f05
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Grok CLI (xAI Grok Build) was only usable through a custom
.berth/config.jsonagentsentry, with no session-state hooks. This adds it as a built-in preset and, because Grok Build documents Claude-style hooks, installs those hooks the same way as the other agent CLIs.Fixes #2
What changed
grok/ Grok CLI: commandgrok, first prompt as the last argument (grok "fix the bug"),--modeland--effortfrom the CLI (nonethroughmax). Offered whengrokis on the box's PATH, like the other built-ins.berthd integrations install grok(and auto-detect /all) writes~/.grok/hooks/berth.jsonforSessionStart,UserPromptSubmit,PostToolUse,Notification,Stop,StopFailure,StopCancelled, andSessionEnd.sessionId,notificationType) and treatspermission_promptas needs-you.idle_promptandtask_completesettle a turn that never reportedStop; they are not questions.Not in this PR
Tests
grok --model … --effort … '…') andagentOfinstall alllists includegrok