Privacy and advertising choices
Git-Stars uses essential storage for site operation. Optional analytics and ad-measurement scripts stay disabled unless you accept them; partners such as Google may then use cookies or similar identifiers where required. Privacy Policy
DSPy: The framework for programming—not prompting—language models
This repository page has enough original analysis, source evidence, and comparison context to be treated as an indexable Git-Stars review.
100
review score
Problem solved
DSPy solves the problem of fragile and labor-intensive prompt engineering by introducing a declarative programming model where prompts are treated as trainable parameters. It automates the optimization of prompts and weights, making AI systems more robust and adaptable across tasks and models, unlike traditional approaches that require manual tweaking for each use case.
Deployment reality
The available setup signal starts with: pip install dspy. Treat this as a starting point, then ask Codex or Claude to inspect the README, environment variables, runtime version, and deployment target before production use.
Commercial use
The recorded license is MIT. This is a useful commercial-use signal, but teams should still verify license text, dependencies, model/API terms, and trademark constraints.
Capability ceiling
Developers can build a wide range of AI systems, from simple classifiers to sophisticated RAG pipelines and agent loops, with automatic optimization of prompts and weights. Real-world use cases include knowledge-intensive NLP tasks, multi-stage language model programs, and self-refining pipelines with computational constraints. The ceiling is high, as DSPy supports fine-tuning and prompt optimization together, enabling state-of-the-art performance on complex tasks with minimal manual intervention.
Git-Stars is independent and not affiliated with GitHub or this project. Analysis may be AI-assisted and based on public repository metadata plus short README-derived summaries. We do not mirror full README files, docs, issues, or social comments.
stanfordnlp/dspy is tracked as a Python project in the LLM Tool area. This evaluation combines public GitHub metadata, category signals, short source summaries, and Git-Stars editorial rules rather than copying project documentation.
Momentum check: the repository has 37k total stars, with +0 today, +525 this week, and +0 this month. These growth windows help distinguish durable adoption from short-lived visibility spikes.
Maintenance check: current activity is Moderate; the latest push was 60 days ago, and the open issue queue is 653, about 1.76% of total stars. Treat this as an adoption signal, not a substitute for engineering due diligence.
Adoption check: 3.2k forks and 37k watchers suggest how often the project is reused or followed. License signal: MIT. Always verify license compatibility before commercial or internal use.
Practical fit: this project is most relevant when you need Python teams evaluating ecosystem-native tooling. Be cautious when you need a legal review, security audit, or production SLA.
Source check: Git-Stars currently has 2 explicit source reference(s) for this report and a recent growth signal of 525. Follow the original GitHub repository for final install, security, and release information.
Analysis
ReadyOriginal problem, capability, and verdict guidance are available.
Sources
ReadyRepository metadata and README/source references are attached.
License
ReadyMIT is recorded for review.
Maintenance
ReadyRecent activity is visible in repository metadata.
Alternatives
ReadyEnough nearby projects exist for comparison.
Momentum
37k Stars
Reuse
3.2k Forks
Attention
37k Watchers
Maintenance
moderate
License
MIT
Open issues
653
DSPy is a framework for programming—rather than prompting—language models, enabling fast iteration on building modular AI systems and optimizing their prompts and weights. It supports simple classifiers, sophisticated RAG pipelines, and Agent loops.
Key Features
- Declarative self-improving Python framework for LM programming - Algorithms for optimizing prompts and weights - Supports building classifiers, RAG pipelines, and Agent loops
LLM Tool
Libraries and tools for LLM apps, RAG, prompts, and evals
pip install dspy70
Health Score
Moderate
Commit Activity
Jan 9, 2023
Created
Aug 14, 2026
Last push
Star history will appear after daily syncs accumulate data.
Forks
Open
Watchers
stanfordnlp
GitHub profileaffaan-m/ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
NousResearch/hermes-agent
The agent that grows with you
multica-ai/andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Significant-Gravitas/AutoGPT
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
avelino/awesome-go
A curated list of awesome Go frameworks, libraries and software
✓
License
✓
Forked
~ Moderate
Maintained
Problem Solved
DSPy solves the problem of fragile and labor-intensive prompt engineering by introducing a declarative programming model where prompts are treated as trainable parameters. It automates the optimization of prompts and weights, making AI systems more robust and adaptable across tasks and models, unlike traditional approaches that require manual tweaking for each use case.
Capabilities
Developers can build a wide range of AI systems, from simple classifiers to sophisticated RAG pipelines and agent loops, with automatic optimization of prompts and weights. Real-world use cases include knowledge-intensive NLP tasks, multi-stage language model programs, and self-refining pipelines with computational constraints. The ceiling is high, as DSPy supports fine-tuning and prompt optimization together, enabling state-of-the-art performance on complex tasks with minimal manual intervention.
Bottom Line
DSPy is ideal for developers and researchers who want to move beyond manual prompt engineering and build scalable, self-improving AI systems. It is not for those who prefer simple, quick prompt-based solutions without a learning curve. The key trade-off is the initial complexity of learning the framework versus the long-term benefits of automated optimization and modularity.