$npx skillfedfor your agent

pandasai-litellm

LiteLLM integration for PandaAI

With conditionsPyPI Artificial IntelligenceReleased Mar 202581.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pandasai_litellm-0.0.1-py3-none-any.whl
v0.0.1 · released 2025-03-11 · Python <3.12,>=3.8 · 2 runtime deps: pandasai, litellm

Yes, if you want to use pandasai with a non-OpenAI LLM provider or need litellm's multi-provider routing. The package is lightweight and permissively licensed. However, the 0.0.1 version and absence of updates since release suggest early-stage maturity; verify compatibility with your target Python version and litellm setup before committing to production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 to 3.11; does not support Python 3.12 or later.
  • Low install friction; a pure-Python wheel with only two runtime dependencies (pandasai and litellm).
  • Maintenance status is aging—no updates since initial release on 2025-03-11.

License · maintenance · safety

MIT (permissive) — MIT permissive license; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2025-03-11 (521 days) · last repo commit 2025-10-28 · 23,743 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 81,090 downloads/mo, #14,250 on PyPI

Verify before relying

pip install pandasai pandasai-litellm

import pandasai as pai
from pandasai_litellm.litellm import LiteLLM

llm = LiteLLM(model="gpt-4.1-mini", api_key="YOUR_OPENAI_API_KEY")
pai.config.set({"llm": llm})
df = pai.read_csv("data/companies.csv")
response = df.chat("What is the average revenue by region?")
print(response)
  • Whether LiteLLM integration is feature-complete relative to other PandasAI LLM backends.
  • Stability and breaking-change risk given the 0.0.1 version and lack of updates since release.
  • Production readiness and whether the package is actively maintained.
Same gist for agents: .md · .json

What it is and what it does

pandasai-litellm is a bridge between pandasai and litellm, allowing you to ask natural-language questions about your data using any language model that litellm can route to. Instead of writing pandas code or SQL, you configure a LiteLLM instance with your chosen model and API key, then call methods like `df.chat()` to query dataframes conversationally. The package handles translation of natural language into executable pandas operations and can generate charts on request.

It depends on pandasai (the core data-querying engine) and litellm (the multi-provider LLM abstraction layer). The package is minimal—just the integration glue—and installs with low friction. However, it has not been updated since its 0.0.1 release, and requires Python 3.8 to 3.11, which may limit adoption on newer environments.

Use it for

  • Enable non-technical users to explore CSV or dataframe data by asking questions in plain English without learning pandas syntax.
  • Quickly prototype data analysis workflows by chatting with your data instead of writing boilerplate pandas code.
  • Generate exploratory visualizations by describing them in natural language.
  • Analyze multiple related dataframes together by asking cross-dataset questions in a single query.
  • Switch between LLM providers without changing your pandasai code, leveraging litellm's routing.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you want to use pandasai with a non-OpenAI LLM provider or need litellm's multi-provider routing.

The package is lightweight and permissively licensed. However, the 0.0.1 version and absence of updates since release suggest early-stage maturity; verify compatibility with your target Python version and litellm setup before committing to production use.

Install

pandasai-litellm on PyPI

Before you install

Low install friction; a pure-Python wheel with only two runtime dependencies (pandasai and litellm). Maintenance status is aging—no updates since initial release on 2025-03-11.

Requires Python 3.8 to 3.11; does not support Python 3.12 or later.

License in practice

MIT permissive license; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install pandasai pandasai-litellm

import pandasai as pai
from pandasai_litellm.litellm import LiteLLM

llm = LiteLLM(model="gpt-4.1-mini", api_key="YOUR_OPENAI_API_KEY")
pai.config.set({"llm": llm})
df = pai.read_csv("data/companies.csv")
response = df.chat("What is the average revenue by region?")
print(response)

Verify before relying

  • Whether LiteLLM integration is feature-complete relative to other PandasAI LLM backends.
  • Stability and breaking-change risk given the 0.0.1 version and lack of updates since release.
  • Production readiness and whether the package is actively maintained.

Package facts

LicenseMIT permissive
Python supportCapped below the current Python release <3.12,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
pandasailitellm
MaintenanceAging 521 days since the last release
Last repo commit
First released
Downloads81,090 / month, #14,250 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: pandasai_litellm-0.0.1-py3-none-any.whl

Tags

Capabilities
natural language dataframe querieslitellm pandas integrationask questions to datallm-powered data analysisdataframe chat interfacemulti-provider llm pandasconversational data exploration
Topics
natural-language-interfacellm-integrationdata-exploration

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 › “natural language dataframe queries”

  • pandasai-litellmIntegrates LiteLLM with PandasAI to enable natural-language queries…
  • agentqlAgentQL is a Python client for interacting with web pages using…
  • pandasaiPandasAI lets you ask questions about your data in natural language…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

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.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

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.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

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.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

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.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

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.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also pandasai · llama-index-llms-litellm · litellm-enterprise · unclecode-litellm · any-llm-sdk · vanna · litellm-proxy-extras · pandasql · opentelemetry-instrumentation-litellm

Further reading