You can bring agents developed in any framework (LangChain, CrewAI, or any custom framework in Python) and deploy them on Blaxel by integrating a few lines of the Blaxel SDK and leveraging our other developer tools (Blaxel CLI, GitHub action, etc.).

To run your agent on Blaxel, you must package it by using the Blaxel SDK so Blaxel can identify the core resources to deploy: the main agent code, the standalone tools/functions it can use, and the model APIs it can query. This is what allows Blaxel to enable its features when your agent is deployed, such as secure connections to third-party systems or private networks, smart global placement of workflows, and much more.

Check out this Getting Started tutorial in order to develop and deploy your first Hello World AI agent globally in less than 5 minutes.

Overview of the development/deployment process

Blaxel’s development paradigm is designed to have a minimal footprint on your usual development process. Your custom code remains platform-agnostic: you can deploy it on Blaxel or through traditional methods like Docker containers on VMs or Kubernetes clusters. When you deploy on Blaxel (CLI command bl deploy), Blaxel runs a specialized build process that integrates your code with its Global Inference Network features.

At this time, Blaxel only supports custom agents developed in TypeScript or Python.

Here is a high-level presentation of how agents can be built and deployed using Blaxel:

  1. Initialize a new project by creating a local git repository. This will contain your agent’s logic, custom functions, and API connections, as well as all required dependencies. For quick setup, use Blaxel CLI command bl create-agent-app, which creates a pre-scaffolded local repository ready for developing and deploying your agent on Blaxel.
  2. Develop and test your agent iteratively in a local environment.
    1. Develop your agent logic using an agentic framework (like LangChain) or any custom TypeScript/Python code. Write your own functions. Use Blaxel SDK wrappers and decorators on your core agent and functions to specify the resources to run on Blaxel.
    2. Use Blaxel CLI command bl serve to serve your agent on your local machine and get an endpoint for inference requests. The execution workflow—including agent logic, functions, and model API calls—is broken down and sandboxed exactly as it would be when served on Blaxel.
  3. Deploy your agent. Use Blaxel CLI command bl deploy to build and deploy your agent on Blaxel. You can manage a development & production life-cycle by deploying multiple agents, with the according prefix or label.

Develop an agent on Blaxel

Check out the following guide to learn how to develop and deploy an agent using your preferred programming language on Blaxel.

TypeScript

Develop your AI agents in TypeScript using the Blaxel SDK.

Python

Develop your AI agents in Python using the Blaxel SDK.

Deploy an agent

Learn how to deploy your custom AI agents on Blaxel as a serverless endpoint.