grok

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 11 Imported by: 0

README

togo

togo-framework/ai-grok

marketplace pkg.go.dev MIT

Part of the togo framework.

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

Configure

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


Premium sponsors

ID8 Media  ·  One Studio

Support togo — become a sponsor.

Documentation

Overview

Package grok is a xAI Grok driver for togo ai (OpenAI-compatible API). Blank-import it and set AI_DRIVER=grok + XAI_API_KEY.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL