Agent: Grok Build CLI
Author: ayush-thatCreated Aug 12, 2026Updated Sep 21, 2026
What problem are you trying to solve
Grok models already work through the pi harness (xai/grok-4.6 via gateway or direct key). There is no first-class agent that drives the open-source Grok Build CLI the way deepsec drives Codex / Claude / Pi.
People who already use Grok Build headless (grok -p) want --agent grok without routing through pi.
What would you want deepsec to do
Add --agent grok that spawns the Grok Build CLI for process / revalidate / setup (auth via XAI_API_KEY or grok login).
I built this locally and ran it against production codebases. Found 200+ issues.
Workaround you're using today
Run Grok models on --agent pi, or use a local fork with the Grok Build harness.
Source: vercel-labs/deepsec