Use Cases

no

Original Documentation

We often get questions like “How are people using DSPy in practice?”, both in production and for research. This list was created to collect a few pointers and to encourage others in the community to add their own work below.

This list is continuously growing. We regularly add new use cases and welcome community contributions. If you would like to add your product or research to this list, please submit a PR.

A Few Company Use Cases#

NameUse Cases
JetBlueMultiple chatbot use cases. Blog
ReplitSynthesize diffs using code LLMs using a DSPy pipeline. Blog
DatabricksResearch, products, and customer solutions around LM Judges, RAG, classification, and other applications. Blog, Blog II
SephoraUndisclosed agent usecases; perspectives shared in DAIS Session.
Zoro UKE-commerce applications around structured shopping. Portkey Session
VMwareRAG and other prompt optimization applications. Interview in The Register. Business Insider.
Haize LabsAutomated red-teaming for LLMs. Blog
Plastic LabsR&D pipelines for Honcho. Blog
PingCAPBuilding a knowledge graph. Article
SalomaticEnriching medical reports using DSPy. Blog
TruelawHow Truelaw builds bespoke LLM pipelines for law firms using DSPy. Podcast
STChealthUsing DSPy for entity resolution including human-readable rationale for decisions.
Moody’sLeveraging DSPy to optimize RAG systems, LLM-as-a-Judge, and agentic systems for financial workflows.
Normal ComputingTranslate specs from chip companies from English to intermediate formal languages
Procure.FYIProcess messy, publicly available technology spending and pricing data via DSPy.
RadiantLogicAI Data Assistant. DSPy is used for the agent that routes the query, the context extraction module, the text-to-sql conversion engine, and the table summarization module.
RaiaUsing DSPy for AI-powered Personal Healthcare Agents.
HyperlintUses DSPy to generate technical documentation. DSPy helps to fetch relevant information and synthesize that into tutorials.
Starops & SayaBuilding research documents given a user’s corpus. Generate prompts to create more articles from example articles.
Tessel AIEnhancing human-machine interaction with data use cases.
Dicer.aiUses DSPy for marketing AI to get the most from their paid ads.
HowieUsing DSPy to automate meeting scheduling through email.
Isoform.aiBuilding custom integrations using DSPy.
Trampoline AIUses DSPy to power their data-augmentation and LM pipelines.
PretrainUses DSPy to automatically optimize AI performance towards user-defined tasks based on uploaded examples.
Spindle AITurns natural-language constrained optimization problems into solvable mathematical programs whose candidate solutions are scenarios.
InfinitusLeverages DSPy to build and optimize healthcare AI agents

This list represents companies that have publicly shared their use cases or have provided permission to be included. It reflects a selection of the many industry applications of DSPy currently in production.

A Few Papers Using DSPy#

NameDescription
STORMWriting Wikipedia-like Articles From Scratch.
PATHPrompts as Auto-Optimized Training Hyperparameters: Training Best-in-Class IR Models from Scratch with 10 Gold Labels
WangLab @ MEDIQAUofT’s winning system at MEDIQA, outperforms the next best system by 20 points
UMD’s Suicide Detection SystemOutperforms 20-hour expert human prompt engineering by 40%
IReRaInfer-Retrieve-Rank: Extreme Classification with > 10,000 Labels
Unreasonably Effective Eccentric PromptsGeneral Prompt Optimization
PalimpzestA Declarative System for Optimizing AI Workloads
AI Agents that MatterAgent Efficiency Optimization
EDENEmpathetic Dialogues for English Learning: Uses adaptive empathetic feedback to improve student grit
ECG-ChatUses DSPy with GraphRAG for medical report generation
DSPy AssertionsVarious applications of imposing hard and soft constraints on LM outputs
DSPy GuardrailsReduce the attack success rate of CodeAttack, decreasing from 75% to 5%
Co-STORMCollaborative STORM: Generate Wikipedia-like articles through collaborative discourse among users and multiple LM agents
MedVALExpert-level validation of AI-generated medical text with scalable language models
Neural @ ArchEHR-QA 2025Runner up method at 2025 BioNLP Shared Task Workshop

This list is regularly updated with new research publications using DSPy.

A Few Repositories (or other OSS examples) using DSPy#

NameDescription/Link
Stanford CS 224U HomeworkGithub
STORM Report Generation (10,000 GitHub stars)Github
DSPy RedteamingGithub
DSPy Theory of MindGithub
Indic cross-lingual Natural Language InferenceGithub
Optimizing LM for Text2SQL using DSPyGithub
DSPy PII Masking Demo by Eric NessColab
DSPy on BIG-Bench Hard ExampleGithub
Building a chess playing agent using DSPyGithub
Ittia Research Fact CheckingGithub
Strategic Debate via Tree-of-ThoughtGithub
Sanskrit to English Translation AppGithub
DSPy for extracting features from PDFs on arXivGithub
DSPygen: DSPy in Ruby on RailsGithub
DSPy InspectorGithub
DSPy with FastAPIGithub
DSPy for Indian LanguagesGithub
Hurricane: Blog Posts with Generative Feedback Loops!Github
RAG example using DSPy, Gradio, FastAPI, and OllamaGithub
Synthetic Data GenerationGithub
Self DiscoverGithub
MedVALGithub

This list showcases some of the open-source projects and repositories using DSPy, with many more examples available in the community.

NameLink
DatabricksLink
ZenbaseLink
LangWatchLink
GradientLink
SnowflakeLink
LangchainLink
WeaviateLink
QdrantLink
Weights & Biases WeaveLink
MilvusLink
Neo4jLink
Lightning AILink
HaystackLink
ArizeLink
LlamaIndexLink
LangtraceLink
LangfuseLink
OpenLITLink
Relevance AILink

Credit: Some of these resources were originally compiled in the Awesome DSPy repo.

Link last verified June 7, 2026. View original ↗
Source: DSPy Docs
Link last verified: 2026-02-26