skillfed

llama-index-program-openai

llama-index program openai integration

llama-index-program-openai v0.3.2 2.7M downloads/30d#2,921 on PyPI
Permissive license MIT AGING released

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-openai

uv

uv add llama-index-program-openai

poetry

poetry add llama-index-program-openai

Installing 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

openai program synthesisllama index openai integrationai code generationstructured llm outputopenai agent programmingllama index programs
llama-index-integrationcode-generationopenai

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

llama-index-agent-openai

Integrates OpenAI language models with…

permissive · top 5,000 on PyPI

llama-index-question-gen-openai

Generates follow-up questions from documents or…

permissive · top 5,000 on PyPI

llama-index-embeddings-openai

Integrates OpenAI's embedding models with…

permissive · top 5,000 on PyPI

llama-index-multi-modal-llms-openai

Integrates OpenAI's multi-modal language models…

permissive · top 5,000 on PyPI

llama-index-embeddings-azure-openai

Integrates Azure OpenAI's embedding models with…

permissive · top 15,000 on PyPI

llama-cpp-python

Python bindings for llama.cpp that enable…

permissive · top 15,000 on PyPI

llama-index-llms-openai-like

Provides a thin wrapper to use…

permissive · top 15,000 on PyPI

ogx_open_client

Provides an OpenAPI-generated Python client for…

permissive · top 15,000 on PyPI

llama-index-llms-openai

Integrates OpenAI's language models into…

permissive · top 1,000 on PyPI

llama-index-llms-azure-openai

Integrates Azure OpenAI language models into…

permissive · top 15,000 on PyPI

Further reading