LazyLLM: low-code development tool for multi-agent LLM applications
LazyLLM is a low-code development tool for building multi-agent large language model applications.
What it is · Main features · Getting started
What it is
LazyLLM is a low-code development tool for building multi-agent large language model applications. The AI application development process based on LazyLLM follows prototype building, data feedback and iterative optimization. A Component is the smallest execution unit in LazyLLM, and it can be either a function or a bash command.
Modules are the top-level components in LazyLLM, equipped with four capabilities: training, deployment, inference, and evaluation; each module can choose to implement some or all of these capabilities. Flow in LazyLLM defines the data stream, describing how data is passed from one callable object to another.
Core facts
Read by a script from the official API, not rewritten by a model.
- Repository
- https://github.com/LazyAGI/LazyLLM
- License
- Apache-2.0
- Languages
- Python
- Maintainer
- LazyAGI
- Homepage
- https://docs.lazyllm.ai/
- Verified
Main features
For application building, LazyLLM defines workflows such as pipeline, parallel, diverter, if, switch, and loop.
LazyLLM supports one-click deployment for assembled multi-agent applications, and also supports partial or complete updates to those applications.
The project says LazyLLM supports fine-tuning models within applications to continuously improve application performance.
LazyLLM supports the fine-tuning frameworks collie and peft.
LazyLLM supports the inference frameworks lightllm and vllm.
The inference services LazyLLM supports include GPT, SenseNova, Kimi, Zhipu, and Tongyi Qianwen.
The fine-tuning services LazyLLM supports include GPT, SenseNova, and Tongyi Qianwen.
The embedding inference services LazyLLM supports include OpenAI, SenseNova, GLM, and Tongyi Qianwen.
LazyLLM supports common RAG (Retrieval-Augmented Generation) components such as Document, Parser, Retriever, and Reranker.
LazyLLM is currently compatible with various platforms such as bare metal, Slurm, and SenseCore.
EmptyLauncher runs locally, supporting development machines, bare metal, and similar environments.
RemoteLauncher schedules execution on compute nodes, supporting Slurm, SenseCore, and similar platforms.
A Component implements a registration mechanism for grouping and quickly locating methods.
The registration mechanism of a Component supports registration of functions and bash commands.
The Flows currently implemented in LazyLLM include Pipeline, Parallel, Diverter, Warp, IFS, and Loop.
Getting started
To install only lazyllm and necessary dependencies, a pip installation command is provided.
To install lazyllm and all dependencies, another pip installation command is provided.
In the local chatbot example in the README, using a locally deployed model requires at least 1 installed inference framework, lightllm or vllm.
If lazyllm was installed using pip and the bin directory of the Python environment is in the PATH, a chatbot can be started by executing the lazyllm chatbot run command.
For installation on Windows or macOS, refer to the official tutorial.
# set environment variable: LAZYLLM_OPENAI_API_KEY=xx
# or you can make a config file(~/.lazyllm/config.json) and add openai_api_key=xx
import lazyllm
chat = lazyllm.OnlineChatModule()
lazyllm.WebModule(chat).start().wait()import lazyllm
# Model will be downloaded automatically if you have an internet connection.
chat = lazyllm.TrainableModule('internlm2-chat-7b')
lazyllm.WebModule(chat, port=23466).start().wait()pip3 install lazyllmpip3 install lazyllm
lazyllm install fullWho it is for
In the roadmap, v0.8 is expected to start from March 15, 2026, lasting 3 months, focusing on improving system observability and reducing user debugging costs.
Sources
This page is written from the official sources below. Open them to check the original text.
- GitHub READMEhttps://github.com/LazyAGI/LazyLLMFetched
Verified ·
This page is written by AI from the official sources above and checked automatically. This site has not tested it. Found a mistake? Tell us.