llama-index-agent-openai
llama-index agent openai integration
Decision gist · record as of 2026-08-14
Yes, if you are already committed to the LlamaIndex ecosystem and need OpenAI model integration for agents. The low install friction and permissive MIT license are favorable. However, the aging maintenance status (411 days since last release) warrants caution—verify compatibility with your target versions of llama-index-core and llama-index-llms-openai before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.9,<4.0 and valid OpenAI API credentials.
- Low install friction with a pure Python wheel.
- Maintenance status is aging—last release was 411 days ago—so expect slower updates and potential compatibility drift with newer OpenAI or llama-index-core versions.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it safe to adopt in most projects.
last release 2025-06-29 (411 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,447,788 downloads/mo, #2,621 on PyPI
Alternatives
Verify before relying
pip install llama-index-agent-openai
from llama_index_agent_openai import OpenAIAgent
from llama_index_llms_openai import OpenAI
agent = OpenAIAgent.from_tools(tools=[], llm=OpenAI())- Whether this package is actively maintained or has entered maintenance-only mode despite the aging status.
- Compatibility guarantees with current versions of llama-index-core and llama-index-llms-openai.
- Whether the package supports the latest OpenAI API features or lags behind.
What it is and what it does
This package provides a bridge between OpenAI's language models and LlamaIndex's agent framework. It allows you to build agents that leverage OpenAI's models (via the llama-index-llms-openai dependency) within the broader LlamaIndex ecosystem (llama-index-core). The package handles the integration plumbing so you can focus on defining agent logic and tools rather than managing API calls directly.
The package depends on three runtime components: llama-index-core for the agent framework foundation, llama-index-llms-openai for OpenAI model access, and openai for the underlying API client. It requires Python >=3.9,<4.0 and supports current Python versions. No known security vulnerabilities are recorded.
Use it for
- Build conversational AI agents that use OpenAI models to reason through multi-step tasks within a LlamaIndex application.
- Create agents that retrieve documents via llama-index-core and use OpenAI to synthesize answers from retrieved context.
- Integrate OpenAI-powered agents into larger LlamaIndex RAG pipelines.
- Develop tool-using agents where OpenAI decides which tools to call and in what order.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already committed to the LlamaIndex ecosystem and need OpenAI model integration for agents.
The low install friction and permissive MIT license are favorable. However, the aging maintenance status (411 days since last release) warrants caution—verify compatibility with your target versions of llama-index-core and llama-index-llms-openai before committing to production use.
Install
llama-index-agent-openai on PyPI
Before you install
Low install friction with a pure Python wheel. Maintenance status is aging—last release was 411 days ago—so expect slower updates and potential compatibility drift with newer OpenAI or llama-index-core versions.
Requires Python >=3.9,<4.0 and valid OpenAI API credentials.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it safe to adopt in most projects.
Quickstart
pip install llama-index-agent-openai
from llama_index_agent_openai import OpenAIAgent
from llama_index_llms_openai import OpenAI
agent = OpenAIAgent.from_tools(tools=[], llm=OpenAI())
Verify before relying
- Whether this package is actively maintained or has entered maintenance-only mode despite the aging status.
- Compatibility guarantees with current versions of llama-index-core and llama-index-llms-openai.
- Whether the package supports the latest OpenAI API features or lags behind.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesllama-index-corellama-index-llms-openaiopenai |
| Maintenance | Aging 411 days since the last release |
| First released | |
| Downloads | 3,447,788 / month, #2,621 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: llama_index_agent_openai-0.4.12-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “llama index openai agent”
- llama-index-agent-openaiIntegrates OpenAI language models with LlamaIndex agents, enabling…
- llama-index-program-openaiIntegrates OpenAI-powered program synthesis with LlamaIndex, enabling…
- llama-index-embeddings-openaiIntegrates OpenAI's embedding models with LlamaIndex for converting…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also datarobot-genai · llama-index-multi-modal-llms-openai · llama-index-program-openai · llama-index-embeddings-openai · llama-index-question-gen-openai · llama-index-workflows · llama-index-llms-openai-like · llama-index-embeddings-azure-openai · llama-index · llama-index-llms-gemini