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
- There's An AI For That® — The front page of AItheresanaiforthat.com
- OpenAI | Research & Deploymentopenai.com
- Prompting best practicesdocs.anthropic.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
- Prompt generation | OpenAI APIplatform.openai.com
- Datacurve | The data engine for frontier AIdatacurve.ai
- Rewind.ai - Every AI Tool, Completely Freerewind.ai
- LangChain: the open agent platform to own your intelligencelangchain.com
- Denis Shiryaev | AI & ML Projectsshir-man.com