Skip to content

Add xAI Grok 4.5 provider - #4

Merged
apcar merged 1 commit into
mainfrom
codex/add-xai-grok
Jul 26, 2026
Merged

Add xAI Grok 4.5 provider#4
apcar merged 1 commit into
mainfrom
codex/add-xai-grok

Conversation

@apcar

@apcar apcar commented Jul 26, 2026

Copy link
Copy Markdown
Owner

What changed

  • Adds xAI's Grok 4.5 as a fifth live CouncilLogic provider through the Responses API.
  • Adds the api.x.ai destination allowlist, XAI_API_KEY logical secret name, xai-grok lineage, factory wiring, structured jury parsing, provider-reported cost metadata, and ZDR response metadata.
  • Keeps existing file-backed four-provider configurations unchanged unless they explicitly add [providers.xai].
  • Updates the example configuration and public documentation for the five-provider, eleven-call live topology.
  • Leaves the mock-only service frozen at its documented four-lineage, nine-call reference topology.

Why

CouncilLogic should include Grok as an additional independently operated model lineage without distributing or committing the operator's API credential.

User impact

New no-config defaults and the updated example include xAI/Grok. Existing file-backed configurations remain four-provider until explicitly opted in. Credentials continue to resolve only from the environment or an external secret command; no credential value is stored in the repository or run configuration.

Validation

  • 101 unit tests passed.
  • Source, tests, and scripts compiled successfully.
  • git diff --check passed.
  • Staged-tree secret-pattern scan found no API-key-shaped value.
  • A synthetic Grok-only live canary completed proposal, jury, and synthesis with grok-4.5; provider-reported cost metadata was present for all three calls and no key-shaped value appeared in its audit store.

@apcar
apcar marked this pull request as ready for review July 26, 2026 18:12
@apcar
apcar merged commit 77cbe81 into main Jul 26, 2026
7 checks passed
@apcar
apcar deleted the codex/add-xai-grok branch July 26, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant