dotsagent.io
Language:English
Framework · LlamaIndex

LlamaIndex at a glance

LlamaIndex pairs its document parsing and retrieval tools with event-driven Agent Workflows in Python and TypeScript. Workflows can pause for human input, persist state, and be served as MCP servers or deployed to LlamaCloud.

Best for: Document-heavy, retrieval-centred agents that parse, extract and search before they act.

Key facts

Maintainer
LlamaIndex
Languages
Python, TypeScript
Licence
MIT
Latest version
llama-index 0.14.25 / llama-index-workflows 2.25.0 · September 25, 2026
Repository
run-llama/llama_index · 52,380 stars
Hosted option
LlamaCloud via LlamaAgents (llamactl deploy)
Deploy with llamactl; workflows are then served from api.cloud.llamaindex.ai.

Quickstart

Install the package, set the credentials, then run the smallest agent from the official docs. Model IDs are the ones the docs use and may not be enabled on your account.

Install
pip install llama-index-core llama-index-llms-openai  (from search summary of the starter tutorial; not copied verbatim)

Needs OPENAI_API_KEY

Python
import asyncio
from llama_index.core.agent.workflow import FunctionAgent
from llama_index.llms.openai import OpenAI

# Define a simple calculator tool
def multiply(a: float, b: float) -> float:
    """Useful for multiplying two numbers."""
    return a * b

# Create an agent workflow with our calculator tool
agent = FunctionAgent(
    tools=[multiply],
    llm=OpenAI(model="gpt-4o-mini"),
    system_prompt="You are a helpful assistant that can multiply two numbers.",
)

async def main():
    # Run the agent
    response = await agent.run("What is 1234 * 4567?")
    print(str(response))

# Run the agent
if __name__ == "__main__":
    asyncio.run(main())

Quickstart source

Features

Any modelYesFunctionAgent for function-calling models; ReActAgent for the rest
MCP clientYesget_tools_from_mcp_url in llama-index-tools-mcp
MCP serverYesworkflow_as_mcp serves a workflow over FastMCP
Multi-agentYesAgentWorkflow coordinates several agents
Durable runsYesWorkflows persist state once a coordination backend is connected
Human approvalYesInputRequiredEvent and HumanResponseEvent pause a workflow
TracingNot confirmed
EvalsNot confirmed

Recent changes

  • The workflows repo was renamed run-llama/llama-agents (LlamaAgents); the PyPI package is still llama-index-workflows.
  • llamactl now serves and deploys workflows.

Alternatives in the same language

Sources

  1. developers.llamaindex.ai/python/framework/getting_started/starter_example/
  2. developers.llamaindex.ai/python/framework/module_guides/deploying/agents/
  3. developers.llamaindex.ai/python/examples/agent/agent_workflow_basic/
  4. developers.llamaindex.ai/python/examples/tools/mcp/
  5. developers.llamaindex.ai/python/llamaagents/workflows/human_in_the_loop/
  6. developers.llamaindex.ai/python/llamaagents/llamactl/workflow-api/
  7. github.com/run-llama/llama-agents
  8. pypi.org/pypi/llama-index/json
  9. api.github.com/repos/run-llama/llama_index

Independent reference for people who build AI agents. Not affiliated with any vendor named here.

© 2026 DotsAgent · Facts checked October 1, 2026