87 dapr actors workflows
In this section
- Extend Your Dapr SkillExtend your existing Dapr skill with actor and workflow patterns using official documentation
- JIT Chapter 87: Dapr Actors & WorkflowsBuild stateful agents with virtual actors and durable workflows
- The Actor ModelUnderstand the Actor Model (Hewitt, 1973) as the conceptual foundation for building scalable, stateful AI agents with turn-based concurrency and message-passing
- Hello Actors - Your First ActorCreate, register, and invoke your first Dapr Virtual Actor using Python and FastAPI, establishing the foundation for building stateful AI agent systems
- Chat Actor - Stateful ConversationsBuild a ChatActor that maintains conversation history with Dapr pub/sub integration for message-driven AI agent interactions
- Actor State ManagementMaster actor state persistence with _state_manager, lifecycle hooks, and turn-based concurrency guarantees
- Timers and RemindersImplement actor timers for lightweight scheduling and reminders for persistent, durable scheduling that survives actor deactivation and system restarts
- Actor Communication PatternsImplement actor-to-actor communication via ActorProxy for coordination patterns including parent-child delegation and peer-to-peer collaboration
- Event-Driven ActorsIntegrate Dapr actors with pub/sub topics and bindings for reactive, event-driven agent patterns. Learn when to trigger actors from external events vs internal messages.
- Actors ObservabilityConfigure distributed tracing with Zipkin and Jaeger, monitor actor metrics with Prometheus, and apply debugging strategies for production actor systems
- Dapr Workflows OverviewUnderstand durable workflow execution, event sourcing, and when to use workflows vs actors for AI agent orchestration
- Workflow ArchitectureUnderstand how Dapr Workflows achieve durability through replay-based execution, state persistence, and strict determinism requirements
- Authoring WorkflowsLearn to implement workflow functions and activities using dapr-ext-workflow, set up WorkflowRuntime, and orchestrate multi-step processes with durable execution
- Managing WorkflowsMaster workflow lifecycle operations: starting, querying, raising events, and cleaning up workflow instances using both Python SDK and CLI
- Workflow Patterns: Chaining & Fan-OutMaster task chaining for sequential data pipelines and fan-out/fan-in for parallel processing with result aggregation in Dapr Workflows
- Workflow Patterns: Saga & MonitorImplement saga pattern with compensation activities for transactional consistency and monitor pattern with continue_as_new for eternal workflows
- Combining Actors with WorkflowsDesign hybrid systems using actors for entity state and workflows for orchestration to build stateful, fault-tolerant agent systems
- Multi-App WorkflowsImplement cross-service workflow orchestration using Dapr's multi-app workflow capabilities, calling activities and child workflows across different services while handling distributed failure scenarios
- Namespaced Actors for Multi-TenancyConfigure Dapr actors for multi-tenant SaaS deployments with namespace isolation, separate state stores, and tenant-safe placement
- Actor Security EssentialsSecure actor state with encryption at rest, verify mTLS for actor-to-actor communication, implement API token authentication, and configure audit logging for production actor deployments.
- Capstone: Stateful Task Agent with WorkflowsBuild a complete Digital FTE by integrating TaskActor for entity state, ChatActor for conversations, and TaskProcessingWorkflow with saga compensation on Docker Desktop Kubernetes
- Finalize Your Dapr SkillComplete your dapr-deployment skill with actor and workflow patterns, validate code generation, and document your Digital FTE component