The Grid FinThe Grid FinThe Grid Fin
  • Rockets
  • Starlink
  • xAI
  • Tech and Patents
Search
Reading: SpaceXAI publishes an experimental TypeScript SDK
Share
Font ResizerAa
The Grid FinThe Grid Fin
Font ResizerAa
  • Home
  • Rockets
  • Starlink
  • xAI
  • Tech & Patents
Search
  • Rockets
  • Starlink
  • xAI
  • Tech and Patents
Follow US
The Grid Fin > xAI > Grok > SpaceXAI publishes an experimental TypeScript SDK
GrokSoftware UpdatesxAI

SpaceXAI publishes an experimental TypeScript SDK

By
Karan Singh - Owner | Editor
Published: 10 October 2026
3 Min Read
SpaceXAI publishes an experimental TypeScript SDK
SHARE

SpaceXAI published an experimental TypeScript Software Development Kit (SDK) on npm on 2 October 2026. The package, @xai-official/sdk, provides a typed client for Grok text, voice, image, and video features, along with tools that run on SpaceXAI’s servers. The latest release is version 0.2.3, and the SDK remains in pre-1.0 development for the time being as an experimental release.

Contents
  • What a Developer Can Call
  • Hosted Tools and Local Tools
  • Install Requirements
  • Pin a Version

we're releasing an experimental @SpaceXAI typescript sdk!

npm install @xai-official/sdk

get text, voice, image and video in one sdk, with the latest grok models

and tools that run on our servers, like real-time X search, web search, code execution and remote mcp pic.twitter.com/hiPfJDMmXe

— eric zakariasson (@ericzakariasson) October 2, 2026

What a Developer Can Call

The client has no runtime or peer dependencies. It supports the Responses API, image and video generation, the Files API, the Batch API, and the Voice API. It also includes tokenization, model lookup, and account lookup.

Additional features include streaming, structured output, function tools, image input, file uploads, batch processing, text-to-speech, transcription, multi-turn conversations, and access to usage data and HTTP metadata.

Hosted Tools and Local Tools

Several tools run on SpaceXAI’s servers. Web search retrieves online information, while X search provides real-time access to posts on X. Code execution runs Python in a server-side sandbox, and collections search enables searches across hosted files. Image generation is available both as a direct client call and as a hosted tool. Remote MCP and tool search also run on SpaceXAI’s servers.

Function tools and the shell tool instead run locally within the developer’s own application rather than on SpaceXAI’s servers.

Install Requirements

The SDK requires Node.js 22.13.0 or later and uses ECMAScript modules (ESM). Developers must use an ESM-compatible project, and the client reads the API key from the XAI_API_KEY environment variable.

To install the package, run npm install @xai-official/sdk or pnpm add @xai-official/sdk. A standard install follows npm’s latest tag, which currently points to version 0.2.3.

The package is available on npm, while its homepage and source repository are hosted on GitHub. The SDK blocks use in browsers and Workers by default to prevent secret API keys from being exposed in client-side code.

The package uses the Apache-2.0 license, and its its listed author is SpaceXAI, with support available at [email protected].

Pin a Version

The SDK is still in early development, and its interfaces may change before version 1.0. Developers should consider pinning a specific version to avoid unexpected changes. Currently, the latest version is 0.2.3 published on 7 October 2026. Before upgrading, check the changelog for breaking changes. Feedback and bug reports can be submitted through the repository’s GitHub issues.

SpaceXAI Drops Apple Antitrust Claims; OpenAI Claim Still Open
This Week in Grok: Grok Bot Picks the Best Model, Monitors X; Grok 4.7 Tops VulcanBench
This Week in Grok: Musk Says SpaceX Adds Half a Gigawatt of AI Compute a Month
Grok Bot Can Now Use 1Password to Sign Into Your Accounts
SpaceXAI: Grok Bot Absorbed 175% Support Growth Without New Hires
TAGGED:GrokSpaceXAIxAI
Share This Article
Facebook Copy Link Print
Share
ByKaran Singh
Owner | Editor
Follow:
Hey, I'm Karan! I'm the owner and editor of The Grid Fin, which focuses on SpaceX, Starlink, and xAI. I've previously been the lead writer over at NotATeslaApp and RivianWave, and write professionally elsewhere as well. I also run The Stator, an EV-focused weekly news recap available on YouTube and X.
Previous Article FCC Grants SpaceX's 15,000-Satellite Direct-to-Device Constellation for Starlink Mobile FCC Grants SpaceX’s 15,000-Satellite Direct-to-Device Constellation for Starlink Mobile
Next Article SpaceX Purchases Grain 800 MHz Spectrum SpaceX Purchases Grain 800 MHz Spectrum

Latest Articles

A Falcon 9 rocket climbs from Space Launch Complex 4 East at Vandenberg Space Force Base, leaving a trail of exhaust over the hills, Feb. 2, 2026.
This Week in SpaceX: A 32-Hour Pad Turnaround at Vandenberg
Rockets Falcon 9 General News Starlink
TheGridFin graphic for This Week in Grok, with the headline FCC Clears Up to 1 Million Starmind Satellites.
This Week in Grok: FCC Clears Up to 1 Million Starmind Satellites
xAI Grok
This Week in SpaceX: Ship 42 Could Fly Again in Weeks
This Week in SpaceX: Ship 42 Could Fly Again in Weeks
Rockets Falcon 9 General News Starlink Starship
Ship 42 held in the Starbase tower arms after the first Starship upper-stage catch on Flight 15, with the official webcast timer at T+22:32:52
Flight 15 Orbits 26 Starlink V3s; Ship 42 Caught, Booster Lost
Rockets Starlink Starship

Popular This Week

  • A Falcon 9 rocket climbs from Space Launch Complex 4 East at Vandenberg Space Force Base, leaving a trail of exhaust over the hills, Feb. 2, 2026.

    This Week in SpaceX: A 32-Hour Pad Turnaround at Vandenberg

    29 November 20261 views
  • TheGridFin graphic for This Week in Grok, with the headline FCC Clears Up to 1 Million Starmind Satellites.

    This Week in Grok: FCC Clears Up to 1 Million Starmind Satellites

    29 November 20260 views

You Might also Like

Grok Bot Opens to Enterprises With Audit and Network Controls
GrokxAI

Grok Bot Opens to Enterprises With Audit and Network Controls

Karan Singh
4 Min Read
Grok Bot Launches Shareable Templates
GrokxAI

Grok Bot Launches Shareable Templates

Karan Singh
3 Min Read
How to Use Grok Bot as a Chief of Staff
GrokxAI

How to Use Grok Bot as a Chief of Staff

Karan Singh
12 Min Read

Independent news and analysis covering SpaceX, Starlink, xAI, rockets, artificial intelligence, and the technologies shaping what comes next.

About Us

  • Contact Us
  • How to Buy Starlink | Referral Code
  • Terms of Service
    • Advertise
    • Privacy Policy
    • Editorial Standards
    • Disclaimer
    • Affiliate and Referral Disclosure
  • About

Categories

  • Rockets
  • Starlink
  • xAI
  • Tech and Patents

More Categories

  • Falcon 9
  • Falcon Heavy
  • Starship
  • Super Heavy Booster
  • Software Updates
  • Grok
Follow US
© The Grid Fin, 2026