DSPy
dspy.ai · 928 words · saved by 1 readers
The framework for programming—rather than prompting—language models.
DSPy 3.3.0b1 - New ReActV2 Module and improved LM/BaseLM · learn more → Program , don't prompt, your LLMs. DSPy is a Python framework for building AI systems. Express your tasks as structured signatures, not prompts, to produce maintainable, modular, and optimizable programs. $ pip install -U dspy Getting Started → python ≥ 3.10 MIT license Stanford NLP github.com/stanfordnlp/dspy Change LLM Add a Field Make it an Agent extract_events.py 1 2 3 4 5 6 7 8 9 10 lm = dspy. LM ( "openai/gpt-5.4-nano" ) class ExtractEvent (dspy.Signature): """Extract event details from an email."
related reading
- Cookbookcookbook.openai.com
- Parsed | Custom, interpretable AI systems that continuously learnparsed.com
- The Shape of AI | UX Patterns for Artificial Intelligence Designshapeof.ai
- OpenAI | Research & Deploymentopenai.com
- There's An AI For That® — The front page of AItheresanaiforthat.com
- Prompting best practicesdocs.anthropic.com
- Prompt generation | OpenAI APIplatform.openai.com
- GitHub - x1xhlol/system-prompts-and-models-of-ai-tools: FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sourced) System Prompts, Internal Tools & AI Modelsgithub.com
- Datacurve | The data engine for frontier AIdatacurve.ai
- LangChain: the open agent platform to own your intelligencelangchain.com
- Rewind.ai - Every AI Tool, Completely Freerewind.ai
- Denis Shiryaev | AI & ML Projectsshir-man.com