Skip to content

Alternatives to dspy

AI agents that do a similar job to dspy, ranked by how closely they match what it does. dspy is an open-source agent framework for ai models and llm tooling.

Top 15 alternatives

  1. Open-source Python framework for testing LLM prompts, models and personas for voice agents

    • Open source
    • Agent framework
    • 175 GitHub stars
    • AI models and LLM tooling
  2. Python framework and self-hosted terminal assistant for building deep, tool-using AI

    • Open source
    • Agent framework
    • 1.1K GitHub stars
    • AI models and LLM tooling
  3. Type-safe Python framework for building agents and LLM applications

    • Open source
    • Agent framework
    • 21.5K GitHub stars
    • Design and media
  4. Python framework for function calling, structured output and RAG with local LLMs

    • Open source
    • Agent framework
    • 669 GitHub stars
    • Developer tools
  5. DemoGPT

    Agent

    Python library and Streamlit app generator for building LLM agents with tools and RAG

    • Open source
    • Agent framework
    • 1.9K GitHub stars
    • AI models and LLM tooling
  6. Python library giving LLMs memory, self-refinement and reasoning helpers for developers

    • Open source
    • Agent framework
    • 1.6K GitHub stars
    • AI models and LLM tooling
  7. Open-source engine that lets LLM agents learn strategies from their own past runs

    • Open source
    • Agent framework
    • 2.6K GitHub stars
    • Multi-agent frameworks
  8. Desktop app for building and chatting with multi-member AI workflows and agents

    • Freemium
    • Open-source agent
    • 575 GitHub stars
    • AI models and LLM tooling
  9. GitHub

    Agent

    No-code multi-agent framework for building LLM agents and workflows on your data

    • Open source
    • Agent framework
    • Developer tools
  10. Open-source Python framework for building autonomous agents that label and process data

    • Open source
    • Agent framework
    • 1.7K GitHub stars
    • Developer tools
  11. A copy-paste system prompt that has coding agents build a self-improving task system

    • Open source
    • Agent framework
    • 891 GitHub stars
    • AI models and LLM tooling
  12. Open-source no-code builder for chaining LLMs into agents, chatbots and apps over your

    • Open source
    • Open-source agent
    • 2.3K GitHub stars
    • AI models and LLM tooling
  13. Small Python library for building LLM-driven agents with tools, modeled on LangChain

    • Open source
    • Agent framework
    • 1.1K GitHub stars
    • AI models and LLM tooling
  14. Terminal coding agent with LSP, debugger access, subagents and a native Rust core

    • Open source
    • Open-source agent
    • 40.4K GitHub stars
    • Coding
  15. Tracing, evaluation and monitoring for teams building LLM-powered AI agents

    • Freemium
    • Hosted agent
    • Developer tools

dspy alternatives: questions

What are the best alternatives to dspy?

The closest alternatives to dspy are voice-lab, pydantic-deepagents, pydantic-ai, llama-cpp-agent and DemoGPT.

Is there a free alternative to dspy?

Yes. voice-lab, pydantic-deepagents, pydantic-ai have a free or open-source option.

Compare head to head