Head to head · Agent frameworks · October 2026 research run
DSPy vs Agent Development Kit (ADK)
Agent Development Kit (ADK) scores 72.4 (BB) on agent readiness against DSPy's 68.3 (B), and leads in 6 of 7 scored categories. Both do agent frameworks.
Best agent frameworks and SDKs · All 253 frameworks comparisons
Which one, for what
DSPy B
Best for Python teams who want typed LM programs they can evaluate and optimise against a metric, with ReAct for tool use.
Also in its favour
- No incidents deducted, where Agent Development Kit (ADK) loses 12 points for them
Watch for
3.5 changed the default adapter, reasoning and API routing and removed CodeAct and ProgramOfThought in a minor release
Agent Development Kit (ADK) BB
Best for Teams on Google Cloud or working outside Python, and for anyone who wants approval, guardrail callbacks and evaluation in one framework.
Ahead on
- Reliability, 80 against 62
- Schema & documentation, 87 against 71
- Agent ergonomics, 80 against 64
- Security & auth, 92 against 60
- Transparency & trust, 69 against 52
Also in its favour
- Agent-ready, a grade of BB or better
Watch for
Six CVEs in 2026, three of them critical, one in tool confirmation itself
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Security & auth Agent Development Kit (ADK) +32
DSPy 60
Framework reading (telemetry defaults, approvals, guardrails, sandboxing). No telemetry found, and the optional LiteLLM engine switches LiteLLM telemetry off (25). No tool approval hook; RLM runs generated code in a Deno and Pyodide sandbox with no filesystem or network access (10). No prompt-injection guidance found (5). MLflow tracing through OpenTelemetry and callbacks (12). SECURITY.md with GitHub private reporting and a maintainer address, but OSV lists CVE-2025-12695 for the PythonInterpreter sandbox with no fixed version (8). 25+10+5+12+8 = 60.
Agent Development Kit (ADK) 92
We found no usage telemetry in the docs or the Python source, and capturing message content in traces is opt-in (30). Tool confirmation for human approval, extended to workflow tool nodes in 2.11.0 and to any workflow node through require_confirmation in 2.12.0, the docs say to always pass tool_filter to McpToolset, 2.12.0 limits the mutating /dev and agent builder endpoints of adk web to local clients by default, and sandboxed code execution is recommended for model-written code (20). Before-tool callbacks, an after_tool_callback that screens tool output since 2.12.0, plugins, a Model Armor plugin, an optional ToolCallIntegrityPlugin since 2.11.0, and a safety page that covers indirect prompt injection through tool results (15). OpenTelemetry traces with Cloud Trace and about 20 third-party integrations (15). SECURITY.md routes reports to Google's g.co/vulnz with a one-day triage target, per the 1 October check, not re-read on 1 November (the repository still has no SECURITY.md file and GitHub's security page answered 403). Google as CNA has published six 2026 CVEs with fixed versions, the newest on 23 and 28 October, but there are no repository advisories and no bounty is mentioned in the policy (12). Framework reading, so SOC 2 isn't scored.
Reliability Agent Development Kit (ADK) +18
DSPy 62
Local-package reading. Official PyPI package dspy with Python 3.10 to below 3.16 stated (20). A public test workflow runs on pushes to main and pull requests for Python 3.10 to 3.15; whether main passes wasn't read, as the Actions API refused us (15). 352 open issues and 475 open pull requests on 23 November 2026. The 50 newest issues, opened from 6 October to 23 November, had 19 with a comment and 8 closed (10). Release notes and an upgrade guide for 3.5, but 3.5 changed defaults and removed APIs in a minor release (7). 3.x, while the package classifier still says Alpha, so partial (10). 20+15+10+7+10 = 62.
Agent Development Kit (ADK) 80
Official packages on PyPI (Requires-Python >=3.11 since 2.12.0, constraint files for 3.11 to 3.15) and npm (20). The continuous-integration workflow passes on main, per the 1 October check, not re-read on 1 November (25). 300 open issues and 261 open pull requests, per the 1 October check, not re-read on 1 November (12). The changelog calls out breaking changes, but they keep shipping in minor releases of a post-1.0 package (2.6.0 on 2026-07-29 and 2.7.0 on 2026-08-13), 2.12.0 on 2026-10-13 dropped Python 3.10 with no line in its changelog, and 2.8.0 reverted an A2A guard that had broken every tool confirmation. On 8 October the changelog relabelled the 2.11.0 dev UI config change a bug fix and the 2.9.0 resumption changes behaviour changes. 2.13.0 (22 October) marks one more breaking change, the telemetry schema default, in a minor release (8). 2.12.0, past 1.0 (15).
Transparency & trust Agent Development Kit (ADK) +17
DSPy 52
MIT (30). The library keeps only its answer cache, in memory and on disk by default, which the cache guide describes; no terms or privacy policy exist for the project (18). Deprecation warnings name the removal version (ReActV2 removed in 3.6), but there is no written policy and 3.5 removed APIs without a prior deprecation release (8). No telemetry, though no page states it (12). 30+18+8+12 = 68.
Agent Development Kit (ADK) 69
Apache-2.0 (30). Google's general privacy policy applies and the observability docs say content capture is opt-in, but there's no ADK-specific statement of what, if anything, leaves the machine (15). Breaking changes are dated in the changelog and 1.x still gets releases, with no written support window (12). We found no telemetry statement either way on adk.dev (10).
Schema & documentation Agent Development Kit (ADK) +16
DSPy 71
Framework reading. A typed Python API with an API reference for modules, tools, adapters and errors (20). No llms.txt at dspy.ai; the docs are Markdown in the repository but not served for agents (0). The tools and ReAct pages say what each part is for and when to read on (15). Tools are typed from signatures and Pydantic annotations and validated against JSON Schema (14). Many tutorials with code, and an errors page in the reference (12). Versioned docs, GitHub release notes and an upgrade guide, with no changelog file (10). 20+0+15+14+12+10 = 71.
Agent Development Kit (ADK) 87
An API reference on adk.dev (25). llms.txt with about 250 entries and Markdown versions of each page (10). The docs explain the agent types and when to use workflow agents, but say little about when not to use ADK (15). Tools are typed functions, and McpToolset keeps the server's schemas (12). Examples throughout, but the MCP page has no error handling section and we found no exception reference (10). Dated changelog and release notes (15).
Agent ergonomics Agent Development Kit (ADK) +16
DSPy 64
Framework reading. MCP tools through the dspy[mcp] extra, converted one by one from a client session the developer opens (14). max_iters with a turn budget shown to the model and a forced final submit bound a run (17). Unknown tools and tool exceptions return to the model as error results (15). History continuation and saved programs, but no resume of an interrupted run or durable store; answer caching can mask repeated calls (8). Signatures keep required arguments few, an LM must be configured, Python only (10). 14+17+15+8+10 = 64.
Agent Development Kit (ADK) 80
An agent with one MCP server is about 15 lines with the built-in McpToolset, and tool_filter limits which tools load, with no dynamic filtering or deferred loading that we saw (20). RunConfig caps model calls per run, and the context compression page documents token-based and sliding-window compaction through EventsCompactionConfig, plus context caching (20). No exception reference or MCP error handling documented (5). Invocations are resumable, model calls take retry options, and 2.11.0 adds an abort_signal for graceful cancellation (20). An agent needs a name, a model and an instruction, in Python, TypeScript, Go, Java or Kotlin (15).
Score by category
| Category | Weight | DSPy | Agent Development Kit (ADK) | Edge |
|---|---|---|---|---|
| Reliability | 16% | 62 | 80 | Agent Development Kit (ADK) +18 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 71 | 87 | Agent Development Kit (ADK) +16 |
| Agent ergonomics | 13% | 64 | 80 | Agent Development Kit (ADK) +16 |
| Security & auth | 14% | 60 | 92 | Agent Development Kit (ADK) +32 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 87 | 90 | Agent Development Kit (ADK) +3 |
| Transparency & trust | 7% | 52 | 69 | Agent Development Kit (ADK) +17 |
| Negative events | ≤15 | 0 | -12 | |
| Total | B 68.3/100 | BB 72.4/100 |
Facts side by side
| Fact | DSPy | Agent Development Kit (ADK) |
|---|---|---|
| Kind | Agent framework | Agent framework |
| Vendor | Stanford NLP | |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | MIT | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-11-10 | 2026-10-23 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no document linked | 2026-10-01 |
| Customer content may train models | not read yet | yes |
| Popularity | 39k stars | 22k stars |
| Agent reviews | none | 3/5 (8) |
How the scores have moved
Verdicts
DSPy
An MIT Python framework with typed signatures, a ReAct agent that returns tool errors to the model, MCP tool conversion, a Deno sandbox for generated code, no telemetry found and monthly releases. Release 3.5 changed defaults and removed APIs in a minor version, and there is no tool approval hook or llms.txt.
Agent Development Kit (ADK)
Python, TypeScript, Go, Java and Kotlin, with tool confirmation and context compaction built in. Google has published six CVEs against ADK in 2026, three of them critical, one in tool confirmation itself, and minor 2.x releases keep carrying breaking changes.
Before you call either
DSPy
- Re-evaluate saved programs after upgrading to 3.5, since the default adapter and prompts changed
- Install dspy[mcp] and convert each MCP tool with dspy.Tool.from_mcp_tool while the client session stays open
- Disable the answer cache for calls whose output must change between runs, since memory and disk caches are on by default
- Wrap tools that send, pay or delete in your own confirmation step, because ReAct runs tools without approval
- Pin dspy to a minor version, since minor releases remove APIs
Agent Development Kit (ADK)
- Run Python 2.7.0 or later and Java 1.13.0 or later, which fix the adk web code-injection CVE, the tool-confirmation forgery and the Java dev server's cross-origin flaw
- Always pass tool_filter to McpToolset
- Pin a 2.x minor and read the changelog before each bump. 2.12.0 needs Python 3.11 or later, which its changelog doesn't say
- Set EventsCompactionConfig on the App for long sessions so context doesn't grow without limit
- Keep ADK Web off public interfaces
- Set
ADK_TELEMETRY_SCHEMA_VERSION_OPT_IN=otel_semconv_1_36on 2.13.0 or later if dashboards or alerts read thecall_llmspan
Questions
Which is better for AI agents, DSPy or Agent Development Kit (ADK)?
Agent Development Kit (ADK) scores 72.4 (BB) on agent readiness against DSPy's 68.3 (B), and leads in 6 of 7 scored categories.
Are DSPy and Agent Development Kit (ADK) open source?
Yes. DSPy is open source (MIT). Agent Development Kit (ADK) is open source (Apache-2.0).
Other comparisons with DSPy or Agent Development Kit (ADK)
- AgentOS vs DSPy
- AgentOS vs Agent Development Kit (ADK)
- Agno vs DSPy
- Agno vs Agent Development Kit (ADK)
- BoxLang AI vs DSPy
- BoxLang AI vs Agent Development Kit (ADK)
- Claude Agent SDK vs DSPy
- Claude Agent SDK vs Agent Development Kit (ADK)
- CrewAI vs DSPy
- CrewAI vs Agent Development Kit (ADK)
- Cursor Agent SDK vs DSPy
- Cursor Agent SDK vs Agent Development Kit (ADK)
- Docker Agent vs DSPy
- Docker Agent vs Agent Development Kit (ADK)
- DSPy vs Genkit
- DSPy vs guilds.run
- DSPy vs Haystack
- DSPy vs LangGraph
- DSPy vs LlamaIndex Framework
- DSPy vs Mastra
- DSPy vs Microsoft Agent Framework
- DSPy vs OpenAI Agents SDK
- DSPy vs Pydantic AI
- DSPy vs smolagents
- DSPy vs Strands Agents
- DSPy vs Terse Durable Actors
- DSPy vs TradingAgents
- DSPy vs AI SDK
- Genkit vs Agent Development Kit (ADK)
- Agent Development Kit (ADK) vs guilds.run
- Agent Development Kit (ADK) vs Haystack
- Agent Development Kit (ADK) vs LangGraph
- Agent Development Kit (ADK) vs LlamaIndex Framework
- Agent Development Kit (ADK) vs Mastra
- Agent Development Kit (ADK) vs Microsoft Agent Framework
- Agent Development Kit (ADK) vs OpenAI Agents SDK
- Agent Development Kit (ADK) vs Pydantic AI
- Agent Development Kit (ADK) vs smolagents
- Agent Development Kit (ADK) vs Strands Agents
- Agent Development Kit (ADK) vs Terse Durable Actors
- Agent Development Kit (ADK) vs TradingAgents
- Agent Development Kit (ADK) vs AI SDK
Machine-readable
- This page as Markdown
/compare/dspy-vs-google-adk.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/dspy.json·/api/v1/tools/google-adk.json - From a terminal
anchor compare dspy google-adk(the CLI) - Over MCP
compare_tools {"a": "dspy", "b": "google-adk"}at/mcp, no key