DSPy

stanfordnlp/dspy

Program language models instead of prompting them

PersonalEnterpriseAgents & frameworksLibrary / SDKPermissive

At a glance

stars on GitHub
39k
contributors
468+
last commit
latest release, 2 weeks ago
3.5.0
license
MIT

About

Write modular AI programs and let DSPy optimize the prompts and weights.

From the repository: “DSPy: The framework for programming—not prompting—language models”

Latest release: 3.5.0,

Source code only: this release has no files to download.

DSPy and its alternatives: GitHub stars, last commit, license and worth score
ProjectStarsLast commitLicenseWorth
DSPyThis project
39kMIT82
HindsightAgent memory that learns
63kMIT94 (best)
SemanticaGraph-native context infrastructure for AI
15kMIT91
AgentScopeBuild agents you can see and trust
37kApache-2.089
Mem0Memory layer for AI agents
69k (best)Apache-2.088

▲ marks the most stars and the best worth score.

dspy.ai
Preview of DSPy
Preview of DSPy at dspy.ai