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
SpaceXAI Product Lead Says Plan Unification Is Weeks Away
SpaceX Closes Another AI Hosting Deal at About $1.11B a Month
SpaceX Q2 2026 Earnings: Starlink, Starship and AI Expansion
SpaceXAI Shows How to Run Multiple Grok Bot Teams
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

Latest Articles

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
Starlink Tech & Patents
SpaceX Gas Pipeline for Cape Facilities Clears Florida PSC Approval
SpaceX Gas Pipeline for Cape Facilities Clears Florida PSC Approval
Rockets
American Airlines to Put Starlink on Its Entire Mainline Fleet of 1,030+ Jets
American Airlines to Put Starlink on Its Entire Mainline Fleet of 1,030+ Jets
Starlink
Crew-12 Dragon Freedom Splashes Down After 237 Days
Crew-12 Dragon Freedom Splashes Down After 237 Days
Falcon 9 Rockets

Popular This Week

  • Official Starlink satellite illustration over Earth

    FCC Opens 1,000 MHz of Satellite Spectrum for SpaceX and Others

    5 October 20263 views
  • SpaceX Puts Starmind Scale in Writing: 100k Starlink, 1M AI Sats

    SpaceX Puts Starmind Scale in Writing: 100k Starlink, 1M AI Sats

    8 October 20262 views
  • SWISS flies its first Starlink aircraft

    SWISS flies its first Starlink aircraft

    3 October 20262 views
  • SpaceX Launches SDA Tranche 1 Transport Layer A on Fourth Try, Lands at LZ-4

    SpaceX Launches SDA Tranche 1 Transport Layer A on Fourth Try, Lands at LZ-4

    5 October 20261 views
  • Falcon 9 to Launch SDA Tranche 1 Transport Layer A [Scrubbed]

    Falcon 9 to Launch SDA Tranche 1 Transport Layer A [Scrubbed]

    4 October 20261 views

You Might also Like

What is Grok Build?
GrokxAI

What is Grok Build?

Karan Singh
8 Min Read

Unreleased Grok Bot Build Shows a “Start a Voice Call” Button

Karan Singh
3 Min Read
Musk Says Grok 4.7 Needs a Few More Days to Cook
GrokxAI

Musk Says Grok 4.7 Needs a Few More Days to Cook

Karan Singh
3 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