DSPy logo

DSPy

Featured Open Source

Programming framework for algorithmically optimizing LM prompts

DSPy is a Stanford research framework that replaces manual prompt engineering with programmatic optimization. It treats prompts and LM calls as declarative modules and automatically optimizes them using optimizers like BootstrapFewShot and MIPRO.

Product Overview

Use Cases

  • Automated Prompt Optimization
  • Agentic Pipelines
  • RAG Optimization
  • LLM Program Compilation

Ideal For

AI ResearchersML EngineersAdvanced AI Developers

Architecture Fit

Enterprise ReadySelf HostedCloud NativeAPI FirstMulti-Agent CompatibleKubernetes SupportOpen Source

Technical Details

Deployment Model
self-hosted
LLM Providers
OpenAIAnthropicGeminiOllamaGroq

Screenshots

No screenshots available yet.

Community Feedback

Loading…

Login to leave feedback on this product.