# Dapr FAQ: Durable Execution, Workflows, and AI Agents

Short answers to common questions about Dapr, with links to the Dapr docs for the details.

## What is Dapr?

Dapr is the durable execution engine for workflows and AI agents. It provides APIs for building event-driven architectures. Each Dapr building block, such as workflows, service invocation, publish and subscribe, or state management, is an HTTP or gRPC API that your code calls and that uses one or more Dapr components.

[Learn about the building blocks](https://docs.dapr.io/concepts/building-blocks-concept/)

## What is durable execution?

Durable execution is the guarantee that your code runs to completion despite crashes, restarts, and outages. Dapr is built around durable execution: at its core is a workflow engine that orchestrates long-running business processes and powers durable AI agents.

[Read the Dapr concepts](https://docs.dapr.io/concepts/)

## Is Dapr a workflow engine?

Dapr includes one: Dapr Workflow is a durable execution engine, and you write workflow logic as ordinary code with a Dapr SDK. Dapr persists the result of each completed step and resumes the workflow from the last completed step after a crash, a restart, or a redeployment. Workflows can also orchestrate other Dapr building blocks, such as service invocation, pub/sub, state management, and bindings.

[Read the workflow overview](https://docs.dapr.io/developing-applications/building-blocks/workflow/workflow-overview/)

## How does Dapr help build AI agents?

Dapr Agents is a Python framework for building AI agents powered by large language models (LLMs) using Dapr's distributed systems capabilities. Its agents can execute durable tasks, make decisions, and collaborate through workflows, while using Dapr's state management, messaging, and observability features. Dapr Agents v1.0 is generally available and production ready.

[Explore Dapr Agents](https://docs.dapr.io/developing-ai/dapr-agents/)

## What is the Dapr MCP server?

The Dapr MCP server (alpha) is a standalone Model Context Protocol (MCP) server that runs next to a Dapr sidecar and turns the sidecar's building blocks, such as state, pub/sub, bindings, secrets, and service invocation, into tools that any MCP client can call. It is a separate binary with its own release cycle, not a feature of the Dapr sidecar itself. The Dapr MCP server is in alpha, so tool names, inputs, and configuration may change in a future release.

[Read about the Dapr MCP server (alpha)](https://docs.dapr.io/developing-ai/mcp/dapr-mcp-server/)

## Does Dapr require Kubernetes?

No, but most organizations do run Dapr on Kubernetes in production. Dapr can run in self-hosted mode on your local developer machine or on production virtual machines, where each running service has a Dapr sidecar process. Self-hosted mode can be initialized with Docker, which is the default, or in slim-init mode, and it can also run in offline or airgapped environments.

[See the hosting options](https://docs.dapr.io/operations/hosting/)

## Which programming languages does Dapr support?

Dapr has stable SDKs for .NET, Python, Java, Go, PHP, and JavaScript, and SDKs for C++ and Rust are in development. Depending on the language, an SDK provides client, server extension, actor, and workflow packages for working with the Dapr APIs. From any language, your code can also call the Dapr HTTP or gRPC APIs directly.

[Browse the Dapr SDKs](https://docs.dapr.io/developing-applications/sdks/)

## How do I add Dapr to an existing application?

Dapr runs as a separate process, the Dapr sidecar, alongside your application, and your application calls the Dapr APIs over local HTTP or gRPC endpoints. When you develop locally, the Dapr CLI run command launches the sidecar together with your application. On Kubernetes, the Dapr sidecar injector adds the sidecar to pods that have the dapr.io/enabled annotation.

[Read about the Dapr sidecar](https://docs.dapr.io/concepts/dapr-services/sidecar/)

## Is Dapr production ready, and who uses it?

Yes, Dapr has been production ready for years. Dapr is a graduated project of the Cloud Native Computing Foundation (CNCF). Organizations describe how they use Dapr on the CNCF case studies page.

[Read the case studies](https://www.cncf.io/projects/dapr/)

## Is Dapr free and open source?

Yes. Dapr is open source software licensed under the Apache License, Version 2.0, and its source code is on GitHub.

[View Dapr on GitHub](https://github.com/dapr/dapr)

## Where can I get commercial support?

Companies in the Dapr ecosystem offer commercial support, managed services, and enterprise distributions for running Dapr in production. The Dapr enterprise page lists these offerings.

[See enterprise solutions](https://dapr.io/enterprise/)

