# Dapr

Dapr is a portable runtime for building distributed applications across cloud and edge, combining event-driven architecture with workflow orchestration.

Repository: https://github.com/dapr/dapr
Canonical: https://ross.abutalabs.com/products/dapr
Homepage: https://dapr.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: microservices, microservice, kubernetes, sidecar, state-management, event-driven, pubsub, serverless, containers
Last push: 2026-08-26T21:45:51+00:00
Link (homepage): https://dapr.io
Link (site_page): https://docs.dapr.io/
Link (site_page): https://docs.dapr.io/getting-started
Link (site_page): https://docs.dapr.io/developing-applications/building-blocks/service-invocation/service-invocation-overview
Link (site_page): https://docs.dapr.io/developing-applications/building-blocks/pubsub

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 2633, "days_push": 7, "days_rel": 18, "gap_med": 7.0, "n_releases_24m": 57}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 26037, forks 2135 (observed 2026-08-28T04:11:38.822575+00:00)

## What it is
Dapr is a portable, CNCF-graduated distributed application runtime that runs as a sidecar and exposes building-block APIs for service invocation, pub/sub, state management, actors, workflow orchestration, jobs, and agentic AI. It decouples application code from underlying infrastructure so microservices and durable AI agents run portably across cloud and edge environments.

## Use cases
- build resilient microservices with built-in service discovery and retries
- orchestrate durable long-running workflows that survive crashes
- add pub/sub messaging between services without vendor lock-in
- manage state across clouds with pluggable state stores
- build durable AI agents that recover from failures
- schedule jobs and automate business processes in code
- run event-driven applications on Kubernetes and edge
- implement the virtual actor pattern for stateful services

## When to choose
- you're building microservices on Kubernetes and want infrastructure-agnostic APIs
- you need durable workflow execution with tamper-evident history
- you want to swap message brokers or state stores without changing app code
- you're building AI agents that must survive failures and resume progress
- you want built-in security, tracing, and resiliency without boilerplate

## When to avoid
- you have a simple monolith or single-service app with no distributed needs
- you can't run a sidecar (e.g., some serverless or managed platforms)
- your team can't take on an additional runtime dependency and learning curve
- you need direct, fine-grained control over broker or database features

## Facets
- artifact type: framework
- maturity: stable
- function: microservices, message-queue, caching, workflow-automation, rpc, state-management, agent-framework, scheduling, secrets-management, middleware
- domain: microservices, cloud-computing, developer-tools, backend
- platform: go, cross-platform, cloud, self-hosted, serverless
- tags: sidecar, dapr, pubsub, event-driven, durable-execution, actors, service-invocation, cncf, workflow-orchestration, edge-computing, containers, ai-agents, kubernetes, docker

## Member repositories
- dapr/dapr (main) score 99
- dapr/dotnet-sdk (sdk) score 98
- dapr/quickstarts (examples) score 86
- dapr/docs (docs) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:38.822575+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:55:56.101254+00:00, confidence not recorded.
  - readme: https://github.com/dapr/dapr (fetched 2026-08-28T04:11:38.822575+00:00, sha e3eb5fe209b8)
  - homepage: https://dapr.io (fetched 2026-08-29T07:52:31.063052+00:00, sha 635ae88953af)
  - site_page: https://docs.dapr.io/ (fetched 2026-08-29T07:52:31.085483+00:00, sha 732a83c17a84)
  - site_page: https://docs.dapr.io/getting-started (fetched 2026-08-29T07:52:31.106036+00:00, sha 7841cc65ccf0)
  - site_page: https://docs.dapr.io/developing-applications/building-blocks/service-invocation/service-invocation-overview (fetched 2026-08-29T07:52:31.108207+00:00, sha 7d0bdcf0b7e1)
  - site_page: https://docs.dapr.io/developing-applications/building-blocks/pubsub (fetched 2026-08-29T07:52:31.110315+00:00, sha 87014b14ec94)
  - site_page: https://docs.dapr.io/developing-applications/building-blocks/state-management/state-management-overview (fetched 2026-08-29T07:52:31.112200+00:00, sha 0e8062c16f22)
  - site_page: https://docs.dapr.io/developing-applications/building-blocks/actors/actors-overview (fetched 2026-08-29T07:52:31.114447+00:00, sha 0694401cf40d)
  - site_page: https://docs.dapr.io/developing-applications/building-blocks/workflow (fetched 2026-08-29T07:52:31.116390+00:00, sha f96036178460)
  - site_page: https://docs.dapr.io/developing-applications/building-blocks/jobs (fetched 2026-08-29T07:52:31.118115+00:00, sha e039d70677c8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
