Skip to content

nshkrdotcom/Awesome-DSPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Awesome DSPy Awesome

A curated list of awesome DSPy resources, projects, and other libraries. Inspired by the AI-generated research paper on the DSPy ecosystem.

DSPy is a framework from Stanford NLP for algorithmically optimizing language model (LM) prompts and weights, especially when LMs are used one or more times in a pipeline.

Contents

Official Resources

Community

Courses & Tutorials

Tools & Utilities

  • neoxelox/dspy-inspector: An essential Jupyter/VSCode widget for interactive inspection and visualization of DSPy program traces.
  • seanchatmangpt/dspygen: A Ruby on Rails-style CLI for scaffolding new DSPy projects and modules quickly.
  • GenseeAI/cognify: An AI agent and workflow auto-tuning framework that can optimize DSPy, LangChain, and LangGraph programs for quality, latency, and cost.

Advanced Implementations & Projects

  • Retrieval-Augmented Generation (RAG)
  • Agentic Frameworks
    • jmanhype/aidevos: An ambitious project to create an AI-driven autonomous DevOps system using a multi-agent framework built with DSPy.
    • HendrikReh/dspy-multi-agent: A multi-agent system where research and writing agents collaborate to produce articles.
  • Advanced Prompting & Structured Data

Integrations

  • Observability & MLOps
    • Scale3-Labs/dspy-examples: Well-structured examples demonstrating best practices and integration with the Langtrace observability tool.
  • Vector Databases & Knowledge Graphs
  • Web Frameworks
    • dspy-gradio-rag: An example of building an interactive RAG web app with Gradio, FastAPI, and DSPy.

DSPy in Other Languages

The DSPy paradigm of "programming, not prompting" has inspired native re-implementations in several other languages.

  • TypeScript: ax-llm/ax - A framework bringing DSPy's core concepts to the TypeScript/JavaScript ecosystem with a focus on type safety and production-readiness.
  • Elixir: nshkrdotcom/DSPex - A DSPy orchestrator in Elixir, leveraging the fault-tolerance and concurrency of the BEAM.
  • Elixir: arthurcolle/dspy.ex - An idiomatic Elixir implementation of DSPy's core features, built on OTP principles for robust, concurrent systems.
  • Go: selfreliantob/dspy-go - A native Go implementation designed for performance, static typing, and modularity.
  • Ruby: dspy-rb - A production-ready Ruby gem with a focus on developer experience and deep integrations with observability platforms.

Contributing

Contributions are welcome! Please open an issue or pull request to add more awesome DSPy resources.

About

Curated list of DSPy (Declarative Self-improving Python) resources, tutorials, examples, and research papers for LLM programming

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors