DSPy
The framework for programming—not prompting—language models
Overview
Requirements
Recommended VPS
Hetzner · CX22
2 vCPU · 4096 MB · 40 GB
Hetzner · CX22
2 vCPU · 4096 MB · 40 GB
Hetzner · CX22
2 vCPU · 4096 MB · 40 GB
Affiliate disclosure
Related tools
Ollama
Run large language models locally
NextChat
Cross-platform ChatGPT web UI with multi-model support for Ollama, Claude, Gemini, and more
Lobe Chat
Extensible, open-source ChatGPT alternative with plugins, knowledge base, and multi-LLM support
Open WebUI
User-friendly WebUI for LLMs (Ollama, OpenAI API)
llama.cpp
LLM inference in C/C++
text-generation-webui
Run local LLMs with a powerful web interface — text, vision, tool-calling, and OpenAI-compatible API
Guides & articles
Getting Started with DSPy: Build Your First Optimized LLM Pipeline
Learn how to install DSPy, configure LLMs, build classification and RAG pipelines, and automatically optimize them with teleprompters.
DSPy: The Framework for Programming—Not Prompting—Language Models
DSPy is Stanford NLP's framework for programming—not prompting—language models. Automatically optimize your LLM pipelines with 35k+ stars on GitHub.