DSPy
Stanford framework for programming—rather than prompting—language models, with optimizers for prompts and weights.
| Category | Agent Frameworks |
|---|---|
| Platforms | Python |
| Pricing | Open source (MIT) |
| Official site | https://dspy.ai |
DSPy alternatives
LangGraph
Low-level orchestration framework from LangChain for building stateful, multi-step agents as graphs, with persistence and human-in-the-loop support.
LangChain
Popular framework for building LLM applications and agents with composable chains, tools, retrievers and integrations.
CrewAI
Python framework for orchestrating role-playing, collaborative multi-agent "crews" with tasks and processes.
AutoGen
Microsoft's open-source framework for building multi-agent conversational applications.
OpenAI Agents SDK
Lightweight OpenAI SDK for multi-agent workflows with handoffs, guardrails and tracing.
LlamaIndex
Data framework for connecting LLMs to your data, with agent and workflow abstractions for RAG-heavy agents.
Semantic Kernel
Microsoft SDK for integrating LLMs into apps with plugins, planners and agent abstractions.
Pydantic AI
Agent framework from the Pydantic team focused on type-safe, structured outputs and dependency injection.
smolagents
Hugging Face's minimal library for agents that think and act in code.
Mastra
TypeScript agent framework with workflows, memory, RAG, evals and integrations.
Vercel AI SDK
TypeScript toolkit for building AI apps and agents with streaming, tool calling and multi-provider support.
Agno
Python framework (formerly Phidata) for building multi-modal agents with memory, knowledge and tools.
Haystack
deepset's open-source framework for production RAG pipelines and agents.
Google Agent Development Kit
Google's open-source toolkit for building, evaluating and deploying agents, optimized for Gemini.
CAMEL
Open-source multi-agent framework and research community studying agent societies.
Letta
Framework (from the MemGPT team) for stateful agents with long-term memory.
Claude Agent SDK
Anthropic's SDK for building agents on the same harness that powers Claude Code.