blaxel
Blaxel - AI development platform SDK
Decision gist · record as of 2026-08-14
Yes, if you are building on the Blaxel platform or need a Python interface to its sandbox infrastructure. The SDK is actively maintained, has low install friction, and covers core sandbox operations. However, verify the license terms first—they are not declared in the package metadata—and ensure your use case aligns with Blaxel's pricing and authentication model.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Blaxel workspace authentication via Blaxel CLI login, environment variables (BL_WORKSPACE, BL_API_KEY), or config file (~/.blaxel/config.yaml).
- Low install friction with a pure-Python wheel.
- Active maintenance with recent releases; last commit 2026-08-14.
License · maintenance · safety
(unclear) — License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before using in proprietary or commercial projects.
last release 2026-07-28 (17 days) · last repo commit 2026-08-14 · 27 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 162,387 downloads/mo, #10,607 on PyPI
Alternatives
Verify before relying
pip install blaxel
import asyncio
from blaxel.core import SandboxInstance
async def main():
sandbox = await SandboxInstance.create_if_not_exists({
"name": "my-sandbox",
"image": "blaxel/base-image:latest",
"memory": 4096
})
await sandbox.delete()
asyncio.run(main())- Whether the default base image includes Python or requires explicit installation for Python workloads.
- Exact behavior and latency guarantees for sandbox startup and resumption times.
- Rate limits or quotas on sandbox creation, process execution, or API calls.
- Data retention and cleanup policies for volumes and sandbox state.
What it is and what it does
Blaxel is a Python SDK for interacting with Blaxel's perpetual sandbox platform—a managed compute service that keeps secure sandboxes on standby for near-instant launch. The SDK lets you programmatically create sandboxes, execute processes, manage filesystems, attach persistent volumes, and generate preview URLs for web services running inside them. It supports both async and sync APIs and handles pagination for list operations.
The platform is designed for AI agent development and deployment, with co-hosted agent logic to reduce network latency. Authentication is automatic when using the Blaxel CLI or can be configured via environment variables or a config file. The default sandbox image is Alpine Linux with Node.js 22 and git; Python must be explicitly installed or a Python-specific image selected.
Use it for
- Deploy and manage AI agents in isolated, auto-scaling sandbox environments with minimal startup overhead.
- Execute long-running or batch processes (builds, data pipelines) in ephemeral containers that scale to zero after inactivity.
- Generate temporary public or private preview URLs to test web services or APIs running inside sandboxes.
- Persist application state and data across sandbox restarts using attached volumes.
- Programmatically manage sandbox lifecycle (create, monitor, delete) as part of a larger orchestration workflow.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building on the Blaxel platform or need a Python interface to its sandbox infrastructure.
The SDK is actively maintained, has low install friction, and covers core sandbox operations. However, verify the license terms first—they are not declared in the package metadata—and ensure your use case aligns with Blaxel's pricing and authentication model.
Install
blaxel on PyPI
Before you install
Low install friction with a pure-Python wheel. Active maintenance with recent releases; last commit 2026-08-14. Requires Python 3.10–3.14 and 11 runtime dependencies including httpx, pydantic, and websockets.
Requires Blaxel workspace authentication via Blaxel CLI login, environment variables (BL_WORKSPACE, BL_API_KEY), or config file (~/.blaxel/config.yaml).
License in practice
License treatment is unclear—no SPDX identifier or raw license text is available in the package metadata. Verify the actual license terms before using in proprietary or commercial projects.
Quickstart
pip install blaxel
import asyncio
from blaxel.core import SandboxInstance
async def main():
sandbox = await SandboxInstance.create_if_not_exists({
"name": "my-sandbox",
"image": "blaxel/base-image:latest",
"memory": 4096
})
await sandbox.delete()
asyncio.run(main())
Verify before relying
- Whether the default base image includes Python or requires explicit installation for Python workloads.
- Exact behavior and latency guarantees for sandbox startup and resumption times.
- Rate limits or quotas on sandbox creation, process execution, or API calls.
- Data retention and cleanup policies for volumes and sandbox state.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release <3.15,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 11 packagesattrsdockerfile-parsehttpxmcppydanticpyjwtpython-dateutilpyyamlrequeststomliwebsockets |
| Maintenance | Actively maintained 17 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 162,387 / month, #10,607 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: blaxel-0.4.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “instant sandbox environments”
- blaxelPython SDK for creating, managing, and executing workloads in…
- opensandboxOpenSandbox SDK provides low-level Python bindings to create, manage,…
- k8s-agent-sandboxA Python client library for creating and managing isolated sandbox…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also prime-sandboxes · tensorlake · koyeb-sdk · lightning-sdk · shuffle-sdk · e2b · k8s-agent-sandbox · opensandbox · hyperbrowser · prime