AR
feat: add x.ai (Grok) provider support
archestra-ai/archestra#2079

/claim #1850

Summary

Adds x.ai (Grok) provider support to Archestra.

Changes

  • Add xai adapter (OpenAI-compatible at https://api.x.ai/v1)
  • Add xai proxy routes with agent support
  • Add xai chat integration
  • Add grok model detection in detectProviderFromModel()
  • Add config for XAI_API_KEY
  • Add error handling using OpenAI parser
  • Update E2E tests
  • Update frontend types and components

Models Supported

  • grok-4
  • grok-4-1-fast-reasoning
  • grok-4-1-fast-non-reasoning
  • grok-code-fast-1

Testing

Get API key from https://console.x.ai/ and set XAI_API_KEY env var.

Closes #1850

Claim

Total prize pool $100
Total paid $0
Status Pending
Submitted January 13, 2026
Last updated January 13, 2026

Contributors

LO

lotbones1-code

@lotbones1-code

100%

Sponsors

AS

Ashutosh Kumar Singh

@Ashutosh0x

$50
AR

Archestra

@archestra-ai

$50