package
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 25, 2026
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Install
togo install togo-framework/ai-grok
ai-grok
xAI Grok driver for the togo ai plugin — a unified LLM interface (chat + embeddings) for togo apps.
Install
togo install togo-framework/ai-grok
Set AI_DRIVER=grok and:
XAI_API_KEY=...
# optional: XAI_BASE_URL=https://api.x.ai/v1
Then the ai plugin routes Chat/Embed through xAI Grok. Token usage is reported via ai.Usage (for the billing plugin).
MIT © ToGO
Documentation
¶
Package grok is a xAI Grok driver for togo ai (OpenAI-compatible API).
Blank-import it and set AI_DRIVER=grok + XAI_API_KEY.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.