Python Libraries for LLM Applications logopeterindia.net
Knowledge Hub

Python Libraries for LLM Applications: LangChain, LlamaIndex, DSPy & More

Python libraries for building LLM apps: models and serving, orchestration and agents, structured output, SDKs and evaluation.

29 topics•6 categories•Updated October 2026

Models, Fine-tuning & Serving

5 entries

Load, adapt and serve models.

Orchestration, RAG & Agents

9 entries

Frameworks for chains, retrieval and agents.

Prompting, Structured Output & Gateways

3 entries

Control and route model calls.

Vendor SDKs & Vector Stores

5 entries

Client libraries and storage.

Evaluation

1 entries

Test LLM applications.

Related Pages

6 entries

Neighbouring pages on this site.

Frequently Asked Questions

Which Python library should I use to build an LLM app?

Use a vendor SDK for direct model calls, LangChain, LlamaIndex or Haystack for retrieval and chains, LangGraph, CrewAI or Pydantic AI for agents, and DSPy or Instructor for structured, programmatic prompting.

How do I serve an open model?

vLLM is a common high-throughput serving engine, while Ollama is convenient for running models locally.

How do I evaluate an LLM application?

Use an evaluation framework such as DeepEval to test outputs against metrics and datasets before and after changes.

How current is this page?

Links were checked in October 2026. Sites that block automated checks are kept and may need a manual click. Last-commit dates are from GitHub in October 2026 and show activity only; check each project's release notes before adopting it. The page was previously also stored under a file name with spaces; that copy is now a redirect.