No project description provided
Project description
🦙 Llama Deploy 🤖
Llama Deploy (formerly llama-agents
) is an async-first framework for deploying, scaling, and productionizing agentic
multi-service systems based on workflows from llama_index
.
With Llama Deploy, you can build any number of workflows in llama_index
and then run them as services, accessible
through a HTTP API by a user interface or other services part of your system.
The goal of Llama Deploy is to easily transition something that you built in a notebook to something running on the cloud with the minimum amount of changes to the original code, possibly zero. In order to make this transition a pleasant one, you can interact with Llama Deploy in two ways:
- Using the
llamactl
CLI from a shell. - Through the LLama Deploy SDK from a Python application or script.
Both the SDK and the CLI are part of the Llama Deploy Python package. To install, just run:
pip install llama_deploy
[!TIP] For a comprehensive guide to Llama Deploy's architecture and detailed descriptions of its components, visit our official documentation.
Why Llama Deploy?
- Seamless Deployment: It bridges the gap between development and production, allowing you to deploy
llama_index
workflows with minimal changes to your code. - Scalability: The microservices architecture enables easy scaling of individual components as your system grows.
- Flexibility: By using a hub-and-spoke architecture, you can easily swap out components (like message queues) or add new services without disrupting the entire system.
- Fault Tolerance: With built-in retry mechanisms and failure handling, Llama Deploy adds robustness in production environments.
- State Management: The control plane manages state across services, simplifying complex multi-step processes.
- Async-First: Designed for high-concurrency scenarios, making it suitable for real-time and high-throughput applications.
[!NOTE] This project was initially released under the name
llama-agents
, but the introduction of Workflows inllama_index
turned out to be the most intuitive way for our users to develop agentic applications. We then decided to add new agentic features inllama_index
directly, and focus Llama Deploy on closing the gap between local development and remote execution of agents as services.
Getting Started
The fastest way to start using Llama Deploy is playing with a practical example. This repository contains a few applications you can use as a reference:
We recommend to start from the Quick start example and move to Use a deployment from a web-based user interface immediately after. Each folder contains a README file that will guide you through the process.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file llama_deploy-0.3.2.tar.gz
.
File metadata
- Download URL: llama_deploy-0.3.2.tar.gz
- Upload date:
- Size: 63.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.0 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e00c41e142bf065f1499afdb8b90dda4044b4e5ea5b5a55ec523b7389cb60d81 |
|
MD5 | 17f8947fdfc29ba9e36454cba973fe26 |
|
BLAKE2b-256 | f94e84fbbe22d73582cd4012c0af07f153500957f0c16aff5ff504890b2efad0 |
File details
Details for the file llama_deploy-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: llama_deploy-0.3.2-py3-none-any.whl
- Upload date:
- Size: 100.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.0 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f8255fa188c4e589ee12ffa8c1a0036591dfdccdf982f7e0ed48c172981d010 |
|
MD5 | 3e41bb2de7488353c0935badec020f95 |
|
BLAKE2b-256 | 8c7e74ee78c6f4847c990c436fd74c586714f8c08b668e927b59788aa5ce82eb |