Match the project to your task before installing it.
Software Development & Delivery · Public
dspy
DSPy: The framework for programming—not prompting—language models
Check whether this project matches your task before installing it.
What it can doprompt, recipe, host_instruction, eval, preflightReview the portable capability path.
Before continuingVerify in a sandboxDo not treat a preview pack as a proven local install.
GitHub snapshot35k stars3.0k forks · 434 contributors
Doramagic.ai Last verification date: 2026-07-04 Verification method: source evidence, semantic profile, public page gate, and static build acceptance.
Publication status · 2026-07-04
What is dspy?
- DSPy: The framework for programming—not prompting—language models
- Best fit: Users who want source-backed project understanding before installing it.
- Not for: Not for users who want to skip sandbox verification or cannot accept configuration, permission, or maintenance overhead.
- Capability added to an AI workflow: prompt, recipe, host_instruction, eval, preflight
- First safe verification step: Verify the smallest path in an isolated environment and keep a rollback path.
- Verification state: source, Quick Start, and sandbox install checks are recorded as passed.
- Top risk: May increase setup, validation, or first-run risk for the user.
- Evidence base: https://github.com/stanfordnlp/dspy, https://github.com/stanfordnlp/dspy#readme, Human Manual, Pitfall Log
01
Quick decision
Use this section to decide whether the project is worth a deeper read.DSPy: The framework for programming—not prompting—language models
35k stars · 3.0k forks
02
What it can do
Translate the upstream project into concrete capabilities the user can judge before installing.Overview and Core Architecture
Related topics: LM Clients and Adapters, Built-in Modules and Programmatic Building Blocks, Optimizers and Prompt Compilation
Source: https://github.com/stanfordnlp/dspy / Human Manual
LM Clients and Adapters
Related topics: Overview and Core Architecture, Built-in Modules and Programmatic Building Blocks
Source: https://github.com/stanfordnlp/dspy / Human Manual
Built-in Modules and Programmatic Building Blocks
Related topics: Overview and Core Architecture, LM Clients and Adapters, Optimizers and Prompt Compilation
Source: https://github.com/stanfordnlp/dspy / Human Manual
Optimizers and Prompt Compilation
Related topics: Overview and Core Architecture, Built-in Modules and Programmatic Building Blocks
Source: https://github.com/stanfordnlp/dspy / Human Manual
Doramagic Pitfall Log
Source-linked risks stay visible on the manual page so the preview does not read like a recommendation.
Source: Doramagic discovery, validation, and Project Pack records
Sources: https://github.com/stanfordnlp/dspy, Human Manual, Project Pack evidence, and downstream validation signals.
03
Community Discussion Evidence
Project-level external discussion stays visible on the detail page, not only inside the manual.Community Discussion Evidence
12 source-linked itemsReview these external discussions before using dspy with real data or production workflows. They are review inputs, not standalone proof that the project is production-ready.
-
01
[Bug] (withdrawn) Module.save() JSON state + Retrieve.dump_state json_mo
github / github_issue
-
02
[Feature] Add append_instructions to Signature
github / github_issue
-
03
[Feature] Memory/retrieval poisoning defense via OWASP Agent Memory Guar
github / github_issue
-
04
[Feature] MCP guide — security agent over remote HTTP MCP servers (re #8
github / github_issue
-
05
3.3.0b1
github / github_release
-
06
3.2.1
github / github_release
-
07
3.2.0
github / github_release
-
08
3.1.3
github / github_release
-
09
3.1.2
github / github_release
-
10
3.1.1
github / github_release
-
11
3.1.0
github / github_release
-
12
3.1.0b1
github / github_release
04
How to start
Only source-backed commands are shown here. Verify them in an isolated environment first.Try the prompt first
Test the workflow without installing the upstream project.
previewRead the Human Manual
Understand inputs, outputs, limits, and failure modes.
manualTake context to your AI host
Use the compiled assets in your preferred AI environment.
contextRun sandbox verification
Confirm install commands and rollback before using a primary environment.
verifypip install dspyOfficial start command · https://github.com/stanfordnlp/dspy#readme · verified: yes
05
Human Manual
The English page must expose the real manual, not a short placeholder.8+ sections · Human Manual
dspy Manual
DSPy: The framework for programming—not prompting—language models
Open the full manual- https://github.com/stanfordnlp/dspy Project Manual
- Table of Contents
- Overview and Core Architecture
- Related Pages
- Introduction to DSPy
- Core Architectural Components
- Language Model Clients
- Adapters and Structured Output
Overview and Core Architecture
Related topics: LM Clients and Adapters, Built-in Modules and Programmatic Building Blocks, Optimizers and Prompt Compilation
Source: https://github.com/stanfordnlp/dspy / Human Manual
LM Clients and Adapters
Related topics: Overview and Core Architecture, Built-in Modules and Programmatic Building Blocks
Source: https://github.com/stanfordnlp/dspy / Human Manual
Built-in Modules and Programmatic Building Blocks
Related topics: Overview and Core Architecture, LM Clients and Adapters, Optimizers and Prompt Compilation
Source: https://github.com/stanfordnlp/dspy / Human Manual
Optimizers and Prompt Compilation
Related topics: Overview and Core Architecture, Built-in Modules and Programmatic Building Blocks
Source: https://github.com/stanfordnlp/dspy / Human Manual
Doramagic Pitfall Log
Source-linked risks stay visible on the manual page so the preview does not read like a recommendation.
Source: Doramagic discovery, validation, and Project Pack records
06
AI Context Pack and portable assets
After deciding to continue, take the project context into your own AI host.Complete pack plus user-owned assets
These files are planning and verification assets for Claude Code, Codex, Gemini, Cursor, ChatGPT, and other AI hosts.
07
Preflight checks
Treat this page as a planning asset, not proof that your local environment is ready.- The manual is generated from source-linked project files and Doramagic validation signals.
- Community evidence warnings stay visible instead of being converted into marketing claims.
- This English page is indexable because the locale quality gate passed and explicit English index approval is enabled.
- Use the upstream repository as the final authority for installation commands, license, and version-specific behavior.
08
Pitfall Log and verification risks
Doramagic surfaces high-risk items before users treat a candidate capability as verified.Capability evidence risk requires verification
May increase setup, validation, or first-run risk for the user.
Maintenance risk requires verification
May increase setup, validation, or first-run risk for the user.
Security or permission risk requires verification
May increase setup, validation, or first-run risk for the user.
Security or permission risk requires verification
May increase setup, validation, or first-run risk for the user.
Security or permission risk requires verification
May increase setup, validation, or first-run risk for the user.
Security or permission risk requires verification
May increase setup, validation, or first-run risk for the user.
Security or permission risk requires verification
May increase setup, validation, or first-run risk for the user.
Maintenance risk requires verification
May increase setup, validation, or first-run risk for the user.