Essentials
Agents Hosting is a serverless computing service that allows you to host any application without having to manage infrastructure. It gives you full observability and tracing out of the box. It doesn’t force you into any kind of workflow or shaped box — you can host any app on Blaxel as long as it exposes an HTTP API. This makes Blaxel completely agnostic of the framework used to develop your workflow or agent. Blaxel optimizes the experience specifically for agentic AI use cases, delivering a fully serverless experience even for the longer-running tasks typical of AI agents. For example, telemetry focuses on crucial agent metrics like end-to-end latency and time-to-first-token.Main features
Some features of running workloads on Agents Hosting:- a default invocation endpoint for synchronous requests
- an asynchronous invocation endpoint, for agent workloads lasting from dozens of seconds to 10 minutes
- full logging, telemetry and tracing — out-of-the-box
- revisions manage your agents’ lifecycle across iterations. You can ship as a new revision and rollback instantly
- an SDK to connect to other Blaxel resources (like models and tools) with adapters to most popular agent frameworks
Requirements & limitations
Agents Hosting have few requirements or limitations:- Agents Hosting only supports applications developed in Python and in TypeScript.
-
The only requirement to deploy an app on Agents Hosting is that it exposes an HTTP API server which is bound on
HOST(for the host) andPORT(for the port). These two environment variables are required for the host+port combo. - Agents deployed on Blaxel Agents Hosting have a maximum runtime of 15 minutes. This limit does not apply to Sandboxes or Batch Jobs, which have their own runtime limits.
- The synchronous endpoint closes the connection after 100 seconds if no data flows through the API. If your agent streams back responses, the connection resets with each chunk streamed. For example, if your agent processes a request for 5 minutes while streaming data, the connection stays open. However, if it goes 100 seconds without sending any data — even while calling external APIs — the connection will close.
Deploy your agent to Blaxel
Blaxel SDK provides methods to programmatically access and integrate various resources hosted on Blaxel into your agent’s code, such as: model APIs, tool servers, sandboxes, batch jobs, or other agents. The SDK handles authentication, secure connection management and telemetry automatically. This packaging makes Blaxel fully agnostic of the framework used to develop your agent and doesn’t prevent you from deploying your software on another platform.Quickstart
Quick-start guide to deploy your existing agent code as a serverless API on Blaxel.
Develop an agent using Blaxel resources
Read our full guide for developing AI agents leveraging Blaxel developer tools.
Deploy an agent on Blaxel
Read our full guide on deploying your agent to Blaxel.
Example: Deploy an agent on Blaxel using Claude Agent SDK
See an example of building and deploying an agent on Blaxel with Claude Agent SDK.
See more tutorials and examples
Read tutorials on building and deploying agents on Blaxel using popular frameworks.
Use your agents in your apps
Once your agent is deployed on Blaxel, you can start using it in your applications. Whether you need to process individual inference requests or integrate the agent into a larger application workflow, Blaxel provides flexible options for interaction. Learn how to authenticate requests, handle responses, and optimize your agent’s performance in production environments.Query agents
Learn how to run inference requests on your agent.
Integrate in apps
Learn how to integrate and use your Blaxel agents in your downstream applications.
Operational features
Variables and secrets
Manage environment variables and secrets for your agents.
Persistent storage
Attach Blaxel Volumes or Agent Drive for persistent storage.
Asynchronous triggers
Run long-running tasks asynchronously with optional callbacks.
Deploy from GitHub
Set up automatic deployments from your GitHub repository.
