Repository navigation
Description
Decision requested and triage
Determine a supported way to add Grok account access and coding execution to Modex through Grok Build, and separate that CLI integration from direct third-party OAuth enrollment.
Priority: P3 (exploration); type: feasibility/architecture decision; status: ready for research, provider enablement gated. Grok documents both CLI integration and a named third-party subscription integration. General public OAuth-client registration for Modex has not been verified; that uncertainty must not be misreported as an absence of all third-party support.
Primary evidence
- Grok Build launch: subscription access and ACP integration for external tools.
- Headless/ACP guide: grok agent stdio, auth-method discovery, cached auth, and login through the official CLI.
- Enterprise authentication and CLI reference: browser/device login and deployment controls. Enterprise IdP configuration is not public xAI OAuth-client enrollment.
- Grok in Warp: an explicitly supported subscription integration exists, but this announcement alone does not provide registration terms or credentials for Modex.
Investigation and exit criteria
- Produce a dated matrix for Grok Build subscription access, Warp/partner access, enterprise OIDC, API-key usage and public app registration. Record what is documented, observed or unresolved, including exact account eligibility and any enrollment requirement.
- Evaluate the documented CLI route independently of the public-registration question. Verify minimum CLI version, auth-method discovery, browser/device flow, cached login, cancellation/expiry/refresh, account identity and logout scope.
- Keep credentials with the official CLI. Do not reuse its client identity in a new OAuth implementation or call private inference endpoints using extracted tokens.
- Map ACP streaming, approvals/denial, plan/read-only behavior, model discovery, cwd/worktrees, cancellation, resume and disposal onto Modex's Backend contract. Verify permission enforcement without enabling automatic approval to hide a gap.
- Describe enterprise enforced-team/login policy and credential precedence, preventing a silent switch from expected subscription use to a billable API key. Distinguish successful login, available catalog, eligible model access and quota exhaustion.
- Record a platform/version verification plan and any separately authorized real-process/account evidence. Produce a go/no-go decision and bounded follow-up implementation tasks, or the precise missing provider evidence.
- Obtain and document the maintainer decision needed to extend AGENTS.md's Claude/Codex-only provider set. Preserve CLI-owned coding execution and keep Grok unselectable until a tested backend is implemented.
Dependencies and coordination
Research can proceed independently of the Gemini investigation and #75. Eventual implementation should reuse the health/status contract and must extend backend types, runner/store configuration, routing, settings and regression coverage; a login button alone is not a functioning Grok backend.
Direct OAuth partnership/enrollment remains a separate option if official requirements become available. Do not block the supported CLI assessment on that answer. Implementation, if approved, must update README/docs/status.md and complete normal build/unit/UI gates.
Suggested labels: enhancement, question. Priority and dependency triage are recorded above.
Activity
Record Gemini and Grok CLI feasibility decisions (TypeSafeAI#95)