Skip to content
Agent Search Engine.

Alternatives · Agent Frameworks

DSPy alternatives

These records overlap with DSPy's recorded tasks and have the same product type. The selection uses task text, then information completeness; stars and sponsorship do not set the order. Check the specific capability you need before switching.

8 task-related records from 57 category candidates · all agent frameworks · how we rank

The product you're replacing

DSPyFrameworkAgent Frameworks

Stanford's framework for programming, not prompting, language models, with optimisers for prompts and weights.

Costs not checked · 39k stars · Python · Open source · repository push Nov 2026

Building one yourself? How to choose an agent framework →

Task-related research candidates

txtaiFrameworkAn all-in-one Python framework for semantic search, LLM orchestration and language-model workflows.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 13kGitHub stars

Recorded task overlap: retrieval and knowledge. Compare the documented setup and limits before treating it as a substitute. The recorded use cases differ: DSPy — Systems where you can define a metric and want prompts tuned automatically instead of by hand; txtai — Self-hosted semantic search and RAG with agents in a single Python library.

LangroidFrameworkA lightweight Python framework for multi-agent LLM applications, from CMU and UW-Madison researchers.Costs not checkedOpen sourcePython · recorded license: MITRecord checked · Recent push 4.1kGitHub stars

Recorded task overlap: retrieval and knowledge. Compare the documented setup and limits before treating it as a substitute. The recorded use cases differ: DSPy — Systems where you can define a metric and want prompts tuned automatically instead of by hand; Langroid — Developers who want a small, principled multi-agent framework without LangChain.

MastraFrameworkA TypeScript framework for AI applications and agents, with model routing, workflows, RAG and evals.Costs not checkedOpen sourceTypeScript · recorded license: Apache-2.0Record checked · Recent push 29kGitHub stars

Recorded task overlap: retrieval and knowledge. Compare the documented setup and limits before treating it as a substitute. The recorded use cases differ: DSPy — Systems where you can define a metric and want prompts tuned automatically instead of by hand; Mastra — TypeScript teams building production agents without switching to Python.

LlamaIndexFrameworkFramework for connecting LLMs and agents to your own documents and data.Costs not checkedOpen sourcerecorded license: MITRecord checked · Recent push 53kGitHub stars

Recorded task overlap: retrieval and knowledge. Compare the documented setup and limits before treating it as a substitute. The recorded use cases differ: DSPy — Systems where you can define a metric and want prompts tuned automatically instead of by hand; LlamaIndex — Retrieval-heavy applications where the hard part is getting your own documents and data into an agent reliably.

rufloFrameworkThe leading agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems.Costs not checkedOpen sourceTypeScript · recorded license: MITRecord checked · Recent push 81kGitHub stars

Recorded task overlap: retrieval and knowledge. Compare the documented setup and limits before treating it as a substitute. The recorded use cases differ: DSPy — Systems where you can define a metric and want prompts tuned automatically instead of by hand; ruflo — Adding tools, memory, loops, and sandboxes on top of Claude Code or Codex.

smolagentsFrameworkMinimal agent library where agents write their actions as Python code.Apache-2.0 code; model/compute and optional sandbox costsOpen sourcerecorded license: Apache-2.0Record checked · Recent push 30kGitHub stars

Shared terms in the records: python, want, where. These text matches do not establish equivalent capabilities. The recorded use cases differ: DSPy — Systems where you can define a metric and want prompts tuned automatically instead of by hand; smolagents — Small code-writing agents you want to read end to end before trusting them.

AgentScopeFrameworkA production-ready Python agent framework built around model reasoning and tool use rather than rigid orchestration.Costs not checkedOpen sourcePython · recorded license: Apache-2.0Record checked · Recent push 35kGitHub stars

Shared terms in the records: python, system, want. These text matches do not establish equivalent capabilities. The recorded use cases differ: DSPy — Systems where you can define a metric and want prompts tuned automatically instead of by hand; AgentScope — Python teams building multi-agent or realtime voice systems who want transparency into agent behaviour.

pydantic-aiFrameworkAI Agent Framework, the Pydantic waySDK plus selected model/service costsOpen sourcePython · recorded license: MITRecord checked · Recent push 21kGitHub stars

Shared terms in the records: python, want. These text matches do not establish equivalent capabilities. The recorded use cases differ: DSPy — Systems where you can define a metric and want prompts tuned automatically instead of by hand; pydantic-ai — Python teams that want type-safe agent development with the Pydantic philosophy.

Browse all agent frameworks →

Frequently asked

How were alternatives to DSPy selected?
Recorded task topics and meaningful shared terms qualify same-type candidates in the same category. Results are ordered by that overlap, then information completeness and a stable identifier. Sponsorship and GitHub stars do not participate. The method can miss suitable tools whose records lack task information.
Does inclusion mean a tested replacement?
No. These are catalogue-based research candidates. Check current sources, costs, permissions and deployment requirements, then test your own task. ASE has not run a performance benchmark of this shortlist.