TypeScript SDK
Manage Blaxel resources programmatically using our TypeScript SDK.
Blaxel features a SDK in TypeScript. Check out down below the installation instructions down below.
Install
To manage Blaxel resources, use the core SDK @blaxel/core
:
For automatic trace and metric exports when running workloads with Blaxel SDK, you’ll want to use @blaxel/telemetry
. Import this SDK at your project’s entry point.
For compatibility with agent’s frameworks (i.e. to import tools and models in the framework’s format), import the corresponding SDK:
Guides
Create sandboxes
Use Blaxel SDK to create and connect to sandboxes and sandbox previews.
Interact with a sandbox
Use Blaxel SDK to manage the filesystem, processes and logs of a sandbox.
Connect to MCP servers
Use Blaxel SDK to retrieve tools from a deployed MCP server.
Connect to model APIs
Use Blaxel SDK to retrieve an LLM client when building agents.
Deploy your MCP server
Use Blaxel SDK to create and host a custom MCP server.
Chain agents
Use Blaxel SDK to chain calls to multiple agents.
Complete SDK reference
Visit the GitHub page below for detailed documentation on the SDK’s commands and classes.
TypeScript SDK
Open the GitHub repository for Blaxel SDK in TypeScript.