Dapr is an open-source distributed application runtime written in Go that enables developers to build microservices, workflows, and AI agents across cloud and edge environments. The project functions as a sidecar that provides a consistent set of APIs accessible over HTTP and gRPC, eliminating the need for language-specific frameworks and allowing applications written in .NET, Java, Python, Go, JavaScript, TypeScript, and Rust to access its capabilities without framework lock-in.
The runtime addresses core challenges in distributed systems by providing durable execution for workflows and AI agents that automatically persist progress and resume from the last completed step after failures such as process crashes, pod restarts, node failures, or rolling deployments. This capability means applications do not restart from the beginning when infrastructure interruptions occur. Dapr's workflow system allows developers to author long-running processes as ordinary code in their language of choice, with automatic recovery handled by the runtime without requiring additional database or state-machine code.
Security is built into Dapr's architecture rather than added as an afterthought. Every application receives a cryptographically verifiable identity, with mutual TLS protecting all service-to-service traffic. The runtime provides workload identity and authentication, fine-grained authorization policies, secret management integration with external vaults, and automatic certificate issuance and rotation. This zero-trust communication model allows platform teams to enforce least-privilege access controls across entire environments.
The platform offers a comprehensive set of distributed application APIs including service invocation with built-in retries and observability, state management across dozens of stores without database coupling, pub/sub messaging with at-least-once delivery guarantees, actor-based stateful applications, conversation APIs for LLM integration with prompt caching and tool calling, bindings for external system integration, secrets management, configuration management, distributed locking, cryptography operations, and job scheduling. All these capabilities work identically across Kubernetes, AWS, Azure, Google Cloud, virtual machines, bare metal, edge environments, and air-gapped deployments.
Dapr is a graduated Cloud Native Computing Foundation project used by organizations worldwide for mission-critical applications. The runtime is lightweight, consuming approximately 58MB of binary size and 4MB of memory, and requires no application code changes when moving between platforms. The project emphasizes incremental adoption, allowing teams to integrate Dapr APIs one at a time while maintaining complete portability across infrastructure providers and deployment environments.