← Back to Leaderboard
Ddapr

dapr/dapr-agents

Python agent SDK with recoverable Dapr workflows and sidecar-discovered MCP tools

Engineering Health (Methodology)
A+ · 94/100
Maintenance Activity
● Updated today
Latest Release
v1.1.1
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence20/20
License Clarity20/20
Self-HostedMCP
Total Stars
★ 783
24h Growth
+1
7d Growth
+5
Forks
172

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

dapr/dapr-agents Star History (2025-01-13 - 2026-12-04) ALL-TIME STAR HISTORY (2025-01 – 2026-12) +782 in 690d · avg +1/day 827 414 0 2025-01-13: ★ 12025-03-01: ★ 12025-04-12: ★ 3052025-05-24: ★ 3852025-07-05: ★ 4342025-08-16: ★ 5022025-09-27: ★ 5372025-11-08: ★ 5622025-12-20: ★ 5762026-01-31: ★ 5992026-03-14: ★ 6222026-04-25: ★ 6582026-06-06: ★ 6862026-07-18: ★ 7112026-08-29: ★ 7422026-10-10: ★ 7602026-12-04: ★ 783 ★ 783 2025-01 2025-12 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Dapr Agents is a Python SDK layered on the Dapr runtime. A DurableAgent receives a workflow runtime; Dapr Workflow uses virtual actors underneath to persist execution progress and resume orchestration after interruptions. The sidecar exposes service invocation for synchronous calls, pub/sub for event-driven handoffs, and state stores for application data such as agent context. Workflow progress and conversational context serve different purposes and should have separate retention requirements even if they share infrastructure.

MCP integration follows the same runtime boundary. At initialization the agent reads sidecar metadata for loaded MCPServer resources. Before the first turn, DaprMCPClient enumerates tools; discovered tools are registered as workflow tools, and each invocation schedules a child workflow. AgentMCPConfig controls discovery, or callers can wire specific servers and pass converted tools explicitly. The project builds with setuptools and setuptools_scm, and separates SDK code in dapr_agents/ from quickstarts/, examples/, schemas/ and tests/.

Key Capabilities & Differentiators

The SDK combines multi-provider LLM integration, structured outputs, contextual memory, prompt configuration and tool selection with persistent workflow orchestration. Deterministic workflow steps can sit alongside model-driven decisions in a single run. Dapr bindings and state-store components connect workflows to structured and unstructured data, while distributed tracing helps operators follow work across service boundaries.

MCP tool discovery is enabled by default. With no allowed_tools filter, all tools discovered on loaded servers are eligible for registration. The default 30-second timeout applies per server to ListTools; it is not a tool execution timeout. Dapr also exposes resilience policies such as timeouts, backoff and circuit breakers, plus access scoping for components. Those infrastructure controls complement, rather than replace, authorization for what an agent can do with a registered tool.

Trade-offs & Limitations

Compared with an in-process agent library or direct model API calls, Dapr Agents makes persisted execution and cross-service coordination part of the runtime. That is valuable when restarting an entire run would be expensive, or when work needs to continue across service restarts. It adds sidecar and backend operations, more network boundaries, and more work to diagnose failures. For a single request-response agent whose work can simply be retried from scratch, those costs can outweigh the durability benefit.

Workflow recovery is not a guarantee of task success or exactly-once external effects. Give write-capable tools stable operation identifiers or make them idempotent, define what happens when retry budgets are exhausted, and test interruption around side effects. Restrict MCP tool registration in production rather than relying on the default broad discovery. Size against concurrent runs, state traffic, and model and tool latency; neither the actor architecture nor a successful local quickstart establishes production throughput.

Hardware & Deployment Guide

For a local evaluation, use the Dapr CLI, uv and a Python version within the package's declared range (>=3.11,<3.15). The documented sequence is dapr init, uv init, and uv add dapr-agents. Start with quickstarts/, then use examples/14-durable-deep-agent to exercise crash recovery. For a self-hosted Kubernetes rollout, plan for the Python application, its Dapr sidecar and a workflow-compatible state backend. Configure pub/sub and MCPServer resources where used, and provision access to the selected model service. Self-hosting orchestration alone does not provide offline inference.

The v1.1.1 release updated locked dependencies with high and critical advisories and pinned CI actions to commit SHAs. Those changes are a reason to check the resolved dependency graph in your own deployment, not evidence that every deployed environment is patched. Version 1.1.0 also added redisvl to the vectorstore extra and fixed a case where a later turn reused a tool_call_id and earlier tool results were not retained. The vectorstore change does not make Redis a baseline prerequisite.

Durable execution: Dapr Workflow persists execution state and supports retries and resumption after interruptions.
MCP discovery: DaprMCPClient lists tools before the first turn, with a default 30-second discovery deadline per server.
Tool execution: Auto-discovered MCP calls run as child workflows; teams can restrict registration with an allowlist or opt out.
Agent coordination: Service invocation supports synchronous calls, while pub/sub supports event-driven coordination across agents.
Platform controls: Dapr provides tracing, mTLS at the communication layer, component access scopes and configurable resilience policies.
Runtime compatibility: The Python package declares >=3.11,<3.15; local quickstarts start with the Dapr CLI and uv.
Best For

Teams already operating Dapr, or willing to adopt it, whose long-running research or document workflows must resume after restarts and coordinate across services.

Skip If

Your agent serves short, stateless requests, retrying from scratch is acceptable, or the team cannot take on sidecar and workflow-state operations.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

Self-HostedMCP
dapr init
uv init
uv add dapr-agents

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
dapr-agents ★783+5PythonApache-2.0Python agent SDK with recoverable Dapr workflows and sidecar-discovered MCP tool
browser-use122.7k+477PythonMITPython REPL and CDP for adaptive browser automation
langgraph45.8k+293PythonMITPython graph orchestration for stateful, resumable agents and workflows
langchain150.4k+290PythonMITModular Python framework for building agents across model providers

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/dapr/dapr-agents.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

dapr/dapr-agents Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about dapr-agents

How does an agent discover and invoke MCP tools?

At initialization, the agent reads sidecar metadata to find loaded MCPServer resources. Before the first turn, DaprMCPClient lists their tools. Registered tools invoke MCP calls through child workflows. Use AgentMCPConfig.allowed_tools to limit registration, disable discovery entirely, or register tools explicitly with DaprMCPClient.

Do I need a GPU, and what should I size for?

There is no fixed GPU or VRAM requirement for the orchestration layer. With remote inference, size the Python process, Dapr sidecar and workflow state backend for expected concurrency, then measure model and tool latency separately. If you host inference yourself, size GPU memory for the chosen model and serving workload, not for the agent SDK.

Can I use Dapr Agents commercially and self-host it?

Yes. Apache-2.0 permits commercial use and self-hosting, with license and notice obligations when redistributing covered software. Self-hosting the runtime does not make model or tool traffic local: model provider terms, MCP server licenses, and rules for sending data to external services need separate review.

When is this a better fit than an in-process agent SDK or a direct model API?

Choose Dapr Agents when runs must survive process restarts or when agents need to coordinate through shared state and messaging infrastructure, especially if Dapr is already deployed. An in-process SDK or a direct model API is simpler for short, request-scoped tasks where restarting the entire operation is acceptable.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining dapr/dapr-agents? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature dapr/dapr-agents on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare