dapr/dapr-agents

Build durable, autonomous, resilient and observable AI agents with built-in workflow orchestration, security, statefulness and telemetry.

Dapr Agents is an open-source, vendor-neutral developer framework for building production-grade AI agent systems that run at scale. Built on top of the battle-tested Dapr project, it helps you create AI agents that use large language models (LLMs) to reason, act, and collaborate — while Dapr handles the underlying reliability, observability, and workflow orchestration.

What does it do?

  • Scale & efficiency: Run thousands of agents on a single core. Dapr transparently distributes single- and multi-agent apps across clusters and manages their lifecycle.
  • Workflow resilience: Automatically retries agentic workflows and guarantees they complete, even after crashes or network interruptions.
  • Kubernetes-native: Easy deployment and management in Kubernetes environments.
  • Data-driven agents: Connect to dozens of enterprise data sources — from databases to PDFs — with minimal code changes.
  • Multi-agent systems: Secure and observable by default, enabling smooth collaboration between agents.
  • Vendor-neutral: No lock-in; runs on any cloud or on-premises infrastructure.
  • Platform-ready: Scoped access and declarative resources for platform teams.

Why it's different

  • Durable workflows: Uses Dapr's workflow engine so tasks are guaranteed to finish, even if a node crashes — state is recovered from where it left off.
  • Cost-efficient: Uses Dapr's virtual actor model, letting agents scale to zero when idle and spin up on demand — no trade-off between performance and cost.
  • Built-in messaging & state: Service-to-service invocation, publish/subscribe, durable workflows, state management, and actors are all included out of the box.
  • Auto-discovery of MCP tools: If your Dapr sidecar has MCP server resources loaded, Dapr Agents automatically discovers and wires in their tools — no manual configuration needed.
  • Integrated security & reliability: Applies Dapr's resiliency policies (timeouts, retries, circuit breakers) and uses mTLS for communication encryption.

Status & roadmap

  • Currently the Python language support is in development, with stable status expected in Q4 2025. Other languages are TBD.
  • For the latest planned features, see the project view and issues.

Getting started (quick view)

  • Prerequisites: Dapr CLI, Python ≥3.11, and uv.
  • Install: dapr init, then uv add dapr-agents.
  • Explore the quickstarts and examples (including a crash‑resilient deep‑research agent example).

Community

Related

  • Project
  • Project
  • Dispatch
  • Project
  • Dispatch