Loading video...

Video Failed to Load

Go Home

we're releasing an experimental 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

123,094 views • 9 days ago •via X (Twitter)

41 Comments

eric zakariasson's profile picture
eric zakariasson9 days ago

it's early and we'd love to get your feedback as we keep iterating on it! github: npm:

Evan Bacon's profile picture
Evan Bacon9 days ago

@SpaceXAI @xai So good! Excited to get my bots building with this

eric zakariasson's profile picture
eric zakariasson9 days ago

@SpaceXAI @xai yes! gotta let me know what @bot thinks of it

NotaDEV's profile picture
NotaDEV9 days ago

@SpaceXAI @xai is the code execution sandboxed per request or shared

eric zakariasson's profile picture
eric zakariasson9 days ago

@SpaceXAI @xai per request. each code execution runs in its own isolated python sandbox with no network or filesystem access, and nothing persists between requests. details here:

NotaDEV's profile picture
NotaDEV9 days ago

@SpaceXAI @xai gotcha thanks!

Melvin Vivas's profile picture
Melvin Vivas9 days ago

@SpaceXAI @xai awesome!

Nico Laeser's profile picture
Nico Laeser9 days ago

@SpaceXAI @xai FUCK YEAHHH! Love you guys

OrcDev's profile picture
OrcDev9 days ago

@SpaceXAI @xai @Jaaneek I see you got no response from npm :)

tobias's profile picture
tobias9 days ago

@SpaceXAI @xai Perfect for my and my daughters weekend project

Emilio's profile picture
Emilio9 days ago

@SpaceXAI @xai It looks like a really cool All-In-One solution for creating release trailers. Sad to say im in X API debt so I wont test it haha

eric zakariasson's profile picture
eric zakariasson9 days ago

@SpaceXAI @xai good news! this runs on the spacexai api, not the x api. totally separate credits at so your x api balance is untouched.

Emilio's profile picture
Emilio9 days ago

@SpaceXAI @xai oh hell yeah. then i might just have to try it

Dan van der Merwe's profile picture
Dan van der Merwe9 days ago

@SpaceXAI @xai where's the @EffectTS_ ?

Paul Vann's profile picture
Paul Vann9 days ago

@SpaceXAI @xai let's go boss 🤝

Kim Bee's profile picture
Kim Bee9 days ago

@SpaceXAI @xai 🔥

Pitchfork & Torch ♞'s profile picture
Pitchfork & Torch ♞9 days ago

@SpaceXAI @xai Yo let’s go!!!

Garric G. Nahapetian's profile picture
Garric G. Nahapetian9 days ago

@SpaceXAI @xai SMS/MMS texting, inbound/outbound voice calling?

eric zakariasson's profile picture
eric zakariasson9 days ago

@SpaceXAI @xai 👀

Garric G. Nahapetian's profile picture
Garric G. Nahapetian9 days ago

@SpaceXAI @xai Physical (virtual) mailing address next please like @useStable maybe just buy them 🤷‍♂️

Nsho's profile picture
Nsho9 days ago

@SpaceXAI @xai Is this grok chat imagine and build cli terminal all in one?!

tetsuo's profile picture
tetsuo9 days ago

@SpaceXAI @xai Wowa!

Raunak's profile picture
Raunak9 days ago

@SpaceXAI @xai Soo good honestly

The SI Therapist's profile picture
The SI Therapist9 days ago

@SpaceXAI @xai SpaceXAI offers text and voice in one SDK for Grok models which run on their servers that is very efficient indeed!

Syuvo's profile picture
Syuvo9 days ago

@SpaceXAI @xai server-side tools in the sdk itself is the move, half of my code is glue for exactly that

Fran Escob's profile picture
Fran Escob9 days ago

@SpaceXAI @xai @grok can we use grok heavy oauth with it? Or just api

Tim Rines's profile picture
Tim Rines9 days ago

@SpaceXAI @xai 🚀

codila's profile picture
codila9 days ago

@SpaceXAI @xai yoo, super interesting to try! thanks team

artalar's profile picture
artalar9 days ago

@SpaceXAI @xai Do it for @bot pls

Sven Hohlfeld's profile picture
Sven Hohlfeld9 days ago

@SpaceXAI @xai That’s a very nice sdk. Might try this with deno. Other implementations e.g. python or go planned?

Cristian Adamo's profile picture
Cristian Adamo9 days ago

@SpaceXAI @xai Built with grok 4.7?

Logan's profile picture
Logan9 days ago

@SpaceXAI @xai one sdk for text, voice, image and video is the right shape. most of the pain in multimodal apps is the glue between vendors

Jack's profile picture
Jack9 days ago

@SpaceXAI @xai text voice image video in one sdk, the bundling era is here

ravi avasarala's profile picture
ravi avasarala9 days ago

@SpaceXAI @xai any plans to consolidate x and xai API credits?

Stephen Tilmon's profile picture
Stephen Tilmon9 days ago

@SpaceXAI @xai Great stuff! One SDK for all modalities is huge. @Nainahf has been solid on how this reshapes the AI stock race.

Paranjay Mundra, CFA's profile picture
Paranjay Mundra, CFA9 days ago

@SpaceXAI @xai @grok how can it it be helpful for me?

Robert Botto's profile picture
Robert Botto9 days ago

@SpaceXAI @xai Do we have to be on the API plan? Or credit usage or something else?

John's profile picture
John9 days ago

@SpaceXAI @xai Nice, what's the networking like?

Virgile RIETSCH's profile picture
Virgile RIETSCH9 days ago

@SpaceXAI @xai This will be cool for you @AlemTuzlak

Ye Hang's profile picture
Ye Hang9 days ago

@SpaceXAI @xai @grok explain without technical jargon

Rafe's profile picture
Rafe9 days ago

@SpaceXAI @xai one sdk for text, voice, image and video is useful if the auth and error handling are consistent across all four. thats usually where the abstraction breaks

Related Videos