grok-api

Official

Access Grok models via a familiar API.

AuthorThe-Interdependency
Version1.0.0
Installs0

System Documentation

What problem does it solve?

OpenAI-compatible access to xAI Grok models (grok-4, grok-4-fast, grok-code-fast-1, grok-2-vision) via a stable Chat Completions endpoint, simplifying model selection, integration, and tool‑calling in downstream agents.

Core Features & Use Cases

  • Model selection and switching among Grok variants for reasoning, speed, coding, and vision tasks.
  • OpenAI‑compatible chat endpoint with streaming, tool calling, and structured outputs.
  • Live Search integration and cost/context guidance for production deployments.
  • a0p‑specific integration notes and wiring for Python providers and energy routing.

Quick Start

Start a Grok chat by sending a user message to the OpenAI-compatible endpoint with a selected model like grok-4-fast-reasoning.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: grok-api
Download link: https://github.com/The-Interdependency/a0/archive/main.zip#grok-api

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.