This is an early release preview. You may encounter bugs.
Tool
DSPy logo
Unclaimed

development

DSPy

A framework for programming, not prompting, language models.

A 87/100 GitHub score ? This grade is derived from GitHub signals — not user votes. Open for the full breakdown.
No votes yet

01 / About

About DSPy.

DSPy (Declarative Self-improving Python) is a framework for building LLM-driven systems by writing compositional Python code instead of hand-tuning text prompts. You express the behavior you want as modular components with typed input/output signatures, and DSPy handles turning those into the actual prompts sent to the model.

On top of that programming model, it provides optimizers that automatically tune the prompts and, where applicable, the weights of each module against a metric and example data. The approach is meant to cover a range of systems from simple classifiers to RAG pipelines and multi-step agent loops, letting the same code be re-optimized as models or requirements change rather than rewritten by hand.

02 / Discussion CREDIBILITY-GATED

Discussion · 0

Reading is open to everyone. Only verified humans or builders at GitHub B+ can post or vote — every thread carries its author's credibility.

  • No discussions yet — start the first thread.

03 / Build

Build with DSPy.

Browse the catalogue for frameworks, tools, and blueprints — each scored on real GitHub credibility.

Browse the catalogue