Join our Newsletter — 33% off our NHI Course
Home› Guides› LlamaIndex Agents and Workflows: Agent Classes, Versions, Deployment…
Guide AI Platforms

LlamaIndex Agents and Workflows: Agent Classes, Versions, Deployment and Pricing Explained

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 15 November 2026 13 min read
On this page

LlamaIndex Agents and Workflows are the agent-building parts of the open source LlamaIndex framework from LlamaIndex Inc.: prebuilt agent classes such as FunctionAgent and AgentWorkflow sit on top of Agent Workflows, an event-driven orchestration library for async Python. The names are easy to mix up, because the company also sells LlamaParse, a commercial document platform, and now ships deployment tooling under the LlamaAgents name. This page sets out what each piece does, which packages and versions are current, how the agent API changed in 2025, how workflows are made durable, where agents can be deployed and what the paid platform costs. It is written for developers, architects and the people who approve frameworks for a team. Every fact comes from LlamaIndex's own documentation, repositories, changelog and pricing page. Last checked: 2026-11-15.

This is an independent guide from NHI Mgmt Group, based on LlamaIndex's public documentation as of November 2026. It is not sponsored or reviewed by LlamaIndex. Product features change, so confirm settings against LlamaIndex's current documentation.

Key takeaways

  • Agents are workflows. FunctionAgent, ReActAgent, CodeActAgent and AgentWorkflow are prebuilt workflows, so anything you learn about Workflows (events, Context, streaming, human input) applies to agents too.
  • The legacy agent API is gone. llama-index-core 0.13.0 (30 July 2025) removed AgentRunner, OpenAIAgent, FunctionCallingAgent, the old ReActAgent and the step workers, so older tutorials no longer run.
  • Workflows are now a separate package. llama-index-workflows (2.26.1 on main) lives in the run-llama/llama-agents repository, while llama-index-core keeps the llama_index.core.workflow import path for compatibility.
  • Durability is opt-in. Workflows are ephemeral by default; you either snapshot the Context yourself or plug in the DBOS-backed runtime, and resume is at-least-once.
  • The code is free; LlamaParse is the paid layer. Both repositories carry the MIT licence. LlamaParse plans run from Pay-as-you-go ($0 with 10K credits) to Pro ($500 per month) and custom Enterprise.

What is LlamaIndex Agents and Workflows?

LlamaIndex's documentation defines an agent as "a semi-autonomous piece of software powered by an LLM that is given a task and executes a series of steps towards solving that task". It picks from a set of tools at each step, which can be plain Python functions or whole LlamaIndex query engines, and after each step decides whether the task is complete. The module guide narrows this to a system "that uses an LLM, memory, and tools, to handle inputs from outside users", and contrasts it with "agentic", a wider term for any system with LLM decision making in it.

Agent Workflows is the orchestration layer underneath. The docs describe a workflow as "an event-driven, step-based way to control the execution flow of an application": a step receives an event, does some work and returns another event, which triggers the next step whose type annotation accepts it. Branches are ordinary if statements, loops are steps that return an event handled earlier, and fan-out is a step returning list[Event]. LlamaIndex says it moved to this model after finding that directed acyclic graphs made loops and branches hard to read.

The company's own focus has shifted. The framework README says the current focus is document parsing and extraction through LlamaParse, and that the open source framework, first launched in 2023, remains "available as an open toolkit". The workflows repository now presents itself as LlamaAgents, "an open-source framework for building and shipping document-centric agents in Python".

