GrokBot
Hand work to your Grok Bot bots from Fabric Agents, on macOS and Linux, with the sign-in of the Grok Bot desktop app.
A GrokBot connection sends each message to one of your Grok Bot bots, which works on its cloud computer, and shows its reply, approvals and questions in the session. Every bot on your account appears as a model.
What you need
- The
grokbotCLI:npm install -g grokbotagent-cli. - The Grok Bot desktop app, installed on the same computer and signed in.
How Fabric signs in
| Platform | Sign-in used |
|---|---|
| macOS | grokbot login, or else the Grok Bot desktop app's sign-in (from the Keychain). |
| Linux | The Grok Bot desktop app's sign-in. grokbot cannot sign in by itself on Linux (its own login uses the macOS Keychain), so Fabric runs it with the app's session, the same one the gbot CLI uses. |
On Linux the app keeps its session in ~/.config/Grok Bot (or $XDG_CONFIG_HOME/Grok Bot), protected by a key in your desktop keyring. Fabric reads that key with secret-tool (package libsecret-tools on Debian and Ubuntu, libsecret on Arch and Fedora) each time it needs the token, keeps the token in memory only, and never stores or prints it.
Windows is not supported yet.
Connect in Fabric Agents
- Install the
grokbotCLI and sign in to the Grok Bot desktop app. - Open Settings → AI → Connections → Add and choose GrokBot CLI.
- Test the connection: it checks the sign-in and lists your bots. Choose the bot to use as the model, then save.
Troubleshooting
"Open the Grok Bot desktop app on this computer and sign in" — Linux: the app has no signed-in account on this computer. Sign in to the app, then test the connection again.
"Cannot read the Grok Bot key from the desktop keyring" — Linux: secret-tool is missing or the keyring is locked. Install libsecret-tools (or your distribution's libsecret), unlock the keyring (it unlocks when you log in to your desktop), or open the Grok Bot app once.
"Cannot decrypt the Grok Bot sign-in" — the app's session changed (for example, after signing out and in). Open the Grok Bot app once, then try again.
"GrokBot CLI is not signed in" — macOS: run grokbot login, or sign in to the Grok Bot desktop app.
Related
Moonshot Kimi
Connect Kimi Code subscriptions or Moonshot API keys, with explicit international and China endpoints.
Azure AI Foundry
Connect Azure-hosted OpenAI-compatible endpoints to Fabric Agents using Microsoft Entra ID (Azure AD) Bearer-token auth. Resource discovery, deployment selection, and token refresh are handled automatically.