Proyek
Lihat di GitHub Awesome DSPy
ganarajpr/awesome-dspy
Tentang
Daftar luar biasa berisi sumber daya DSPy yang telah dikurasi.
Pembelajaran dan pendidikanPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliAwesome DSPy 
A collection of awesome things regarding DSPy.
DSPy - A library for compiling declarative language model calls into self-improving pipelines.
Projects
- CodeSpy - Automated code reviews for teams who care about correctness, powered by DSPy
- DSPydantic - DSPydantic: Auto-Optimize Your Pydantic Models with DSP
- Arachne - DSPy-native autonomous agent runtime. Weaves optimized execution DAGs from natural language goals, executes nodes in parallel waves, and autonomously self-heals on failure. Features GraphWeaver, WaveExecutor, TriangulatedEvaluator, AutoHealer, and MCP integration.
- DSPy Compounding Engineering - A local-first engineering agent that learns from its own mistakes. Features 10+ parallel DSPy review agents, ReAct planning, and a self-optimizing Knowledge Base that compounds intelligence over time.
- XMC - Infer Retrieve Rank multi-label classification tasks with an extreme amount of classes (≥10,000 classes)
- dspy-arxiv - Explore the use of DSPy for extracting features from PDFs
- DSPyGen - A Ruby on Rails style framework for the DSPy (Demonstrate, Search, Predict) project for Language Models like GPT, BERT, and LLama.
- dspy-inspector - DSPy program/pipeline inspector widget for Jupyter/VSCode Notebooks.
- STORM - An LLM-powered knowledge curation system that researches a topic and generates a full-length report with citations. Paper
- DSPy with FASTAPI - a straightforward example of building a FastAPI backend with DSPy capabilities.
- DSPy OpenTOM - Exploration using DSPy to optimize modules to maximize performance on the OpenToM dataset.
- Self Discover - SELF-DISCOVER: Large Language Models Self-Compose Reasoning Structures Paper Video
- dspy-gradio-rag - RAG example using DSPy, Gradio, FastAPI
- Synthesizer - Synthetic data generation colab.
- Self Discover Colab - Self Discover demo using Colab.
- Hurricane - Writing Blog Posts with Generative Feedback Loops!
- DSPy Red Team - Red teaming / Finding a Prompt attack for an LLM using DSPy. Article
- DSPy Indic - DSPy program for tasks in Indian Languages.
- DSPy with LLamaIndex
- DSPy with Arize-Phoenix
- DSPy with Opik - Log DSPy runs with tracing, evaluations, and prompt optimization workflows.
- OpenInference DSPy Instrumentation
- Opentelemetry tracing for DSPy with Langtrace
- DSPy with Raindrop - Observability integration for DSPy that wraps modules (Predict, ChainOfThought, etc.) to automatically capture inputs, outputs, model, and token usage.
- DSPy with Future AGI
- Chemistry Augmented Generationn MIPRO based optimization of chemical property prediction
- Superhighway - Real-time web search for DSPy programs — wrap
/search,/news,/images,/scrape, and/researchas adspy.Toolfor ReAct agents or as a customdspy.Module. Pay-per-call API with a free tier; guide includes runnable examples. - voicetest - Open-source test harness for voice AI agents that uses DSPy signatures for LLM-based evaluation of call transcripts.
- AlgoVoi DSPy Adapter - Accept crypto payments (USDC, native ALGO/VOI/HBAR/XLM/ETH/SOL) inside DSPy pipelines on Algorand, VOI, Hedera, Stellar, Base, Solana, and Tempo — gate signatures behind MPP / x402 / AP2 challenges, verify on-chain payments from
dspy.Modules. - OrcaReplay - Records a DSPy program's LM traffic at the provider boundary and replays it offline with no model called;
orca record generic-openai -- python your_program.pyworks because DSPy's LiteLLM path honours bothOPENAI_API_BASEandOPENAI_BASE_URL(measured on dspy 3.3.1 / litellm 1.101.0), and replay can fork from any step onto a different model - PromptPotter - A DSPy Teleprompter (
pip install promptpotter[dspy]) that runs an evolutionary search with early elimination over a program's prompts and parameters;compile()mints a campaign on disk you can pause, rewind and fork, with every measurement kept. - chDB tools for DSPy - Analytical SQL tools for dspy.ReAct backed by chDB, the in-process ClickHouse engine. Plain typed callables (no adapter classes) that query Parquet/CSV/JSON files, S3, and remote databases with no server or credentials; wrong queries return typed engine errors in the trajectory for the model to correct.
- TS-DSPy - DSPy for TypeScript. Signatures are declared as classes or strings, model output is validated against them at runtime with zod, and OpenAI, Anthropic, and Gemini sit behind one interface. Includes Predict, ChainOfThought, and a ReAct-style tool loop.
- llm-schema-lite - Drop-in
dspy.Adapterthat swaps the JSON Schema block in DSPy prompts for a compact schema with constraints inline (typically 40-70% fewer schema tokens) and adds parse-time repair for small-model replies; also shipsJevAdapter/SemIfLMfor logit-based yes/no judging with local models.pip install "llm-schema-lite[dspy]" - reliopt - Reliability-constrained, multi-objective optimization for LLM/agent programs — contract-gated Pareto frontiers instead of a single blended score.
Blogs / Articles
- Prompt engineering is a task best left to AI models
- What makes DSPy a valuable framework for developing complex language model pipelines?
- DSPy: A new framework to program your foundation models just by prompting
- Intro to DSPy: Goodbye Prompting, Hello Programming
- DSPyGen: Revolutionizing AI
- Building an AI Assistant with DSPy
- Hurricane: Writing Blog Posts with Generative Feedback Loops
- DSPy - Not your average prompt engineering
- Red-Teaming Language Models with DSPy
- DSPy on Databricks
- Decision making ai agent with DSPY
- DSPy Assertions: Discussing Computational Constraints for Self-Refining Language Model Pipelines
- Why I bet on DSPy
- Monitoring & Tracing DSPy with Langtrace
- DSPy in Production
- Supercharge Your LLM Apps using DSPy and Langfuse
Twitter Threads
Newsletter
Videos
- Automating Prompt Engineering with DSPy // Cyrus Nouroozi, Contributor at DSPy - Arize:Observe
- DSPy: Transforming Language Model Calls into Smart Pipelines // Omar Khattab - MLOps.community
- Omar Khattab, DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines - FunctionalTV
- DSPy Explained! - Connor Shorten
- Programming Foundation Models with DSPy / Multivector Semantic Search with ColBERT // Omar Khattab -- Cohere
- Getting Started with RAG in DSPy! - Connor Shorten
- Getting started with DSPy tutorial - QDrant
- NEW DSPyG: DSPy combined w/ Graph Optimizer in PyG - code_your_own_AI
- Adding Depth to DSPy Programs - In depth on DSPy optimiser.
- Self-Discover in DSPy with Chris Dossman - Weaviate Podcast #90!
- Can You Tell Me About DSPy Optimizers: How Module Signatures & Prompts Are Modified by Optimizers - Best explanation of DSPy Optimizers I have seen.
- Can You Tell Me About DSPy: How DSPy Automates Prompt Engineering Modularly
- Introducing 7 Modules Their Application & Prompts in DSPY: Can You Tell Me About DSPy Modules
- Can You Tell Me How To Connect Multiple Open Source Models With DSPy & Run Inference With Predict
- DSPy Tutorial Playlist: Goes in depth on Signatures, Modules, Optimizers
- Structured Outputs with DSPy - Connor Shorten
- DSPy Assertions: Computational Constraints for Self-Refining LM Pipelines // Arnav Singhvi
- Building LLM Agents with Tool Use
- Llama 3 RAG Demo with DSPy Optimization, Ollama, and Weaviate! // Connor Shorten
- MIPRO and DSPy with Krista Opsahl-Ong! - Weaviate Podcast #103
Tutorials
Papers
Jelajahi proyek terkait
Memuat…