Skip to content

Grok

Terminal window
dotnet add package AgentCircuits.Providers.Grok
Terminal window
XAI_API_KEY=...

The generic mapper supports:

  • api_key
  • base_url
  • region

Per-request Grok options are parsed from either:

  • ProviderOptions["grok"]
  • selected root request keys

There is no checked-in grok.json sample under the sample provider config directory, so programmatic configuration is often the clearest path.