# SpaceXSI Docs > Official SpaceXSI (xAI) developer documentation at https://docs.grok.com — Grok models, REST API reference, SDKs, guides, pricing, and app docs. The API is served at https://api.x.ai. Every documentation page is available as markdown: append `.md` to its URL, or request the page URL with an `Accept: text/markdown` header. Add the programming language you want code examples in to the `Accept-Language` header (for example `Accept-Language: en, python`) to receive only that language’s examples. Pin an SDK with a subtag: `python-xai`, `python-openai`, `javascript-ai-sdk`, `javascript-openai`. ## API - [Get Started](https://docs.grok.com/developers/quickstart.md) - [Get Started — Overview](https://docs.grok.com/overview.md) - [Get Started — Grok 4.7](https://docs.grok.com/developers/grok-4-7.md) - [Get Started — Models](https://docs.grok.com/developers/models.md) - [Get Started — Pricing](https://docs.grok.com/developers/pricing.md) - [Get Started — Release Notes](https://docs.grok.com/developers/release-notes.md) - [Text](https://docs.grok.com/developers/model-capabilities/text/generate-text.md) - [Text — Streaming](https://docs.grok.com/developers/model-capabilities/text/streaming.md) - [Text — Reasoning](https://docs.grok.com/developers/model-capabilities/text/reasoning.md) - [Text — Structured Outputs](https://docs.grok.com/developers/model-capabilities/text/structured-outputs.md) - [Text — Image Understanding](https://docs.grok.com/developers/model-capabilities/images/understanding.md) - [Text — Multi Agent](https://docs.grok.com/developers/model-capabilities/text/multi-agent.md) - [Text — Best Practices Guide](https://docs.grok.com/developers/model-capabilities/text/best-practices.md) - [Image & Video](https://docs.grok.com/developers/model-capabilities/imagine.md) - [Image & Video — Image Generation](https://docs.grok.com/developers/model-capabilities/images/generation.md) - [Image & Video — Image Editing](https://docs.grok.com/developers/model-capabilities/images/editing.md) - [Image & Video — Multi-Image Editing](https://docs.grok.com/developers/model-capabilities/images/multi-image-editing.md) - [Image & Video — Image Prompting Guide](https://docs.grok.com/developers/model-capabilities/images/prompting-guide.md) - [Image & Video — Video Generation](https://docs.grok.com/developers/model-capabilities/video/generation.md) - [Image & Video — Video Overview](https://docs.grok.com/developers/model-capabilities/video/overview.md) - [Image & Video — Image-to-Video](https://docs.grok.com/developers/model-capabilities/video/image-to-video.md) - [Image & Video — Reference-to-Video](https://docs.grok.com/developers/model-capabilities/video/reference-to-video.md) - [Image & Video — Video Editing](https://docs.grok.com/developers/model-capabilities/video/editing.md) - [Image & Video — Video Extension](https://docs.grok.com/developers/model-capabilities/video/extension.md) - [Voice](https://docs.grok.com/developers/model-capabilities/audio/voice.md) - [Voice — Speech to Speech](https://docs.grok.com/developers/model-capabilities/audio/speech-to-speech.md) - [Voice — Speech to Speech — SIP Phone Calls](https://docs.grok.com/developers/model-capabilities/audio/speech-to-speech/sip.md) - [Voice — Speech to Speech — Prompting Guide](https://docs.grok.com/developers/model-capabilities/audio/speech-to-speech/prompting-guide.md) - [Voice — Text to Speech](https://docs.grok.com/developers/model-capabilities/audio/text-to-speech.md) - [Voice — Speech to Text](https://docs.grok.com/developers/model-capabilities/audio/speech-to-text.md) - [Voice — Custom Voices](https://docs.grok.com/developers/model-capabilities/audio/custom-voices.md) - [Voice — Ephemeral Tokens](https://docs.grok.com/developers/model-capabilities/audio/ephemeral-tokens.md) - [Files & Collections](https://docs.grok.com/developers/files.md) - [Files & Collections — Managing Files](https://docs.grok.com/developers/files/managing-files.md) - [Files & Collections — Public URLs](https://docs.grok.com/developers/files/public-urls.md) - [Files & Collections — Chat with Files](https://docs.grok.com/developers/model-capabilities/files/chat-with-files.md) - [Files & Collections — Collections](https://docs.grok.com/developers/files/collections.md) - [Files & Collections — Collections via API](https://docs.grok.com/developers/files/collections/api.md) - [Files & Collections — Collection Metadata](https://docs.grok.com/developers/files/collections/metadata.md) - [Files & Collections — Generated Media](https://docs.grok.com/developers/model-capabilities/imagine/files.md) - [Files & Collections — Generated Media — Referencing Files as Input](https://docs.grok.com/developers/model-capabilities/imagine/files/inputs.md) - [Files & Collections — Generated Media — Persisting Generated Output](https://docs.grok.com/developers/model-capabilities/imagine/files/outputs.md) - [Tools](https://docs.grok.com/developers/tools/overview.md) - [Tools — Function Calling](https://docs.grok.com/developers/tools/function-calling.md) - [Tools — Web Search](https://docs.grok.com/developers/tools/web-search.md) - [Tools — X Search](https://docs.grok.com/developers/tools/x-search.md) - [Tools — Code Execution](https://docs.grok.com/developers/tools/code-execution.md) - [Tools — Image Generation](https://docs.grok.com/developers/tools/image-generation.md) - [Tools — Collections Search (RAG)](https://docs.grok.com/developers/tools/collections-search.md) - [Tools — Remote MCP Tools](https://docs.grok.com/developers/tools/remote-mcp.md) - [Tools — In Depth](https://docs.grok.com/developers/tools/citations.md) - [Tools — In Depth — Streaming & Sync](https://docs.grok.com/developers/tools/streaming-and-sync.md) - [Tools — In Depth — Tool Usage Details](https://docs.grok.com/developers/tools/tool-usage-details.md) - [Tools — In Depth — Advanced Usage](https://docs.grok.com/developers/tools/advanced-usage.md) - [Advanced API Usage](https://docs.grok.com/developers/rate-limits.md) - [Advanced API Usage — Prompt Caching](https://docs.grok.com/developers/advanced-api-usage/prompt-caching.md) - [Advanced API Usage — Prompt Caching — How It Works](https://docs.grok.com/developers/advanced-api-usage/prompt-caching/how-it-works.md) - [Advanced API Usage — Prompt Caching — Maximizing Cache Hits](https://docs.grok.com/developers/advanced-api-usage/prompt-caching/maximizing-cache-hits.md) - [Advanced API Usage — Prompt Caching — What Breaks Caching](https://docs.grok.com/developers/advanced-api-usage/prompt-caching/multi-turn.md) - [Advanced API Usage — Prompt Caching — Usage & Pricing](https://docs.grok.com/developers/advanced-api-usage/prompt-caching/usage-and-pricing.md) - [Advanced API Usage — Prompt Caching — Best Practices & FAQ](https://docs.grok.com/developers/advanced-api-usage/prompt-caching/best-practices.md) - [Advanced API Usage — Context Compaction](https://docs.grok.com/developers/advanced-api-usage/context-compaction.md) - [Advanced API Usage — Priority Processing](https://docs.grok.com/developers/advanced-api-usage/priority-processing.md) - [Advanced API Usage — Custom Moderation Controls](https://docs.grok.com/developers/advanced-api-usage/custom-moderation-controls.md) - [Advanced API Usage — Batch API](https://docs.grok.com/developers/advanced-api-usage/batch-api.md) - [Advanced API Usage — Deferred Completions](https://docs.grok.com/developers/advanced-api-usage/deferred-chat-completions.md) - [Advanced API Usage — Async Requests](https://docs.grok.com/developers/advanced-api-usage/async.md) - [Advanced API Usage — WebSocket Mode](https://docs.grok.com/developers/advanced-api-usage/websocket-mode.md) - [Advanced API Usage — mTLS Authentication](https://docs.grok.com/developers/advanced-api-usage/mtls.md) - [Advanced API Usage — Regional Endpoints](https://docs.grok.com/developers/advanced-api-usage/regions.md) - [Advanced API Usage — Output Watermarking](https://docs.grok.com/developers/advanced-api-usage/watermarking.md) - [Advanced API Usage — Cost Tracking](https://docs.grok.com/developers/cost-tracking.md) - [Advanced API Usage — Debugging Errors](https://docs.grok.com/developers/debugging.md) - [Advanced API Usage — Troubleshooting Reasoning](https://docs.grok.com/developers/advanced-api-usage/troubleshooting-reasoning.md) - [Advanced API Usage — Cookbook](https://docs.grok.com/cookbook.md) - [Platforms](https://docs.grok.com/developers/community.md) - [Platforms — Google Cloud Vertex AI](https://docs.grok.com/developers/community/google-cloud-vertex-ai.md) - [Platforms — Microsoft Foundry](https://docs.grok.com/developers/community/microsoft-foundry.md) - [Platforms — Docs MCP](https://docs.grok.com/developers/docs-mcp.md) - [Migration Guides](https://docs.grok.com/developers/migration/imagine-image-quality-nov-2.md) - [Migration Guides — Model Retirement (May 15, 2026)](https://docs.grok.com/developers/migration/may-15-retirement.md) - [Migration Guides — Migrating to Responses API](https://docs.grok.com/developers/model-capabilities/text/comparison.md) - [Migration Guides — Chat Completions (Legacy)](https://docs.grok.com/developers/model-capabilities/legacy/chat-completions.md) - [FAQ](https://docs.grok.com/developers/faq/security.md) - [FAQ — General](https://docs.grok.com/developers/faq/general.md) ## API Reference - [Inference API](https://docs.grok.com/developers/rest-api-reference/inference.md) - [Inference API — Responses](https://docs.grok.com/developers/rest-api-reference/inference/responses.md) - [Inference API — Chat Completions](https://docs.grok.com/developers/rest-api-reference/inference/chat-completions.md) - [Inference API — Images](https://docs.grok.com/developers/rest-api-reference/inference/images.md) - [Inference API — Videos](https://docs.grok.com/developers/rest-api-reference/inference/videos.md) - [Inference API — Voice](https://docs.grok.com/developers/rest-api-reference/inference/voice.md) - [Inference API — Files](https://docs.grok.com/developers/rest-api-reference/files.md) - [Inference API — Files — Upload a file](https://docs.grok.com/developers/rest-api-reference/files/upload.md) - [Inference API — Files — List files](https://docs.grok.com/developers/rest-api-reference/files/manage.md) - [Inference API — Files — Get file content](https://docs.grok.com/developers/rest-api-reference/files/download.md) - [Inference API — Batches](https://docs.grok.com/developers/rest-api-reference/inference/batches.md) - [Inference API — Models](https://docs.grok.com/developers/rest-api-reference/inference/models.md) - [Inference API — Account](https://docs.grok.com/developers/rest-api-reference/inference/other.md) - [Inference API — Legacy & Deprecated](https://docs.grok.com/developers/rest-api-reference/inference/legacy.md) - [Collections API](https://docs.grok.com/developers/rest-api-reference/collections.md) - [Collections API — Collection Management](https://docs.grok.com/developers/rest-api-reference/collections/collection.md) - [Collections API — Search in Collections](https://docs.grok.com/developers/rest-api-reference/collections/search.md) - [Management API](https://docs.grok.com/developers/rest-api-reference/management.md) - [Management API — Using Management API](https://docs.grok.com/developers/management-api-guide.md) - [Management API — Accounts and Authorization](https://docs.grok.com/developers/rest-api-reference/management/auth.md) - [Management API — Billing Management](https://docs.grok.com/developers/rest-api-reference/management/billing.md) - [Management API — Audit Logs](https://docs.grok.com/developers/rest-api-reference/management/audit.md) ## Grok Build — Agents Window - [Get started](https://docs.grok.com/build.md) - [Get started — Quickstart](https://docs.grok.com/build/agents-window/get-started/quickstart.md) - [Agent](https://docs.grok.com/build/agents-window/agent/overview.md) - [Agent — Agents Window](https://docs.grok.com/build/agents-window/agent/agents-window.md) - [Agent — Projects](https://docs.grok.com/build/agents-window/agent/projects.md) - [Agent — Agent review](https://docs.grok.com/build/agents-window/agent/agent-review.md) - [Agent — Planning](https://docs.grok.com/build/agents-window/agent/plan-mode.md) - [Agent — Prompting](https://docs.grok.com/build/agents-window/agent/prompting.md) - [Agent — Voice chat](https://docs.grok.com/build/agents-window/agent/voice-chat.md) - [Agent — Debugging](https://docs.grok.com/build/agents-window/agent/debug-mode.md) - [Agent — Design mode](https://docs.grok.com/build/agents-window/agent/design-mode.md) - [Agent — Tools](https://docs.grok.com/build/agents-window/agent/tools/terminal.md) - [Agent — Tools — Browser](https://docs.grok.com/build/agents-window/agent/tools/browser.md) - [Agent — Tools — Search](https://docs.grok.com/build/agents-window/agent/tools/search.md) - [Agent — Tools — Canvases](https://docs.grok.com/build/agents-window/agent/tools/canvas.md) - [Agent — Tools — Worktrees](https://docs.grok.com/build/agents-window/configuration/worktrees.md) - [Agent — Security](https://docs.grok.com/build/agents-window/agent/security.md) - [Agent — Security — Run modes](https://docs.grok.com/build/agents-window/agent/security/run-modes.md) - [Customize](https://docs.grok.com/build/agents-window/customize-cursor.md) - [Customize — Plugins](https://docs.grok.com/build/agents-window/plugins.md) - [Customize — Rules](https://docs.grok.com/build/agents-window/rules.md) - [Customize — Skills](https://docs.grok.com/build/agents-window/skills.md) - [Customize — Subagents](https://docs.grok.com/build/agents-window/subagents.md) - [Customize — Hooks](https://docs.grok.com/build/agents-window/hooks.md) - [Customize — MCP](https://docs.grok.com/build/agents-window/mcp.md) - [Customize — MCP install links](https://docs.grok.com/build/agents-window/mcp/install-links.md) - [Customize — AWS Bedrock](https://docs.grok.com/build/agents-window/customizing/aws-bedrock.md) - [Customize — Extension API](https://docs.grok.com/build/agents-window/extension-api.md) - [Reference](https://docs.grok.com/build/agents-window/reference/permissions.md) - [Reference — Sandbox](https://docs.grok.com/build/agents-window/reference/sandbox.md) - [Reference — Ignore files](https://docs.grok.com/build/agents-window/reference/ignore-file.md) - [Reference — Plugins manifest](https://docs.grok.com/build/agents-window/reference/plugins.md) - [Reference — Third-party hooks](https://docs.grok.com/build/agents-window/reference/third-party-hooks.md) - [Reference — Keyboard shortcuts](https://docs.grok.com/build/agents-window/reference/keyboard-shortcuts.md) - [Guides](https://docs.grok.com/build/agents-window/guides/code-understanding.md) - [Guides — Tasks — Prototyping](https://docs.grok.com/build/agents-window/guides/prototyping.md) - [Guides — Tasks — Cloud Agents](https://docs.grok.com/build/agents-window/guides/cloud-agents.md) - [Guides — Tasks — Code modernization](https://docs.grok.com/build/agents-window/guides/code-modernization.md) - [Guides — Tasks — Debugging](https://docs.grok.com/build/agents-window/guides/debugging.md) - [Guides — Tasks — Test generation](https://docs.grok.com/build/agents-window/guides/test-generation.md) - [Guides — Tasks — Code review](https://docs.grok.com/build/agents-window/guides/code-review.md) - [Guides — Tasks — Documentation](https://docs.grok.com/build/agents-window/guides/documentation.md) - [Guides — Tasks — Web development](https://docs.grok.com/build/agents-window/guides/web-development.md) - [Guides — Tasks — Data science](https://docs.grok.com/build/agents-window/guides/data-science.md) - [Guides — Languages](https://docs.grok.com/build/agents-window/guides/python.md) - [Guides — Languages — JavaScript and TypeScript](https://docs.grok.com/build/agents-window/guides/javascript-typescript.md) - [Guides — Languages — iOS and macOS (Swift)](https://docs.grok.com/build/agents-window/guides/ios-macos-swift.md) - [Guides — Languages — Java](https://docs.grok.com/build/agents-window/guides/java.md) - [Guides — Languages — C#](https://docs.grok.com/build/agents-window/guides/csharp.md) - [Guides — Roles](https://docs.grok.com/build/agents-window/guides/product-managers.md) - [Guides — Roles — Designers](https://docs.grok.com/build/agents-window/guides/designers.md) - [Guides — Roles — Sales engineers](https://docs.grok.com/build/agents-window/guides/sales-engineers.md) - [Guides — Roles — Support](https://docs.grok.com/build/agents-window/guides/support.md) - [Guides — Migrate from VS Code](https://docs.grok.com/build/agents-window/configuration/migrations/vscode.md) ## Grok Build — Terminal UI - [Get started](https://docs.grok.com/build/overview.md) - [Use the Terminal UI](https://docs.grok.com/build/modes-and-commands.md) - [Use the Terminal UI — Keyboard shortcuts](https://docs.grok.com/build/keyboard-shortcuts.md) - [Use the Terminal UI — Plan mode](https://docs.grok.com/build/features/plan-mode.md) - [Use the Terminal UI — Sessions](https://docs.grok.com/build/features/sessions.md) - [Use the Terminal UI — Background tasks](https://docs.grok.com/build/features/background-tasks.md) - [Use the Terminal UI — Agent dashboard](https://docs.grok.com/build/features/dashboard.md) - [Agents and automation](https://docs.grok.com/build/features/subagents.md) - [Agents and automation — Worktrees](https://docs.grok.com/build/features/worktrees.md) - [Agents and automation — Headless and scripting](https://docs.grok.com/build/cli/headless-scripting.md) - [Customize](https://docs.grok.com/build/features/project-rules.md) - [Customize — Skills, plugins, and marketplaces](https://docs.grok.com/build/features/skills-plugins-marketplaces.md) - [Customize — MCP servers](https://docs.grok.com/build/features/mcp-servers.md) - [Customize — Hooks](https://docs.grok.com/build/features/hooks.md) - [Customize — Status line](https://docs.grok.com/build/features/status-line.md) - [Customize — Theming](https://docs.grok.com/build/features/theming.md) - [Security](https://docs.grok.com/build/features/permissions.md) - [Security — Sandbox](https://docs.grok.com/build/features/sandbox.md) - [Reference](https://docs.grok.com/build/settings.md) - [Reference — Terminal UI settings reference](https://docs.grok.com/build/settings/reference.md) - [Reference — CLI reference](https://docs.grok.com/build/cli/reference.md) - [Reference — Terminal support](https://docs.grok.com/build/cli/terminal-support.md) - [Enterprise](https://docs.grok.com/build/enterprise.md) - [Enterprise — ZDR video storage](https://docs.grok.com/build/settings/zdr-video-storage.md) ## Grok Build — Cloud Agents - [Cloud Agents](https://docs.grok.com/build/agents-window/cloud-agent.md) - [Cloud Agents — Setup](https://docs.grok.com/build/agents-window/cloud-agent/setup.md) - [Cloud Agents — Builds](https://docs.grok.com/build/agents-window/cloud-agent/builds.md) - [Cloud Agents — Apps](https://docs.grok.com/build/agents-window/cloud-agent/apps.md) - [Cloud Agents — Capabilities](https://docs.grok.com/build/agents-window/cloud-agent/capabilities.md) - [Cloud Agents — Capabilities — Agent metadata](https://docs.grok.com/build/agents-window/cloud-agent/metadata.md) - [Cloud Agents — Capabilities — Access other repositories](https://docs.grok.com/build/agents-window/cloud-agent/repo-access.md) - [Cloud Agents — Best practices](https://docs.grok.com/build/agents-window/cloud-agent/best-practices.md) - [Cloud Agents — Choose where agents run](https://docs.grok.com/build/agents-window/cloud-agent/self-hosted/choose-runtime.md) - [Cloud Agents — Automations](https://docs.grok.com/build/agents-window/cloud-agent/automations.md) - [Cloud Agents — Mobile](https://docs.grok.com/build/agents-window/cloud-agent/mobile.md) - [Cloud Agents — Security](https://docs.grok.com/build/agents-window/cloud-agent/security.md) - [Cloud Agents — Security — Secrets and network](https://docs.grok.com/build/agents-window/cloud-agent/security-network.md) - [Cloud Agents — Security — Private connectivity](https://docs.grok.com/build/agents-window/cloud-agent/private-connectivity.md) - [Cloud Agents — Security — OIDC tokens](https://docs.grok.com/build/agents-window/cloud-agent/identity.md) - [Cloud Agents — Self-hosted machines](https://docs.grok.com/build/agents-window/cloud-agent/self-hosted.md) - [Cloud Agents — Self-hosted machines — Pools](https://docs.grok.com/build/agents-window/cloud-agent/self-hosted/pool.md) - [Cloud Agents — Self-hosted machines — My machines](https://docs.grok.com/build/agents-window/cloud-agent/self-hosted/my-machines.md) - [Cloud Agents — Self-hosted machines — Computer use](https://docs.grok.com/build/agents-window/cloud-agent/self-hosted/computer-use.md) - [Cloud Agents — Self-hosted machines — Integrations](https://docs.grok.com/build/agents-window/cloud-agent/self-hosted/integrations.md) - [Cloud Agents — Self-hosted machines — Kubernetes](https://docs.grok.com/build/agents-window/cloud-agent/self-hosted/kubernetes.md) - [Cloud Agents — Self-hosted machines — Worker command reference](https://docs.grok.com/build/agents-window/cloud-agent/self-hosted/worker-reference.md) - [Cloud Agents — Settings](https://docs.grok.com/build/agents-window/cloud-agent/settings.md) - [Cloud Agents — API](https://docs.grok.com/build/agents-window/cloud-agent/api/endpoints.md) - [Cloud Agents — API — Webhooks](https://docs.grok.com/build/agents-window/cloud-agent/api/webhooks.md) - [Cloud Agents — API — v0 API](https://docs.grok.com/build/agents-window/cloud-agent/api/v0.md) - [Integrations](https://docs.grok.com/build/agents-window/integrations/slack.md) - [Integrations — Microsoft Teams](https://docs.grok.com/build/agents-window/integrations/microsoft-teams.md) - [Integrations — Jira](https://docs.grok.com/build/agents-window/integrations/jira.md) - [Integrations — Linear](https://docs.grok.com/build/agents-window/integrations/linear.md) - [Integrations — Notion](https://docs.grok.com/build/agents-window/integrations/notion.md) - [Integrations — GitHub](https://docs.grok.com/build/agents-window/integrations/github.md) - [Integrations — GitLab](https://docs.grok.com/build/agents-window/integrations/gitlab.md) - [Integrations — Azure DevOps](https://docs.grok.com/build/agents-window/integrations/azure-devops.md) - [Integrations — Bitbucket](https://docs.grok.com/build/agents-window/integrations/bitbucket.md) - [Integrations — JetBrains](https://docs.grok.com/build/agents-window/integrations/jetbrains.md) - [Integrations — Xcode](https://docs.grok.com/build/agents-window/integrations/xcode.md) - [Integrations — Tailscale](https://docs.grok.com/build/agents-window/integrations/tailscale.md) - [Integrations — Deeplinks](https://docs.grok.com/build/agents-window/reference/deeplinks.md) ## Grok Build — Code review - [Code review](https://docs.grok.com/build/agents-window/bugbot.md) - [Code review — Security review](https://docs.grok.com/build/agents-window/security-review.md) - [Code review — Vulnerability remediation](https://docs.grok.com/build/agents-window/vulnerability-remediation.md) - [Code review — PR routing and approval](https://docs.grok.com/build/agents-window/approval-agents.md) - [Code review — Rollouts](https://docs.grok.com/build/agents-window/rollouts.md) ## Grok Build — Origin - [Origin](https://docs.grok.com/build/agents-window/origin.md) - [Origin — CLI](https://docs.grok.com/build/agents-window/origin/cli.md) - [Origin — CLI — Commands](https://docs.grok.com/build/agents-window/origin/cli/reference/commands.md) - [Origin — CLI — Pull requests](https://docs.grok.com/build/agents-window/origin/cli/reference/pull-requests.md) - [Origin — CLI — Stacks](https://docs.grok.com/build/agents-window/origin/cli/reference/stacks.md) - [Origin — Create a repository](https://docs.grok.com/build/agents-window/origin/create-repository.md) - [Origin — Mirror GitHub](https://docs.grok.com/build/agents-window/origin/mirror-github.md) - [Origin — Git](https://docs.grok.com/build/agents-window/origin/git.md) - [Origin — CloneKit CI](https://docs.grok.com/build/agents-window/origin/clonekit-ci.md) - [Origin — Pull requests](https://docs.grok.com/build/agents-window/origin/pull-requests.md) - [Origin — Code tours](https://docs.grok.com/build/agents-window/origin/code-tours.md) - [Origin — Browse](https://docs.grok.com/build/agents-window/origin/browse.md) - [Origin — Agents](https://docs.grok.com/build/agents-window/origin/agents.md) - [Origin — Apps](https://docs.grok.com/build/agents-window/origin/apps.md) - [Origin — Apps — Build an app](https://docs.grok.com/build/agents-window/origin/apps/build-app.md) - [Origin — Apps — Publish](https://docs.grok.com/build/agents-window/origin/apps/publish.md) - [Origin — Settings](https://docs.grok.com/build/agents-window/origin/settings.md) - [Origin — Access policies](https://docs.grok.com/build/agents-window/origin/access-policies.md) - [API](https://docs.grok.com/build/agents-window/api/origin/migrations.md) - [API — Origin API](https://docs.grok.com/build/agents-window/api/origin.md) - [API — API changelog](https://docs.grok.com/build/agents-window/api/origin/changelog.md) - [API — Acting as users](https://docs.grok.com/build/agents-window/api/origin/acting-as-users.md) - [API — Grants API](https://docs.grok.com/build/agents-window/api/origin/grants-api.md) - [API — Origin MCP](https://docs.grok.com/build/agents-window/api/origin/mcp.md) - [API — Origin MCP — Tools](https://docs.grok.com/build/agents-window/api/origin/mcp/tools.md) ## Grok Build — SDK and API - [SDK](https://docs.grok.com/build/agents-window/sdk/typescript.md) - [SDK — Python](https://docs.grok.com/build/agents-window/sdk/python.md) - [SDK — Bridge](https://docs.grok.com/build/agents-window/sdk/bridge.md) - [SDK — Run Grok Build in your evals](https://docs.grok.com/build/agents-window/evals.md) - [SDK — Changelog](https://docs.grok.com/build/agents-window/sdk/changelog.md) - [API](https://docs.grok.com/build/agents-window/api.md) ## Grok Build — Admin & Ent - [Teams](https://docs.grok.com/build/agents-window/account/teams/setup.md) - [Teams — Members, roles, and seat types](https://docs.grok.com/build/agents-window/account/teams/members.md) - [Teams — SSO](https://docs.grok.com/build/agents-window/account/teams/sso.md) - [Teams — Dashboard](https://docs.grok.com/build/agents-window/account/teams/dashboard.md) - [Teams — Analytics](https://docs.grok.com/build/agents-window/account/teams/analytics.md) - [Enterprise](https://docs.grok.com/build/agents-window/enterprise.md) - [Enterprise — Admin setup guide](https://docs.grok.com/build/agents-window/enterprise/admin-setup-guide.md) - [Enterprise — Organizations](https://docs.grok.com/build/agents-window/enterprise/organizations.md) - [Enterprise — Organization groups](https://docs.grok.com/build/agents-window/enterprise/organization-groups.md) - [Enterprise — Identity & access](https://docs.grok.com/build/agents-window/enterprise/identity-and-access-management.md) - [Enterprise — Identity & access — SCIM](https://docs.grok.com/build/agents-window/account/teams/scim.md) - [Enterprise — Privacy & data governance](https://docs.grok.com/build/agents-window/enterprise/privacy-and-data-governance.md) - [Enterprise — Network configuration](https://docs.grok.com/build/agents-window/enterprise/network-configuration.md) - [Enterprise — Tenancy restriction](https://docs.grok.com/build/agents-window/enterprise/tenancy-restriction.md) - [Enterprise — Endpoint security](https://docs.grok.com/build/agents-window/enterprise/endpoint-security.md) - [Enterprise — LLM safety & controls](https://docs.grok.com/build/agents-window/enterprise/llm-safety-and-controls.md) - [Enterprise — Models & integrations](https://docs.grok.com/build/agents-window/enterprise/model-and-integration-management.md) - [Enterprise — Cyber safeguards](https://docs.grok.com/build/agents-window/account/enterprise/cyber-safeguards.md) - [Enterprise — Compliance & monitoring](https://docs.grok.com/build/agents-window/enterprise/compliance-and-monitoring.md) - [Enterprise — OpenTelemetry export](https://docs.grok.com/build/agents-window/enterprise/opentelemetry-export.md) - [Enterprise — OpenTelemetry export — Wire reference](https://docs.grok.com/build/agents-window/enterprise/opentelemetry-export/wire.md) - [Enterprise — HIPAA BAA](https://docs.grok.com/build/agents-window/enterprise/baa.md) - [Enterprise — Deployment patterns](https://docs.grok.com/build/agents-window/enterprise/deployment-patterns.md) - [Enterprise — Service accounts](https://docs.grok.com/build/agents-window/account/enterprise/service-accounts.md) - [Enterprise — Billing groups](https://docs.grok.com/build/agents-window/account/enterprise/billing-groups.md) - [Enterprise — Security and privacy hardening](https://docs.grok.com/build/agents-window/enterprise/security-hardening.md) - [Enterprise — Grok Build Blame](https://docs.grok.com/build/agents-window/integrations/cursor-blame.md) - [Security](https://docs.grok.com/build/agents-window/security.md) - [Security — API keys & service tokens](https://docs.grok.com/build/agents-window/security/api-keys.md) - [Security — Session management](https://docs.grok.com/build/agents-window/security/sessions.md) - [Security — Network controls](https://docs.grok.com/build/agents-window/security/network-controls.md) - [Security — OAuth applications](https://docs.grok.com/build/agents-window/security/oauth-applications.md) - [Admin API](https://docs.grok.com/build/agents-window/account/teams/admin-api.md) - [Admin API — Organization API](https://docs.grok.com/build/agents-window/account/organizations/organization-admin-api.md) - [Admin API — Analytics API](https://docs.grok.com/build/agents-window/account/teams/analytics-api.md) - [Admin API — AI Code Tracking API](https://docs.grok.com/build/agents-window/account/teams/ai-code-tracking-api.md) ## Grok Build — Models & pricing - [Models](https://docs.grok.com/build/agents-window/models-and-pricing.md) - [Models — Grok Build Router](https://docs.grok.com/build/agents-window/cursor-router.md) - [Models — Grok 4.7](https://docs.grok.com/build/agents-window/models/grok-4-7.md) - [Models — Grok 4.6](https://docs.grok.com/build/agents-window/models/grok-4-6.md) - [Models — Grok 4.5](https://docs.grok.com/build/agents-window/models/grok-4-5.md) - [Models — Composer 2.5](https://docs.grok.com/build/agents-window/models/cursor-composer-2-5.md) - [Models — Claude Sonnet 5.5](https://docs.grok.com/build/agents-window/models/claude-sonnet-5-5.md) - [Models — Claude Opus 5.5](https://docs.grok.com/build/agents-window/models/claude-opus-5-5.md) - [Models — Gemini 4 Carbon](https://docs.grok.com/build/agents-window/models/gemini-4-carbon.md) - [Models — Muse Wonder](https://docs.grok.com/build/agents-window/models/muse-wonder.md) - [Plans and pricing](https://docs.grok.com/build/agents-window/account/teams/pricing.md) - [Plans and pricing — Pooled usage](https://docs.grok.com/build/agents-window/enterprise/pooled-usage.md) - [Plans and pricing — Legacy Grok Build plans](https://docs.grok.com/build/agents-window/account/pricing/legacy-cursor-plans.md) - [Plans and pricing — Bugbot legacy pricing](https://docs.grok.com/build/agents-window/bugbot/legacy-pricing.md) ## Grok Build — Learn - [AI foundations](https://docs.grok.com/build/agents-window/learn.md) - [AI foundations — How AI models work](https://docs.grok.com/build/agents-window/learn/how-ai-models-work.md) - [AI foundations — Hallucinations](https://docs.grok.com/build/agents-window/learn/hallucination-limitations.md) - [AI foundations — Tokens and pricing](https://docs.grok.com/build/agents-window/learn/tokens-pricing.md) - [AI foundations — Context](https://docs.grok.com/build/agents-window/learn/context.md) - [AI foundations — Tool calling](https://docs.grok.com/build/agents-window/learn/tool-calling.md) - [AI foundations — Agents](https://docs.grok.com/build/agents-window/learn/agents.md) - [Coding agents](https://docs.grok.com/build/agents-window/learn/working-with-agents.md) - [Coding agents — Understanding your codebase](https://docs.grok.com/build/agents-window/learn/understanding-your-codebase.md) - [Coding agents — Developing features](https://docs.grok.com/build/agents-window/learn/creating-features.md) - [Coding agents — Finding and fixing bugs](https://docs.grok.com/build/agents-window/learn/finding-fixing-bugs.md) - [Coding agents — Reviewing and testing code](https://docs.grok.com/build/agents-window/learn/reviewing-testing.md) - [Coding agents — Customizing agents](https://docs.grok.com/build/agents-window/learn/customizing-agents.md) - [Coding agents — Putting it all together](https://docs.grok.com/build/agents-window/learn/putting-it-together.md) ## Grok Build — Help - [Getting started](https://docs.grok.com/build/agents-window/help.md) - [Getting started — Download and install Grok Build](https://docs.grok.com/build/agents-window/help/getting-started/install.md) - [Getting started — Your first project](https://docs.grok.com/build/agents-window/help/getting-started/first-project.md) - [Getting started — How do I build an AI coding agent?](https://docs.grok.com/build/agents-window/help/getting-started/build-ai-coding-agent.md) - [Getting started — Migrate from VS Code](https://docs.grok.com/build/agents-window/help/getting-started/migrate-vscode.md) - [Getting started — Migrate from JetBrains](https://docs.grok.com/build/agents-window/help/getting-started/migrate-jetbrains.md) - [AI features](https://docs.grok.com/build/agents-window/help/ai-features/agent.md) - [AI features — What are coding agents?](https://docs.grok.com/build/agents-window/help/ai-features/coding-agents.md) - [AI features — What is agentic coding?](https://docs.grok.com/build/agents-window/help/ai-features/agentic-coding.md) - [AI features — How does AI pair programming work in Grok Build?](https://docs.grok.com/build/agents-window/help/ai-features/ai-pair-programming.md) - [AI features — What is multi-agent coding?](https://docs.grok.com/build/agents-window/help/ai-features/multi-agent.md) - [AI features — What is a Grok Build project?](https://docs.grok.com/build/agents-window/help/ai-features/projects.md) - [AI features — Side chats](https://docs.grok.com/build/agents-window/help/ai-features/side-chats.md) - [AI features — Conversation search](https://docs.grok.com/build/agents-window/help/ai-features/conversation-search.md) - [AI features — What is vibe coding?](https://docs.grok.com/build/agents-window/help/ai-features/vibe-coding.md) - [AI features — Plan mode](https://docs.grok.com/build/agents-window/help/ai-features/plan-mode.md) - [AI features — Ask mode](https://docs.grok.com/build/agents-window/help/ai-features/ask-mode.md) - [AI features — Debug mode](https://docs.grok.com/build/agents-window/help/ai-features/debug-mode.md) - [AI features — Tab completion](https://docs.grok.com/build/agents-window/help/ai-features/tab.md) - [AI features — Max mode on legacy plans](https://docs.grok.com/build/agents-window/help/ai-features/max-mode.md) - [AI features — Terminal integration](https://docs.grok.com/build/agents-window/help/ai-features/terminal.md) - [AI features — Browser use](https://docs.grok.com/build/agents-window/help/ai-features/browser.md) - [AI features — Cloud Agents](https://docs.grok.com/build/agents-window/help/ai-features/cloud-agents.md) - [AI features — Self-hosted machines](https://docs.grok.com/build/agents-window/help/ai-features/self-hosted-machines.md) - [AI features — What are background agents?](https://docs.grok.com/build/agents-window/help/ai-features/background-agents.md) - [AI features — Grok Build for iOS](https://docs.grok.com/build/agents-window/help/ai-features/mobile-app.md) - [AI features — Automations](https://docs.grok.com/build/agents-window/help/ai-features/automations.md) - [AI features — Shared transcripts](https://docs.grok.com/build/agents-window/help/ai-features/shared-transcripts.md) - [AI features — Bugbot](https://docs.grok.com/build/agents-window/help/ai-features/bugbot.md) - [Customization](https://docs.grok.com/build/agents-window/help/customization/rules.md) - [Customization — @ mentions and context](https://docs.grok.com/build/agents-window/help/customization/context.md) - [Customization — MCP integrations](https://docs.grok.com/build/agents-window/help/customization/mcp.md) - [Customization — Skills](https://docs.grok.com/build/agents-window/help/customization/skills.md) - [Customization — Ignore files](https://docs.grok.com/build/agents-window/help/customization/ignore-files.md) - [Customization — Extensions](https://docs.grok.com/build/agents-window/help/customization/extensions.md) - [Customization — Plugins](https://docs.grok.com/build/agents-window/help/customization/plugins.md) - [Customization — Keyboard shortcuts](https://docs.grok.com/build/agents-window/help/customization/keyboard-shortcuts.md) - [Customization — Themes and appearance](https://docs.grok.com/build/agents-window/help/customization/themes.md) - [Models and usage](https://docs.grok.com/build/agents-window/help/models-and-usage/available-models.md) - [Models and usage — Grok Build Router](https://docs.grok.com/build/agents-window/help/models-and-usage/cursor-router.md) - [Models and usage — Grok 4.7](https://docs.grok.com/build/agents-window/help/models-and-usage/grok-4-7.md) - [Models and usage — Grok 4.6](https://docs.grok.com/build/agents-window/help/models-and-usage/grok-4-6.md) - [Models and usage — Grok 4.5](https://docs.grok.com/build/agents-window/help/models-and-usage/grok-4-5.md) - [Models and usage — Bring your own API key](https://docs.grok.com/build/agents-window/help/models-and-usage/api-keys.md) - [Models and usage — Usage and limits](https://docs.grok.com/build/agents-window/help/models-and-usage/usage-limits.md) - [Security and privacy](https://docs.grok.com/build/agents-window/help/security-and-privacy/privacy.md) - [Security and privacy — Regions and model availability](https://docs.grok.com/build/agents-window/help/security-and-privacy/regions.md) - [Security and privacy — Security and compliance documents](https://docs.grok.com/build/agents-window/help/security-and-privacy/compliance.md) - [Security and privacy — SSO and authentication](https://docs.grok.com/build/agents-window/help/security-and-privacy/sso.md) - [Security and privacy — Compromised account](https://docs.grok.com/build/agents-window/help/security-and-privacy/account-compromised.md) - [Security and privacy — Marketplace security](https://docs.grok.com/build/agents-window/help/security-and-privacy/marketplace-security.md) - [Account and billing](https://docs.grok.com/build/agents-window/help/account-and-billing/pricing.md) - [Account and billing — Billing and payments](https://docs.grok.com/build/agents-window/help/account-and-billing/billing.md) - [Account and billing — Grok Build Start](https://docs.grok.com/build/agents-window/help/account-and-billing/cursor-start.md) - [Account and billing — On-demand usage for mobile subscriptions](https://docs.grok.com/build/agents-window/help/account-and-billing/on-demand-usage-for-mobile-subscriptions.md) - [Account and billing — Set up a team](https://docs.grok.com/build/agents-window/help/account-and-billing/teams-setup.md) - [Account and billing — Manage your team](https://docs.grok.com/build/agents-window/help/account-and-billing/teams-management.md) - [Account and billing — Usage-based charges](https://docs.grok.com/build/agents-window/help/account-and-billing/overages.md) - [Account and billing — Bugbot usage-based billing](https://docs.grok.com/build/agents-window/help/account-and-billing/bugbot-usage-based-billing.md) - [Account and billing — Enterprise billing](https://docs.grok.com/build/agents-window/help/account-and-billing/enterprise.md) - [Account and billing — Profiles](https://docs.grok.com/build/agents-window/help/account-and-billing/profiles.md) - [Account and billing — Change your email address](https://docs.grok.com/build/agents-window/help/account-and-billing/change-email.md) - [Account and billing — Payment issues](https://docs.grok.com/build/agents-window/help/account-and-billing/payment-issues.md) - [Account and billing — Payment completed but plan not updated](https://docs.grok.com/build/agents-window/help/account-and-billing/payment-not-applied.md) - [Account and billing — Delete your account](https://docs.grok.com/build/agents-window/help/account-and-billing/delete-account.md) - [Integrations](https://docs.grok.com/build/agents-window/help/integrations/git.md) - [Integrations — GitHub, GitLab, Azure DevOps, and Bitbucket](https://docs.grok.com/build/agents-window/help/integrations/github-gitlab.md) - [Integrations — Linear, Slack, Notion, and other tools](https://docs.grok.com/build/agents-window/help/integrations/third-party.md) - [Troubleshooting](https://docs.grok.com/build/agents-window/help/troubleshooting/agent-issues.md) - [Troubleshooting — Tab completions](https://docs.grok.com/build/agents-window/help/troubleshooting/tab-issues.md) - [Troubleshooting — Installation and startup](https://docs.grok.com/build/agents-window/help/troubleshooting/install-issues.md) - [Troubleshooting — Minimum version policy](https://docs.grok.com/build/agents-window/help/troubleshooting/minimum-version.md) - [Troubleshooting — Network, proxy, and remote connections](https://docs.grok.com/build/agents-window/help/troubleshooting/network.md) - [Troubleshooting — Extension conflicts](https://docs.grok.com/build/agents-window/help/troubleshooting/extensions.md) - [Troubleshooting — Performance](https://docs.grok.com/build/agents-window/help/troubleshooting/performance.md) - [Troubleshooting — Reporting a bug](https://docs.grok.com/build/agents-window/help/troubleshooting/reporting-bugs.md) ## Grok Bot - [Get started](https://docs.grok.com/grok-bot/overview.md) - [Get started — Get started](https://docs.grok.com/grok-bot/get-started.md) - [Get started — Use cases](https://docs.grok.com/grok-bot/use-cases.md) - [Get started — How Grok Bot works](https://docs.grok.com/grok-bot/how-grok-bot-works.md) - [Use Grok Bot](https://docs.grok.com/grok-bot/bots.md) - [Use Grok Bot — Message and collaborate](https://docs.grok.com/grok-bot/chat-and-collaboration.md) - [Use Grok Bot — Files and results](https://docs.grok.com/grok-bot/files-and-results.md) - [Use Grok Bot — Use the computer and apps](https://docs.grok.com/grok-bot/computer-and-apps.md) - [Use Grok Bot — Skills and routines](https://docs.grok.com/grok-bot/skills-routines-and-automations.md) - [Use Grok Bot — Approvals and privacy](https://docs.grok.com/grok-bot/approvals-security-and-privacy.md) - [Use Grok Bot — Vault and secure sign-in](https://docs.grok.com/grok-bot/vault.md) - [Use Grok Bot — Team Bots](https://docs.grok.com/grok-bot/team-bots.md) - [Use Grok Bot — Create and share a Team Bot](https://docs.grok.com/grok-bot/create-a-team-bot.md) - [Use Grok Bot — Grok Bot for Mobile](https://docs.grok.com/grok-bot/mobile.md) - [Use Grok Bot — Use Grok Bot in Microsoft Teams](https://docs.grok.com/grok-bot/microsoft-teams.md) - [Use Grok Bot — Add a Bot to your meetings](https://docs.grok.com/grok-bot/meetings.md) - [Use Grok Bot — When your Bot takes initiative](https://docs.grok.com/grok-bot/initiative.md) - [Use Grok Bot — Tag @bot on X](https://docs.grok.com/grok-bot/tag-on-x.md) - [Teams and enterprises](https://docs.grok.com/grok-bot/teams-and-enterprises.md) - [Teams and enterprises — Deploy to your organization](https://docs.grok.com/grok-bot/deployment.md) - [Teams and enterprises — Identity and access](https://docs.grok.com/grok-bot/identity-and-access.md) - [Teams and enterprises — Okta Verify and FastPass](https://docs.grok.com/grok-bot/okta-fastpass.md) - [Teams and enterprises — Private networks](https://docs.grok.com/grok-bot/private-networks.md) - [Teams and enterprises — TLS-inspecting proxies](https://docs.grok.com/grok-bot/proxies.md) - [Teams and enterprises — Manage computers](https://docs.grok.com/grok-bot/computers.md) - [Teams and enterprises — Inference hooks](https://docs.grok.com/grok-bot/inference-hooks.md) - [Teams and enterprises — Security](https://docs.grok.com/grok-bot/security.md) - [Teams and enterprises — Security FAQ](https://docs.grok.com/grok-bot/security-faq.md) - [Reference](https://docs.grok.com/grok-bot/settings-and-notifications.md) - [Reference — MCP support](https://docs.grok.com/grok-bot/mcp.md) - [Reference — Deep links](https://docs.grok.com/grok-bot/deep-links.md) - [Reference — Troubleshooting](https://docs.grok.com/grok-bot/troubleshooting.md) - [Reference — FAQ](https://docs.grok.com/grok-bot/faq.md) ## Grok - [Get Started](https://docs.grok.com/grok/overview.md) - [Help & FAQ](https://docs.grok.com/grok/faq.md) - [Connectors](https://docs.grok.com/grok/connectors.md) - [Connectors — Google Drive](https://docs.grok.com/grok/connectors/google-drive.md) - [Connectors — Gmail & Google Calendar](https://docs.grok.com/grok/connectors/gmail-google-calendar.md) - [Connectors — Outlook Mail & Calendar](https://docs.grok.com/grok/connectors/outlook.md) - [Connectors — SharePoint](https://docs.grok.com/grok/connectors/sharepoint.md) - [Connectors — OneDrive](https://docs.grok.com/grok/connectors/onedrive.md) - [Connectors — Microsoft Teams](https://docs.grok.com/grok/connectors/microsoft-teams.md) - [Connectors — Salesforce](https://docs.grok.com/grok/connectors/salesforce.md) - [Connectors — Custom MCP Tunneling](https://docs.grok.com/grok/connectors/custom-mcp-tunneling.md) - [Business & Enterprise](https://docs.grok.com/grok/user-guide.md) - [Business & Enterprise — License & User Management](https://docs.grok.com/grok/management.md) - [Business & Enterprise — Connector Management](https://docs.grok.com/grok/connector-management.md) - [Business & Enterprise — Organization Management](https://docs.grok.com/grok/organization.md) ## The X Subscription - [Get Started](https://docs.grok.com/x-subscription/overview.md) - [Get Started — Do I have to switch?](https://docs.grok.com/x-subscription/do-i-have-to-switch.md) - [Get Started — Who can combine accounts?](https://docs.grok.com/x-subscription/eligibility.md) - [Get Started — How to unify accounts](https://docs.grok.com/x-subscription/unify-accounts.md) - [Get Started — I have more than one Cursor account](https://docs.grok.com/x-subscription/multiple-cursor-accounts.md) - [Get Started — X Premium customers](https://docs.grok.com/x-subscription/x-premium.md) - [Get Started — Enterprise account unification](https://docs.grok.com/x-subscription/enterprise.md) - [Plans and usage](https://docs.grok.com/x-subscription/pricing.md) - [Plans and usage — Usage limits](https://docs.grok.com/x-subscription/usage-limits.md) - [Plans and usage — Extra usage credits and top-ups](https://docs.grok.com/x-subscription/extra-usage.md) - [Plans and usage — Prepaid balance and automatic top-ups](https://docs.grok.com/x-subscription/prepaid-balance.md) - [Plans and usage — Spending caps and alerts](https://docs.grok.com/x-subscription/spending-caps.md) - [Plans and usage — Grok Build Token Rate](https://docs.grok.com/x-subscription/cursor-token-rate.md) - [Manage your subscription](https://docs.grok.com/x-subscription/manage.md) - [Manage your subscription — Upgrade or downgrade](https://docs.grok.com/x-subscription/upgrade-or-downgrade.md) - [Manage your subscription — Team plans, seats, and invites](https://docs.grok.com/x-subscription/team-plans.md) - [Manage your subscription — Payment methods](https://docs.grok.com/x-subscription/payment-methods.md) - [Manage your subscription — Invoices & Refunds](https://docs.grok.com/x-subscription/invoices-and-refunds.md) - [Manage your subscription — Cancel your subscription](https://docs.grok.com/x-subscription/cancel.md) - [Manage your subscription — App Store subscriptions](https://docs.grok.com/x-subscription/app-store.md) - [Manage your subscription — Google Play subscriptions](https://docs.grok.com/x-subscription/google-play.md) - [Sign-in](https://docs.grok.com/x-subscription/sign-in.md) - [Sign-in — Sign-in domains](https://docs.grok.com/x-subscription/sign-in-domains.md) - [Grok Bot](https://docs.grok.com/x-subscription/grok-bot.md) - [Grok Bot — Grok Bot sign-in](https://docs.grok.com/x-subscription/grok-bot-sign-in.md) - [Grok Bot — Refer friends to Grok Bot](https://docs.grok.com/x-subscription/referral-program.md) - [Help](https://docs.grok.com/x-subscription/faq.md) ## Agent SDK - [Agent SDK](https://docs.grok.com/build/agents-window/agent-sdk.md): Build, test, and deploy bots and agents as code with the Agent SDK. - [Changelog](https://docs.grok.com/build/agents-window/agent-sdk/changelog.md): Changelog for @grok/agent-sdk releases. - [Build a PR reviewer](https://docs.grok.com/build/agents-window/agent-sdk/quickstart.md): Create an Agent SDK bot or agent that reviews pull requests by complexity, approves safe changes, and handles GitHub webhook events. - [GitHub](https://docs.grok.com/build/agents-window/agent-sdk/guides/github.md): Let your agent read pull requests and CI, then write back reviews, comments, and checks. - [Slack](https://docs.grok.com/build/agents-window/agent-sdk/guides/slack.md): Wake your agent from mentions, DMs, and watched posts, then reply in the thread. - [Microsoft Teams](https://docs.grok.com/build/agents-window/agent-sdk/guides/teams.md): Answer mentions, personal chats, and watched channel posts in Microsoft Teams with your own Azure Bot. - [Webhooks & custom channels](https://docs.grok.com/build/agents-window/agent-sdk/guides/webhooks.md): Receive provider events, keep one conversation per domain object, and deliver agent replies back out. - [Convert a Grok Build automation](https://docs.grok.com/build/agents-window/agent-sdk/guides/convert-automation.md): Turn a dashboard Automation into an Agent SDK project, then reconnect its actions and triggers. - [OpenTelemetry](https://docs.grok.com/build/agents-window/agent-sdk/guides/opentelemetry.md): Export traces, metrics, and logs to an OTLP collector and tag them per turn. - [GitLab](https://docs.grok.com/build/agents-window/agent-sdk/guides/gitlab.md): Review merge requests, answer notes, and triage failed pipelines on GitLab.com or self-managed GitLab. - [Bitbucket](https://docs.grok.com/build/agents-window/agent-sdk/guides/bitbucket.md): Review pull requests, answer comments, and triage pushes on Bitbucket Cloud or Data Center. - [PagerDuty](https://docs.grok.com/build/agents-window/agent-sdk/guides/pagerduty.md): Respond to PagerDuty incidents by investigating a page, following it through acknowledgement and resolution, and ignoring your own actions. - [Extensions](https://docs.grok.com/build/agents-window/agent-sdk/reference/extensions.md): Mount a namespaced package of tools, skills, connections, and other agent capabilities, then inspect or override what it adds. - [Grok Build cloud agents](https://docs.grok.com/build/agents-window/agent-sdk/guides/cloud-agents.md): Let an Agent SDK agent hand coding work to Grok Build cloud agents and steer them: mount the extension and pick the repositories it may touch. - [Self-improvement](https://docs.grok.com/build/agents-window/agent-sdk/guides/improve.md): Let an agent propose a change to its own source through a branch and pull request, with review and deployment kept separate. - [Jev](https://docs.grok.com/build/agents-window/agent-sdk/guides/jev.md): Use typed Jev decisions to filter findings, route pull requests, and gate review actions. - [Host MCP OAuth](https://docs.grok.com/build/agents-window/agent-sdk/guides/mcp-oauth.md): Authorize a private MCP server locally, constrain its tools, and choose where its credentials live. - [Per-user MCP connections](https://docs.grok.com/build/agents-window/agent-sdk/guides/per-user-connections.md): Call Grok Build-managed MCP connectors as the signed-in person who sent the message. - [Peer agents](https://docs.grok.com/build/agents-window/agent-sdk/guides/agent-to-agent.md): Let one Agent SDK agent consult an independent specialist, continue its session, or call its deterministic tools. - [Deployment](https://docs.grok.com/build/agents-window/agent-sdk/deployment.md): Deploy an Agent SDK project from Git with Grok Build-managed hosting, or run one secure process on your own infrastructure. - [Workload identity (OIDC)](https://docs.grok.com/build/agents-window/agent-sdk/guides/workload-identity.md): Mint short-lived OIDC tokens from a deployed Agent SDK agent to authenticate with cloud providers and external services without static keys. - [Migrate an early-alpha project](https://docs.grok.com/build/agents-window/agent-sdk/guides/migrate.md): Move a hosted Agent SDK architecture v1 project to v2 through a reviewed pull request. - [Evals](https://docs.grok.com/build/agents-window/agent-sdk/evals.md): Measure and Improve agent behavior with Evals - [Hillclimbing](https://docs.grok.com/build/agents-window/agent-sdk/hillclimbing.md): Iteratively improve agent behavior with evals - [Build with a coding agent](https://docs.grok.com/build/agents-window/agent-sdk/building-with-agents.md): Delegate Agent SDK creation, capability work, verification, and measured improvement to a coding agent. - [Fix common agent problems](https://docs.grok.com/build/agents-window/agent-sdk/troubleshooting.md): Match the symptom to one corrective action, then inspect the session trace when the first fix is not enough. - [Review and triage templates](https://docs.grok.com/build/agents-window/agent-sdk/templates/reviews.md): Scaffold a pull request reviewer or an issue triager, try it locally, and deploy it. - [Review pull requests with owners policies](https://docs.grok.com/build/agents-window/agent-sdk/templates/agentic-owners.md): Scaffold the agent, commit .agentic-owners policies, and let it risk-tier PRs, request the owners, and approve what the policy allows. - [Project layout](https://docs.grok.com/build/agents-window/agent-sdk/reference/project-layout.md): The canonical bot/ folder layout and its path-derived naming rules. - [Agent config](https://docs.grok.com/build/agents-window/agent-sdk/reference/agent-config.md): defineAgent at bot/agent.ts: the model, local workspace, and programmatic serving. - [Instructions](https://docs.grok.com/build/agents-window/agent-sdk/reference/instructions.md): The always-on system prompt: authoring forms, how a local turn and a turn in the cloud receive it, and what makes instructions hold up. - [Tools](https://docs.grok.com/build/agents-window/agent-sdk/reference/tools.md): Define typed actions the model can call, control their dry-run effects, and call any server tool without a model turn. - [Skills](https://docs.grok.com/build/agents-window/agent-sdk/reference/skills.md): On-demand procedures the model loads only when relevant, in three authoring forms. - [MCP connections](https://docs.grok.com/build/agents-window/agent-sdk/reference/connections.md): Pull in tools from MCP servers: remote, stdio, the signed-in Grok Build account's connectors, and peer agents. - [Subagents](https://docs.grok.com/build/agents-window/agent-sdk/reference/subagents.md): Specialist child agents the model delegates to mid-turn, each its own directory under bot/subagents/. - [Channels](https://docs.grok.com/build/agents-window/agent-sdk/reference/channels.md): Define custom channel routes, schemas, state, events, and authentication. - [Schedules & reminders](https://docs.grok.com/build/agents-window/agent-sdk/reference/schedules.md): Cron-driven runs defined at deploy time, and per-session durable wakes created at runtime. - [Hooks](https://docs.grok.com/build/agents-window/agent-sdk/reference/hooks.md): Run code after session events for audit logs, metrics, and transcript mirrors. - [Memory](https://docs.grok.com/build/agents-window/agent-sdk/reference/memory.md): Journal every turn so later sessions can read what earlier ones did. - [Evals](https://docs.grok.com/build/agents-window/agent-sdk/reference/evals.md): Define eval cases, drive turns, assert trajectories, and interpret results. - [Artifacts](https://docs.grok.com/build/agents-window/agent-sdk/reference/artifacts.md): Declare, tag, list, stream, and download durable agent outputs. - [Sessions, events, and streaming](https://docs.grok.com/build/agents-window/agent-sdk/reference/sessions.md): Understand how conversations continue, how events stream, and where session data lives. - [Playground](https://docs.grok.com/build/agents-window/agent-sdk/reference/playground.md): The built-in web UI: chat with streaming, Try buttons and slash commands, session replay, and dev-mode dispatch. - [CLI](https://docs.grok.com/build/agents-window/agent-sdk/reference/cli.md): Look up Agent SDK commands, targets, flags, outputs, and exit status. - [HTTP API](https://docs.grok.com/build/agents-window/agent-sdk/reference/http-api.md): Public session, discovery, and channel routes callers use. - [Access](https://docs.grok.com/build/agents-window/agent-sdk/reference/access.md): Who can view, deploy, and manage a deployed bot. - [Limits](https://docs.grok.com/build/agents-window/agent-sdk/reference/limits.md): How many deployments and deploys a team can have on Grok Build-managed hosting, and the error a deploy returns at the cap. ## Cookbook - [Article to Read-Along](https://docs.grok.com/cookbook/examples/article-to-read-along.md): Turn any article into audio that highlights each word as it's spoken, using the per-character timestamps from text to speech, and click a word to jump there. - [Live Interpreter](https://docs.grok.com/cookbook/examples/live-interpreter.md): Speak one language and hear Grok say it in another a moment later, from a page that connects straight to the realtime voice API with a short-lived token. - [Photo to Talking Character](https://docs.grok.com/cookbook/examples/photo-to-talking-character.md): Make a drawing, a mascot, or a pet photo talk in a voice you pick, and have a second character answer, using reference-to-video from Grok image & video models. - [Podcast from a Link](https://docs.grok.com/cookbook/examples/podcast-from-a-link.md): Turn an article or a PDF into a two-host podcast episode, and watch it being written and recorded live in a small web app. - [Screenshot to React Component](https://docs.grok.com/cookbook/examples/screenshot-to-component.md): Turn a screenshot of a UI into a React component styled with Tailwind, then have Grok compare the result with the original and fix what doesn't match. - [Company to Call Brief](https://docs.grok.com/cookbook/examples/company-to-call-brief.md): Prep for a sales call with a one-page brief, as Grok searches the web and 𝕏 and looks up the account through CRM functions that run in your app. - [CSV to Answers](https://docs.grok.com/cookbook/examples/csv-to-answers.md): Drop in a CSV and ask questions about it. Grok writes and runs pandas in a sandbox, shows the code it ran, and answers with computed numbers and a chart. - [Database over MCP](https://docs.grok.com/cookbook/examples/database-over-mcp.md): Serve a SQLite database as a small MCP server that only reads, and watch Grok list its tables, read their schemas, and run SQL through it to answer a question. - [Docs to Cited Answers](https://docs.grok.com/cookbook/examples/docs-to-cited-answers.md): Ask questions about a folder of documents and get answers that cite the passages they came from, with a metadata filter that decides which documents count. - [Mobile Voice Apps](https://docs.grok.com/cookbook/examples/voice-agent-mobile.md): Native iOS and Android apps for real-time voice conversations with Grok, plus text-to-speech on iOS. - [Phone Voice Agent](https://docs.grok.com/cookbook/examples/voice-agent-phone.md): A voice agent you can call on the phone, using Twilio. - [Photo to Time-Lapse](https://docs.grok.com/cookbook/examples/photo-to-time-lapse.md): Turn one photo into a time-lapse, like a street through the four seasons, by editing it for each stage and pinning every edit in one Grok video. - [Product Photo to Video Ad](https://docs.grok.com/cookbook/examples/product-video-ad.md): Turn one product photo into a vertical video ad with a voiceover, as Grok writes the brief, places the product in three scenes, picks one, and animates it. - [Prompt Caching](https://docs.grok.com/cookbook/examples/prompt-caching.md): Play one 30-message chat three ways to see what the prompt cache saves, how the time at the top of the system prompt breaks it, and what compaction costs. - [Prompt Injection Defenses](https://docs.grok.com/cookbook/examples/prompt-injection-defenses.md): Watch poisoned pages try to make an agent leak private data, see each of four defenses miss an attack another catches, and stop all ten with all four on. - [Reasoning Effort Evals](https://docs.grok.com/cookbook/examples/reasoning-effort-evals.md): Run a prompt's test cases at every reasoning effort, grade the answers with code checks and a judge, and find the cheapest effort that's still good enough. - [Receipts to Spreadsheet](https://docs.grok.com/cookbook/examples/receipts-to-spreadsheet.md): Turn receipt photos and PDF invoices into a spreadsheet that adds up, with Grok reading each one twice and flagging the cells where the reads disagree. - [Reviews to Themes](https://docs.grok.com/cookbook/examples/reviews-to-themes.md): Turn a thousand app reviews into ranked themes with counts, trends, and quotes by labeling every review in one Batch API job. - [Storyboard to Short Film](https://docs.grok.com/cookbook/examples/storyboard-to-film.md): Turn a one-line premise into a four-shot short film with keyframes, image-to-video, and narration from Grok image & video models, and watch it being made in a small web app. - [Topics to Morning Briefing](https://docs.grok.com/cookbook/examples/topics-to-morning-briefing.md): Turn a few topics into a two-minute spoken briefing from 𝕏 and the web, with Grok skipping the stories it already told you about and a cost cap on every run. - [Web Voice Agent](https://docs.grok.com/cookbook/examples/voice-agent-web.md): A React client with swappable Python and Node.js backends that talk to the Voice Agent API over WebSocket. - [𝕏 Post to Fact-Check](https://docs.grok.com/cookbook/examples/x-post-fact-check.md): Paste a link to a post on 𝕏, and Grok checks each claim on the web and on 𝕏 at the same time and writes a note where every sentence cites a source. - [𝕏 Sentiment Tracker](https://docs.grok.com/cookbook/examples/x-sentiment-tracker.md): Score the sentiment about any topic from live 𝕏 posts with Grok's X Search tool, on a dashboard with a score for every post and the sentiment day by day. - [Bug Report to Fix](https://docs.grok.com/cookbook/examples/bug-report-to-fix.md): Describe a bug in a small repo, and watch Grok reproduce it with a failing test, fix it, and rerun the tests, checking every command before it runs. - [Meeting to Action Items](https://docs.grok.com/cookbook/examples/meeting-to-action-items.md): Caption a call live by speaker, keep a running list of decisions and action items, and ask questions whose answers link to the moment in the transcript. - [Refund Agent with Human Approval](https://docs.grok.com/cookbook/examples/refund-agent-human-approval.md): Build a support agent that stops before a refund, waits for a person to approve it, and resumes the same run from a stored response, even after a restart. - [Video Dubbing](https://docs.grok.com/cookbook/examples/video-dubbing.md): Dub a video into another language, with each line timed to the original speech, shortened by Grok when it runs long, and mixed over the original background. - [WebRTC Voice Agent](https://docs.grok.com/cookbook/examples/voice-agent-webrtc.md): A low-latency browser voice agent that uses WebRTC between the browser and a server, which connects to the Grok API over WebSocket. ## Machine-readable resources - [OpenAPI specification](https://docs.grok.com/openapi.json): OpenAPI schema for the Grok API (https://api.x.ai) - [API catalog](https://docs.grok.com/.well-known/api-catalog): RFC 9727 linkset for the Grok API - [MCP server](https://docs.grok.com/api/mcp): Model Context Protocol server with docs search and retrieval tools - [MCP server card](https://docs.grok.com/.well-known/mcp/server-card.json): connection metadata for the MCP server - [Sitemap](https://docs.grok.com/sitemap.xml): all documentation page URLs - [Authentication reference](https://docs.grok.com/developers/rest-api-reference/management/auth.md): API keys and short-lived management-API tokens ## Optional - [llms-full.txt](https://docs.grok.com/llms-full.txt): every documentation page concatenated into one markdown file (large)