dspy

DSPy: The framework for programming—not prompting—language models (by stanfordnlp)

Dspy Alternatives

Similar projects and alternatives to dspy

  1. litellm

    102 dspy VS litellm

    Python SDK, Proxy Server (AI Gateway) to call 100+ LLM APIs in OpenAI (or native) format, with cost tracking, guardrails, loadbalancing and logging. [Bedrock, Azure, OpenAI, VertexAI, Cohere, Anthropic, Sagemaker, HuggingFace, VLLM, NVIDIA NIM]

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. llama_index

    89 dspy VS llama_index

    LlamaIndex is the leading document agent and OCR platform

  4. semantic-kernel

    Integrate cutting-edge LLM technology quickly and easily into your apps

  5. autogen

    71 dspy VS autogen

    A programming framework for agentic AI

  6. pydantic-ai

    47 dspy VS pydantic-ai

    AI Agent Framework, the Pydantic way

  7. gpt-engineer

    56 dspy VS gpt-engineer

    Discontinued CLI platform to experiment with codegen. Precursor to: https://lovable.dev

  8. outlines

    50 dspy VS outlines

    Structured Outputs

  9. langgraph

    41 dspy VS langgraph

    Build resilient agents.

  10. lmql

    37 dspy VS lmql

    A language for constraint-guided and efficient LLM programming.

  11. unsloth

    34 dspy VS unsloth

    Unsloth Studio is a web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.

  12. guidance

    34 dspy VS guidance

    A guidance language for controlling large language models.

  13. langroid

    29 dspy VS langroid

    Harness LLMs with Multi-Agent Programming

  14. crewAI

    28 dspy VS crewAI

    Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

  15. ragas

    14 dspy VS ragas

    Supercharge Your LLM Application Evaluations 🚀 (by vibrantlabsai)

  16. textgrad

    7 dspy VS textgrad

    TextGrad: Automatic ''Differentiation'' via Text -- using large language models to backpropagate textual gradients. Published in Nature.

  17. devika

    13 dspy VS devika

    Devika is the first open-source implementation of an Agentic Software Engineer. Initially started as an open-source alternative to Devin.

  18. SWE-agent

    10 dspy VS SWE-agent

    SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

  19. AdalFlow

    8 dspy VS AdalFlow

    AdalFlow: The library to build & auto-optimize LLM applications.

  20. atomic-agents

    5 dspy VS atomic-agents

    Building AI agents, atomically

  21. MLflow

    83 dspy VS MLflow

    The open source AI engineering platform for agents, LLMs, and ML models. MLflow enables teams of all sizes to debug, evaluate, monitor, and optimize production-quality AI applications while controlling costs and managing access to models and data.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better dspy alternative or higher similarity.

dspy discussion

Log in or Post with

dspy reviews and mentions

Posts with mentions or reviews of dspy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-04-22.

Stats

Basic dspy repo stats
58
35,004
9.7
2 days ago

stanfordnlp/dspy is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of dspy is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Python is
the 1st most popular programming language
based on number of references?