xAI Grok
xAI Grok Integration (April 2026)
Section titled “xAI Grok Integration (April 2026)”AgentV provides native support for Grok 4.20 models, known for their adversarial reasoning and multi-agent capabilities.
🚀 Native Protocol
Section titled “🚀 Native Protocol”Use the grok protocol to connect to the xAI API.
agentv run --path scenarios/loan_scenario.json --protocol grok --agent grok://grok-4.20-multi-agentConfiguration
Section titled “Configuration”Ensure your XAI_API_KEY is set in your .env file.
XAI_API_KEY=xai-xxx🛠 Model Support
Section titled “🛠 Model Support”As of April 2026, the following models are supported:
grok-4.20-multi-agent(High-Reasoning)grok-4-fast(Efficiency)grok-3-mini(Legacy/Small)
🏗 Industrial Benchmarking
Section titled “🏗 Industrial Benchmarking”Grok’s multi-agent capabilities make it ideal for Agent Topology testing in the AES specification.
{ "metadata": { "agent_topology": { "researcher": { "reads": ["*"] }, "reviewer": { "writes": ["report"] } } }}🧪 Adversarial Testing
Section titled “🧪 Adversarial Testing”Grok is frequently used as an Evaluation Judge for adversarial scenarios where neutrality is critical. Set JUDGE_PROVIDER=grok in your environment to use it as the authoritative scorer.