# llama-agents

> llama-agents is an open-source agent framework for multi-agent frameworks. Open-source Python framework for building document-processing agents and workflows. It is available on API, CLI and Self-hosted.

- **Kind:** Agent
- **Pricing:** Open source
- **Platforms:** API, CLI, Self-hosted
- **Website:** https://www.llamaindex.ai
- **Repository:** https://github.com/run-llama/llama-agents
- **GitHub stars:** 474
- **License:** MIT
- **Categories:** [multi-agent frameworks](https://ai-powered.com/categories/multi-agent-frameworks), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Document pipelines usually chain OCR, LLM calls, extraction, classification and human review, and they need to run reliably at scale. LlamaAgents handles this with event-driven workflows: each step is an async Python function that emits and consumes events, so branching, looping, parallel work, persisted state and failure recovery all stay in plain Python.

The same workflow code can start as a function in a notebook, get wrapped in a REST API with streaming and human-in-the-loop support, and later run on a durable backend or inside a locked-down customer environment. Deployment goes through the llamactl CLI, which targets LlamaParse, AWS Bedrock AgentCore or your own infrastructure.

It suits Python developers who need in-process logic such as embeddings, vision calls and custom heuristics alongside document tooling. LlamaParse can be plugged in as steps for the heavy parsing and extraction work.

## Features

- **Event-driven workflow steps:** Steps are async Python functions that pass events, supporting branching, loops and parallel execution.
- **Pluggable durability:** Save and resume runs to a file or connect a database for persistent state.
- **REST workflow server:** Wraps any workflow as an API with streaming, persistence and human-in-the-loop steps.
- **Matching async client:** Call deployed workflows from other services using the companion client package.
- **CLI deployment:** Scaffold, serve locally with hot reload and deploy agent apps with llamactl.
- **LlamaParse integration:** Use LlamaParse OCR, extraction and classification as steps inside a workflow.

## Good for

- Building a contract or invoice processing pipeline with extraction and validation steps
- Adding a document-processing API with streaming to an existing FastAPI or Starlette app
- Running document agents inside a customer's private environment where data cannot leave
- Prototyping an LLM pipeline in a notebook and later moving it to a production service

## FAQ

### What license is LlamaAgents released under?

The repository is licensed under MIT.

### Can I run llama-agents without LlamaParse?

Yes. The workflow library is a standalone Python package that can be used in scripts, notebooks and servers; LlamaParse is an optional integration for document parsing steps.

### How do I deploy an agent built with llama-agents?

The llamactl CLI initializes a project from a starter, serves it locally with hot reload, and deploys it to LlamaParse, AWS Bedrock AgentCore or your own infrastructure.

### Is llama-agents free?

Yes. llama-agents is open source, so you can use and self-host it for free.

### What are the best alternatives to llama-agents?

The closest alternatives to llama-agents are lagent, llama-cpp-agent, smolagents, Web and OpenProgram.

## Where this comes from

- Description: written from the project's README and the project's website.

## Alternatives

- [lagent](https://ai-powered.com/agents/lagent): lagent is an open-source agent framework for multi-agent frameworks.
- [llama-cpp-agent](https://ai-powered.com/agents/llama-cpp-agent): llama-cpp-agent is an open-source agent framework for developer tools.
- [smolagents](https://ai-powered.com/agents/smolagents): smolagents is an open-source agent framework for multi-agent frameworks.
- [Web](https://ai-powered.com/agents/web-6): Web is an open-source agent framework for multi-agent frameworks.
- [OpenProgram](https://ai-powered.com/agents/openprogram): OpenProgram is an open-source agent framework for ai models and llm tooling.
- [PocketFlow](https://ai-powered.com/agents/pocketflow): PocketFlow is an open-source agent framework for multi-agent frameworks.
- [GitHub](https://ai-powered.com/agents/github-27): GitHub is an open-source agent framework for developer tools.
- [camel](https://ai-powered.com/agents/camel): camel is an open-source agent framework for multi-agent frameworks.

---
Source: https://ai-powered.com/agents/llama-agents
