llama-index-program-openai
llama-index program openai integration
What it is and what it does
This package provides a LlamaIndex integration layer for OpenAI-based program synthesis. It sits atop three core dependencies: llama-index-core, llama-index-llms-openai, and llama-index-agent-openai. The package is designed for developers building AI applications that need to synthesize executable code or structured logic from natural language prompts using OpenAI models.
The integration is lightweight—distributed as a pure-Python wheel—and requires Python 3.9 or later. However, the package has not been updated in 441 days, marking it as aging. While it carries no known vulnerabilities and uses a permissive MIT license, the staleness of the release cycle suggests you should verify that its dependencies remain compatible with your target OpenAI API versions and LlamaIndex ecosystem versions before committing to production use.
Use it for:
- Generate executable code from natural language descriptions using OpenAI models within a LlamaIndex application.
- Build AI agents that synthesize and run programs on-the-fly in response to user queries.
- Integrate program generation into retrieval-augmented generation pipelines.
- Create workflows where OpenAI models produce code executed in a controlled LlamaIndex context.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates OpenAI-powered program synthesis with LlamaIndex, enabling structured code generation through OpenAI's language models.
Yes, with conditions. Install if you are already committed to the LlamaIndex ecosystem and need OpenAI-powered program synthesis. The low install friction and MIT license are favorable. However, the 441-day gap since the last release is a significant concern—verify that the three runtime dependencies are current and compatible with your OpenAI API version before deploying to production.
Install
llama-index-program-openai on PyPI
pip
pip install llama-index-program-openaiuv
uv add llama-index-program-openaipoetry
poetry add llama-index-program-openaiInstalling llama-index-program-openai
Before you install
Low install friction with a pure-Python wheel. Maintenance status is aging—last release was 441 days ago—so expect slower bug fixes and feature updates.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal legal friction.
Quickstart
pip install llama-index-program-openai
from llama_index_program_openai import OpenAIProgramSynthesizer
synthesizer = OpenAIProgramSynthesizer()
Requires Python 3.9 or later and active OpenAI API credentials.
Verify before relying
- Whether this package is actively maintained or in maintenance-only mode beyond the aging signal.
- Specific OpenAI API versions or models this integration targets and whether they remain current.
- Whether the three runtime dependencies remain actively maintained and compatible.
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 — llama-index-agent-openai, llama-index-core, llama-index-llms-openai |
| Maintenance | aging — 441 days since the last release |
| First released | |
| Downloads | 2,724,841/month — #2,921 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: llama_index_program_openai-0.3.2-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
llama-index-agent-openaiIntegrates OpenAI language models with…
permissive · top 5,000 on PyPI
llama-index-question-gen-openaiGenerates follow-up questions from documents or…
permissive · top 5,000 on PyPI
llama-index-embeddings-openaiIntegrates OpenAI's embedding models with…
permissive · top 5,000 on PyPI
llama-index-multi-modal-llms-openaiIntegrates OpenAI's multi-modal language models…
permissive · top 5,000 on PyPI
llama-index-embeddings-azure-openaiIntegrates Azure OpenAI's embedding models with…
permissive · top 15,000 on PyPI
llama-cpp-pythonPython bindings for llama.cpp that enable…
permissive · top 15,000 on PyPI
llama-index-llms-openai-likeProvides a thin wrapper to use…
permissive · top 15,000 on PyPI
ogx_open_clientProvides an OpenAPI-generated Python client for…
permissive · top 15,000 on PyPI
llama-index-llms-openaiIntegrates OpenAI's language models into…
permissive · top 1,000 on PyPI
llama-index-llms-azure-openaiIntegrates Azure OpenAI language models into…
permissive · top 15,000 on PyPI