Layer (LlamaIndex's terms)PackageWhat it addsUse it when
Orchestrationllama-index-workflowsEvents, steps, Context state, streaming, retriesYou want explicit control flow in plain async Python
Frameworkllama-index-core (or the llama-index starter)Prebuilt agents, tools, memory, indexes, query enginesYou want a working agent in a few lines, often over your own data
Servingllama-agents-server, llama-agents-clientREST API with streaming, persistence and human input; typed clientOther services need to call a workflow
DeploymentllamactlTemplates, local serve, cloud deploymentsYou want to ship an agent app to LlamaCloud or your own infrastructure
PlatformLlamaParse (SaaS, not open source)Parse, Extract, Classify, Split, Index, agent hostingYou need managed document primitives

Key facts at a glance

As of 15 November 2026, from the repositories' main branches and the framework changelog.

FieldValue
DeveloperLlamaIndex Inc. (framework copyright held by Jerry Liu)
LicenceMIT (run-llama/llama_index and run-llama/llama-agents)
LanguagePython
llama-index-core0.14.26 (changelog entry dated 13 November 2026); requires Python 3.11 or later
llama-index-workflows2.26.1; requires Python 3.10 or later
llama-agents-server / llama-agents-client0.8.0 / 0.4.1
llamactl0.10.4
llama-agents-dbos0.7.0
Prebuilt agentsFunctionAgent, ReActAgent, CodeActAgent, AgentWorkflow
IntegrationsOver 300 integration packages, per the README
Cloud deployment status"Beta preview", per the llamactl docs

Note the version split: core stays on 0.x minor releases, while Workflows has its own 2.x numbering. Pin both in lock files.

Plans and pricing

The framework, Workflows, the server, the client and llamactl are free under MIT. You pay your model provider for tokens, and you pay LlamaIndex only if you use LlamaParse or deploy to LlamaCloud. The pricing page's FAQ says LlamaParse "is not open source" and names LlamaIndex and Workflows as the open source projects.

LlamaParse planMonthly price (USD)Included creditsAdditional creditsUsers / projectsConcurrent jobs
Pay-as-you-go$010K free$1.50 per 1K100 / 15
Pro$500400K$1.25 per 1K100 / 520
EnterpriseCustomCustomVolume discountNot stated by LlamaIndex100

As of 15 November 2026, from llamaindex.ai/pricing. The Pro card also advertised a limited-time bonus for business email domains, and the page states that unused bonus credits expire immediately on downgrade. The comparison table lists an Agents section (a natural-language-to-code workflow builder, starter templates and one-click deploy from GitHub) but does not show which plans include it. Enterprise lists SaaS or hybrid cloud deployment.

Models available

LlamaIndex is model-agnostic. You choose an LLM integration package (for example llama-index-llms-openai or llama-index-llms-ollama) and pass the LLM object to the agent. The tutorials use OpenAI's gpt-4o-mini and point to examples for Mistral, Anthropic's Claude, Google's Gemini and local models. The docs warn that "agents require capable models, so smaller models may be less reliable".

The agent class you pick depends on what the model supports:

  • FunctionAgent: uses the provider's native function or tool calling. This is the default choice for models that support it.
  • ReActAgent: uses a reasoning and acting prompt strategy instead of native tool calling, useful for models without a tool-calling API.
  • CodeActAgent: has the model write Python inside <execute> tags. It requires a code_execute_fn that you supply, so where and how code runs is your decision.
  • Streaming: on by default. If a model does not support streaming, set streaming=False.
  • Multimodal input: since April 2025 all four agent types accept chat messages with ImageBlock and TextBlock content for models that support images.

Features and modes

The agent loop

Calling an agent gets the latest message and chat history, sends the tool schemas and history to the model, and either returns a direct answer or runs each requested tool call, appends the results and calls the model again. Tool selection depends heavily on each tool's name, description and type hints, so docstrings matter.

Tools

  • FunctionTool: wraps any sync or async function and infers its schema; Annotated types add argument descriptions.
  • QueryEngineTool: wraps a query engine, which is how agents use indexes over your data. Because agents inherit from BaseQueryEngine, this can also wrap another agent.
  • ToolSpecs: community bundles of tools for one service (for example GmailToolSpec in llama-index-tools-google), shipped as separate packages.

Memory and state

MechanismWhat it holdsKey settings (documented defaults)
ChatMemoryBufferRecent chat history; the current defaultMarked deprecated; to be replaced by Memory
Memory (short-term)FIFO queue of messages within a token budgettoken_limit 30000, chat_history_token_ratio 0.7, token_flush_size 3000
Memory blocks (long-term)Flushed messages, processed and merged back on retrievalStaticMemoryBlock, FactExtractionMemoryBlock, VectorMemoryBlock
ContextWorkflow state within and between runs, including the shared state dictSerialise with JsonSerializer or JsonPickleSerializer

AgentWorkflow is stateless between runs unless you pass the same Context. Tools that take ctx: Context as their first parameter can read and edit shared state through ctx.store.edit_state().

Multi-agent patterns

The docs describe three patterns, each trading convenience for flexibility:

PatternHow control movesWhen the docs suggest itWhat you write
AgentWorkflow ("linear swarm")A root agent receives the message; any agent may hand off to those named in its can_handoff_to list, or return to the userYou want multi-agent behaviour with almost no extra code and accept the default hand-off heuristicsAgents, a root_agent and optional initial_state
Orchestrator (sub-agents as tools)One top-level agent decides every step and calls each specialist's run through a toolYou want one place that decides each step so you can inject custom logicWrapper tools that call sub-agents and update shared state
Custom plannerYour own prompt produces a plan (often XML or JSON) and your code invokes agents imperativelyYou need full control over planning and execution orderThe planning prompt, the parser and the execution loop

Because the orchestrator and planner patterns keep sequencing in your code, they are also easier to audit: each call to a specialist is a point where you can log, check permissions or ask for approval.

Human in the loop

A tool calls ctx.wait_for_event() for a HumanResponseEvent and emits an InputRequiredEvent; the caller handles it in the event stream and replies with send_event. For long waits, serialise the Context and resume later.

Workflow runtime features

  • Retries: retry_policy() on a step retries all exceptions up to 3 attempts with a 5-second fixed delay by default, with composable retry, wait and stop conditions.
  • Durability: snapshot with Context.to_dict() and resume with Context.from_dict(), or use llama-agents-dbos, which persists every step transition (SQLite by default) so a crashed run resumes where it stopped.
  • Observability: internal StepStateChanged events via stream_events(expose_internal=True), and OpenTelemetry export through llama-index-observability-otel.

Supported IDEs and platforms

LlamaIndex is a library, so it runs wherever Python runs: scripts, notebooks, FastAPI or Starlette apps. Deployment options documented as of November 2026:

OptionHowNotes from the docs
In-process libraryawait workflow.run(...)Async first; use a single async entry point in scripts
Workflow serverWorkflowServer or python -m llama_agents.serverBinds 0.0.0.0:8080 by default (WORKFLOWS_PY_SERVER_HOST, WORKFLOWS_PY_SERVER_PORT); debugger UI mounted at /
LlamaCloudllamactl deployments create or click-to-deploy templatesBeta preview; built from a git repository
Amazon Bedrock AgentCoreAgentCoreRuntime adapter (llama-index-tools-aws-bedrock-agentcore)Needs AWS credentials and bedrock-agentcore IAM permissions
Your own infrastructurellamactl export or self-hosted serverAgents can be headless services, MCP servers or full-stack apps

llamactl needs uv and git, plus Node.js for templates with a frontend. Windows support is described as experimental, with WSL2 recommended.

Enterprise and admin controls

The open source libraries have no admin console: access control, quotas and authentication belong to the application you build. LlamaIndex's security policy is explicit that authentication, authorisation, rate limiting and input validation are the hosting application's responsibility. On the platform side, llamactl authenticates by browser login or with LLAMA_CLOUD_API_KEY and LLAMA_AGENTS_PROJECT_ID for CI, deployments take secrets at deploy time, and Enterprise plans list SaaS or hybrid deployment. Roles, API keys and self-hosted LlamaParse are covered in the LlamaIndex Security Guide.

Data handling and privacy

With the open source libraries, documents, prompts and memory stay in your process and in whatever stores you configure; data leaves only to the model provider, vector store or tool endpoints you call. Two points need deliberate choices:

  • Serialised state: a saved Context or memory holds chat history and tool outputs. Treat snapshot files and databases as sensitive, and prefer JsonSerializer; JsonPickleSerializer uses pickle, so only load snapshots you wrote.
  • Long-term memory: fact extraction and vector memory blocks keep information beyond a session, so set retention for them like any other personal data store. See the AI Agent Memory Security Guide.

LlamaParse is a hosted service with its own data terms, which the security guide summarises.

Release history

Date (changelog entry)ReleaseChange
31 July 2024llama-index-coreWorkflows introduced for event-driven orchestration
22 August 2024core 0.11.0New minor line
17 November 2024core 0.12.0New minor line
20 January 2025llama-index-coreAgentWorkflow added for single and multi-agent workflows
1 April 2025llama-index-coreMultimodal input for all four workflow agents
18 June 2025llama-index-coreWorkflows code moved to llama-index-workflows, with backward compatibility
30 July 2025core 0.13.0Deprecated agent classes removed; migrate to workflow agents
8 September 2025core 0.14.0Current minor line
13 November 2026core 0.14.26Integrations raised their minimum Python versions for security fixes (marked breaking)

Limits and known constraints

  • Async only in practice: agents and workflows are async; plain scripts need an asyncio.run() wrapper.
  • At-least-once resume: a step that was running when state was captured runs again from the top, and retries re-run the whole step body, so side effects must be safe to repeat.
  • No built-in checkpointer: without DBOS you write the snapshot loop yourself, and a crash loses work since the last snapshot.
  • Python floors differ: core needs 3.11 or later, Workflows 3.10 or later, and integrations raised floors in November 2026.
  • Beta cloud: LlamaCloud deployments of LlamaAgents are a beta preview.
  • Migration debt: code written for AgentRunner or OpenAIAgent must be rewritten for workflow agents.

Security guidance

LlamaIndex's threat model treats the library as code running in a trusted environment: once you put it behind a network-facing API, input validation, authentication and rate limiting are yours. Its bug bounty covers only the llama-index umbrella package and first-degree dependencies (llama-index-core, llama-index-embeddings-openai, llama-index-llms-openai, llama-index-cli); other integrations can still be reported through GitHub. For agents specifically:

Loader, query engine and LlamaParse hardening is in the LlamaIndex Security Guide, and is not repeated here.

Practitioner checklist

  • Search the codebase for AgentRunner, OpenAIAgent and FunctionCallingAgent and plan the move to workflow agents before upgrading core past 0.12.
  • Pin llama-index-core, llama-index-workflows and each integration in a lock file, and confirm Python 3.11 or later.
  • Choose FunctionAgent for tool-calling models and ReActAgent otherwise; use CodeActAgent only with a sandboxed executor.
  • Move from ChatMemoryBuffer to Memory and set explicit token limits and retention for long-term blocks.
  • Decide on durability: manual snapshots or llama-agents-dbos, and make step side effects idempotent either way.
  • Bind WorkflowServer deliberately and put authentication in front of it before exposing it.
  • Export traces with llama-index-observability-otel so every step, LLM call and tool call is visible.
  • Keep LLAMA_CLOUD_API_KEY in a secrets manager for CI and scope deployments by project.

Standards and references

Related NHI Mgmt Group resources: LlamaIndex Security Guide · Securing Agent Frameworks Guide · Agent Frameworks vs Workflow Orchestration · OpenTelemetry GenAI Semantic Conventions for Security Teams

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.