holoviz/lumen
Illuminate your data. Agent framework turning natural language into SQL, charts, dashboards and reports.
What is Lumen?
Lumen is a free, open-source framework that lets you chat with your data using natural language. It's built around AI "agents" (programs that can reason and take actions) and supports RAG (retrieval augmented generation) — meaning it can pull in context from your own documents to give the AI better answers.
What can you do with it?
- Generate SQL — Build data pipelines on top of local or remote files, SQL databases, or data lakes.
- Provide context — Give Lumen access to your documents so the AI has the background it needs.
- Visualize data — Ask for charts, data tables, or even entire dashboards in plain language.
- Inspect and edit results — Every AI output can be checked for mistakes, refined, or manually edited.
- Summarize insights — Have the AI summarize key results and pull out important findings.
- Extend it — Add custom agents, tools, and analyses tailored to your specific domain.
How does it work?
Lumen uses a declarative data model — meaning data transformations and visualizations are described as structured specifications rather than imperative code. This makes it easy for an AI model to generate entire pipelines (in SQL or Python) and visual outputs. Once generated, those specifications can be serialized (saved as a file), shared with others, continued in a Jupyter notebook, or composed into dashboards via drag-and-drop.
Because Lumen is built on Panel (a Python visualization library), it can render almost any type of output with minimal effort.
What makes it different?
- Fully open and extensible — you're not locked into a closed system; you can customize agents, analyses, and tools.
- Declarative specs — the same specification that drives the AI can be shared, reused, and edited.
- Accessible — even non-programmers can perform complex analyses without writing code, thanks to the AI generating the pipelines.
Getting started
- Requirements: Python 3.11 or above, on Linux, Windows, or Mac.
- Install:
conda install -c conda-forge lumenorpip install lumen - Run: Start a Lumen Explorer server with
lumen-ai serve data.csv(replacedata.csvwith your own data).
More details are available in the official docs.
All facts above are taken directly from the project's README.
Related
- Project
- Project
- Project
- Project
- Project