Skip to main content
lighton-sdk wraps the LightOn API: typed models, pagination handled for you, and rate-limit pacing built in. It’s the code shown in the Python SDK tab of every tutorial snippet.
Requires Python 3.11 or later.

Install

Set your API key in the environment. LightOn() reads it from there, so it never appears in your code:

Your first result

Where to go next

API reference

Every public class, method, and type, generated from the installed SDK.

Tutorials

Task-by-task walkthroughs, each with a Python SDK tab.
For parse, extract, async jobs, and agent-framework integrations (LangChain, LangGraph, LlamaIndex, OpenAI Agents, CrewAI), see the SDK README.