DSPy icon
AI Agent Frameworks

DSPy

🇨🇳 中文 / 🇬🇧 English — 双语介绍
🇨🇳 中文

DSPy 是斯坦福大学开源的 LLM 编程框架:把提示词工程变成「声明式模块 + 自动优化」,像编译器一样自动调优 prompt 与流水线,显著提升模型效果,是构建复杂 Agent 管道的科研与工程利器。 ⭐ GitHub Stars: 37k+

🇬🇧 English

DSPy from Stanford is a framework for programming LLMs: declare modules and let the framework automatically optimize prompts and pipelines — a compiler-style approach that beats hand-tuned prompts. ⭐ GitHub Stars: 37k+

📋 Product Info

Category: AI Agent Frameworks
Listed on: 2026-08-08
Last verified: 2026-08-21
Official site: https://github.com/stanfordnlp/dspy
Open source: GitHub repository ↗
Tags: llm programming, prompts, optimization, stanford

🎯 Why This Tool

DSPy belongs to the AI Agent Frameworks category on hedirbase. Tagged with: llm programming, prompts, optimization, stanford.

DSPy from Stanford is a framework for programming LLMs: declare modules and let the framework automatically optimize prompts and pipelines — a compiler-style approach that beats hand-tuned prompts. ⭐

✓ Manually reviewed ✅ Last verified: 2026-08-21 📁 Open source 🌐 Curated for independents
🌎 访问 DSPy → 📦 GitHub