Glossary
LlamaIndex agents
The agents of LlamaIndex, the framework built for reasoning over your own documents: a FunctionAgent, a ReActAgent or a CodeActAgent works with tools that range from Python functions to whole query engines over your data.
Several agents can hand control to each other in an AgentWorkflow, built on LlamaIndex Workflows: event-driven steps that can pause for a person and resume. LlamaIndex's own CodeActAgent example warns that it executes arbitrary code and needs proper sandboxing in production. What it retrieves from your documents is untrusted input, as in any RAG system.