DSPy
https://github.com/stanfordnlp/dspy
Stanford's framework for programming, not prompting, language models: declarative modules and optimizers for prompts and weights.
Active · Verified 2026-10-26 · fresh as of 2026-10-26 · 16 cited facts, 1 with a third-party source · 1 recorded change · Suggest a correction
At a glance
- Tier
- T3
- Created
- 2023-01-09 repo fix
- Latest release
- last commit 2026-10-25 repo fix
- GitHub
- https://github.com/stanfordnlp/dspy (38791★) repo fix
- Pricing
- searched not found fix
- Funding
- searched not found fix
- Freshness
- 2026-10-26 fix
- Layer
- agent-infra repo fix
- Licensing
- open-source repo fix
- Developer activity
- OpenRank 14.62 (12-mo avg 16.61) · 103 participants — 2026-09 third-party fix
When to use
Optimised for: searched not found
Anti-fit: searched not found
Pros & cons
Pros
searched not found
Cons
searched not found
Claims & capabilities
DSPy: The framework for programming—not prompting—language models
Technical surface
- API surface
- searched not found
- Backend storage
- searched not found
- Deployment
- searched not found
- Embedding model
- searched not found
- Multi-tenancy
- searched not found
- MCP
- searched not found
- A2A
- searched not found
- OpenTelemetry
- searched not found
Alternatives to DSPy → live options ranked by shared design, licence, hosting and MCP support
Similar systems
Other agent frameworks (no first-party memory layer) in the catalog, ranked by inbound references.
- Model Context Protocol (MCP spec) T1
Anthropic-introduced open protocol (Nov 2024) for connecting LLMs to data sources and tools. Donated by Anthropic to the Linux Foundation's Agentic AI Foundation (announced 2025-12-09); now governed as Model Context Protocol, a Series of LF Projects, LLC. Supported across Claude, ChatGPT, VS Code, Cursor and many other clients.
- LangChain (framework) T1
Dominant Python/JS framework for LLM apps — tool calling, agents, retrievers, runnables. Memory is one component (LangMem cross-listed); the framework itself is the product.
- Vercel AI SDK T1
Vercel's TypeScript LLM SDK — streaming, tool calls, structured outputs, agents. Dominant framework for Next.js LLM apps.
- LlamaIndex (framework) T1
Data framework for LLM apps — connectors, indices, query engines, agents, workflows. Memory is one of many subsystems (LlamaIndex Memory cross-listed).
- OpenAI Agents SDK T1
OpenAI's official Python framework for agents — handoffs, guardrails, tracing built in. Successor to OpenAI Swarm (experimental); officially supported.
- LangGraph (orchestration) T1
LangChain's stateful graph runtime for agents — explicit state, persistence, time-travel debugging, human-in-the-loop. Memory is one persistence target (LangGraph Persistence cross-listed).
Sources (15 cited facts, 1 third-party)
Each fact links to the page it came from; the badge says who published it (how to read sources).
- What it is Framework repo
- What it does & what's distinct Stanford's framework for programming, not prompting, language models: declarative module… repo
- Claims / benefits DSPy: The framework for programming—not prompting—language models repo
- Created 2023-01-09 repo
- Latest release last commit 2026-10-25 repo
- License MIT repo
- GitHub https://github.com/stanfordnlp/dspy (38791★) repo
- Mindshare 38791 GitHub stars repo
- Project & sources https://github.com/stanfordnlp/dspy repo
- architecture-deployment-locus local repo
- licensing-bucket open-source repo
- positioning-platform-vs-product platform repo
- taxonomy-three-layer-rollup agent-infra repo
- developer-activity-opendigger {"activity":254.56,"as_of":"2026-09","openrank_12mo":16.61,"openrank_current":14.62,"par… third-party
- sdk-languages python repo
What changed
Changes to this record's lifecycle, licence, release, pricing and hosting facts, from the catalog's git history. Subscribe (Atom)
- 2026-10-26 Added to the catalog #259
Related systems
References (7)
- Anthropic Claude (foundation models) integrates with — DSPy language model docs have an Anthropic setup tab for dspy.LM. (verified 2026-10-29)
- Google Gemini 3 family integrates with — DSPy language model docs have a Gemini (AI Studio) setup tab for dspy.LM. (verified 2026-10-29)
- LiteLLM integrates with — DSPy language model docs describe an optional LiteLLM compatibility engine (dspy[litellm]) for other providers. (verified 2026-10-29)
- MLflow integrates with — DSPy observability tutorial shows MLflow automatic tracing via mlflow.dspy.autolog(). (verified 2026-10-29)
- OpenAI GPT family (GPT-5 / GPT-4o / o3 / o4) integrates with — DSPy language model docs have an OpenAI setup tab for dspy.LM. (verified 2026-10-29)
- SGLang integrates with — DSPy language model docs show serving local LMs on a GPU server with SGLang. (verified 2026-10-29)
- Weaviate integrates with — DSPy ships a Weaviate retriever module (dspy/retrievers/weaviate_rm.py). (verified 2026-10-29)
Referenced by (18)
- Arize Phoenix integrates with — Arize Phoenix docs have a DSPy integration page. (verified 2026-10-29)
- Braintrust integrates with — Braintrust docs have a DSPy integration page. (verified 2026-10-29)
- Comet ML integrates with — Comet's Opik docs have a DSPy integration page. (verified 2026-10-29)
- Daytona integrates with — Daytona docs have a guide for running DSPy with Daytona sandboxes. (verified 2026-10-29)
- e2b integrates with — E2B docs have a DSPy integration guide. (verified 2026-10-29)
- Helicone integrates with — Helicone docs have a DSPy integration page. (verified 2026-10-29)
- HoneyHive integrates with — HoneyHive integrations docs have a DSPy tracing/integration page. (verified 2026-10-29)
- Langfuse integrates with — Langfuse's integrations directory has a DSPy integration page. (verified 2026-10-29)
- Milvus integrates with — Milvus's integrations overview lists a Milvus + DSPy integration tutorial. (verified 2026-10-29)
- Neo4j integrates with — Neo4j's GenAI ecosystem docs have a DSPy integration page. (verified 2026-10-29)
- OpenInference integrates with — The OpenInference repo README lists an OpenInference instrumentation package for DSPy. (verified 2026-10-29)
- Portkey AI integrates with — Portkey docs have a DSPy app/library integration page. (verified 2026-10-29)
- Pydantic Logfire integrates with — Pydantic Logfire integrations docs have a DSPy page. (verified 2026-10-29)
- Qdrant integrates with — Qdrant's documentation has a DSPy integration page. (verified 2026-10-29)
- Together AI integrates with — Together AI docs third-party/agent integrations: DSPy. (verified 2026-10-29)
- TrueFoundry AI Gateway integrates with — TrueFoundry AI Gateway ecosystem lists a DSPy integration page. (verified 2026-10-29)
- Weaviate integrates with — Weaviate's integrations / model-provider docs list DSPy as an integration. (verified 2026-10-29)
- Weights & Biases integrates with — W&B Weave docs have a DSPy integration page. (verified 2026-10-29)