Skip navigation
we're releasing an experimental typescript sdk!
0:00 / 0:35

we're releasing an experimental typescript sdk!

eric zakariasson

@ericzakariasson100K followers

Visit on X
1,266 likesDownloadOriginal post

126,031 views

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

41 Comments

Comments from the original post on X (Twitter)

  • eric zakariasson's profile picture

    @ericzakariasson

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

    33 likes

  • Evan Bacon's profile picture

    @Baconbrix

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

    7 likes

  • eric zakariasson's profile picture

    @ericzakariasson

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

    7 likes

  • NotaDEV's profile picture

    @leononrails

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

    5 likes

  • eric zakariasson's profile picture

    @ericzakariasson

    @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:

    6 likes

  • NotaDEV's profile picture

    @leononrails

    @SpaceXAI @xai gotcha thanks!

    2 likes

  • Melvin Vivas's profile picture

    @melvindvivas

    @SpaceXAI @xai awesome!

    3 likes

  • Nico Laeser's profile picture

    @nico_laeser

    @SpaceXAI @xai FUCK YEAHHH! Love you guys

    2 likes

  • OrcDev's profile picture

    @orcdev

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

    2 likes

  • tobias's profile picture

    @tobiastornros

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

    2 likes

  • Emilio's profile picture

    @EmilioSchwaiger

    @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

    1 like

  • eric zakariasson's profile picture

    @ericzakariasson

    @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.

    5 likes

  • Emilio's profile picture

    @EmilioSchwaiger

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

  • Dan van der Merwe's profile picture

    @danieljvdm

    @SpaceXAI @xai where's the @EffectTS_ ?

    1 like

  • Paul Vann's profile picture

    @pjvann

    @SpaceXAI @xai let's go boss 🤝

    1 like

  • Kim Bee's profile picture

    @_01010101

    @SpaceXAI @xai 🔥

  • Pitchfork & Torch ♞'s profile picture

    @SuddenlyJon

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

  • Garric G. Nahapetian's profile picture

    @garricn

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

  • eric zakariasson's profile picture

    @ericzakariasson

    @SpaceXAI @xai 👀

    1 like

  • Garric G. Nahapetian's profile picture

    @garricn

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