News for hackers. Stuff that matters.

yaronsc

We added hash-chained workflow histories to Dapr Workflows (a Durable Execution engine).

Each batch of workflow events is cryptographically linked to the previous batch and signed using the SPIFFE workload identity that produced it. This makes workflow histories tamper-evident and allows verification of execution integrity, provenance, and identity.

The docs cover the design, verification model, and implementation details.

Happy to answer questions about the architecture or tradeoffs.

I'm the creator of the Dapr CNCF project, happy to answer any questions.
One pattern we've seen while building AI agents is that developers often have to make a frustrating choice between agent frameworks and workflow engines.

Frameworks like LangGraph, Strands, CrewAI, ADK, etc. already implement reasoning loops, tool execution, retries, and memory. But they typically don't provide durable execution—if the process crashes, the agent will restart from scratch. Some have very basic checkpoint systems that leave failure detection and resumption to the user, which is essentially the hard problem workflow engines solve.

The problem with workflow engines is they handle durability well but require developers to rewrite their agent logic inside the workflow system, which means rebuilding the agent framework from scratch.

This work aims to remove that tradeoff by allowing existing agent frameworks to get all the benefits of a durable workflow orchestrator without rewriting any part of their code.

Re:Go-Native Durable Execution on Monday March 02, 2026 @11:29AM (#47220181)
Thank you! :) (Dapr maintainer here)
Re:Checkpoints Are Not Durable Execution in Agent Frameworks on Thursday February 26, 2026 @11:17AM (#47168073)
Hi everyone, I performed a deep analysis of the code, runtime behavior and architecture of many popular agent frameworks and decided to publish a post with some initial findings on what I perceive to be critical gaps when it comes to guaranteed execution in real world scenarios, that shift the hardest problems to the users. Happy to discuss further
This is a way to give developers and semi-technical people a way to generate and run code-first workflows using a visual language, be it UML or otherwise. We will be expanding support for text prompts in the future
Very much so, and in next iterations we will be expanding the scope both in what the generated code does as well as the ways to prompt
Definitely fair feedback, we will look into it
1. A user can always go into the generated code and make changes to it. The code generated includes explanations for what each step in the workflow does

2. Dapr has 9 APIs, one of which is Workflows which indeed competes with Temporal. Dapr Workflows isn't DAG based, it's code-first. This tool allows you to start with an external representation

Great point. Our tool does UML/BPMN as well as regular drawn diagrams without a specific notation, and will soon expand into regular prompts
Dapr is a code-first workflow engine that doesn't require a DSL language and includes many other integration points like pub/sub, service discovery and more. It also runs and deploys natively on K8s
Thanks for the response! What you're saying about embedding and enriching existing code based is definitely next level and I'll bring it back to the team to explore
Great idea and a work in progress :)
Hi thanks for your question. You wrote "more or less" and that's very accurate - the generated code by just feeding it to any LLM provider usually doesn't work out of the box, includes many hallucinations and also doesn't provide a solution that can be immediately downloaded and run in your IDE

Show HN: Turn any workflow diagram into compilable, running and stateful code

https://workflows.diagrid.io/

Hi HN folks, I'm a co-creator of the Dapr CNCF project and co-founder of Diagrid. Today we announced a free-to-use web app that takes any form of workflow diagram (UML, BPMN, scribble in your favorite drawing tool or even on paper) and generates code that runs in any IDE and that can be deployed to Kubernetes and other container based systems, based on Dapr's durable execution workflow engine....

( Read More... | 33 comments | on HN )

Show HN: Document agent example that can parse and chat over unstructured data

https://github.com/dapr/dapr-agents/tree/main/quickstarts/06-document-agent-chainlit

Hi all, Dapr maintainer here. We've added a new example that shows how you can build a conversational agent that can upload, parse and understand complex documents, while retaining long-term memory. The example also shows how the agent can upload the file to multiple storage providers. Would be great to get your feedback.

( Read More... | no comments | 2 points | on HN )
Re:Show HN: New Agentic AI Framework in CNCF on Thursday March 27, 2025 @07:55AM (#43492650)
Will take a look, thanks!
Re:Show HN: New Agentic AI Framework in CNCF on Wednesday March 26, 2025 @12:27PM (#43483959)
Good suggestion, thank you
Re:Show HN: New Agentic AI Framework in CNCF on Wednesday March 26, 2025 @12:14PM (#43483791)
Dapr's state management API supports more than 20 different databases, with the ability to stream data at high scale right into the agent tasks. That's a major differentiator as you can plug in almost any database and message bus into Dapr Agents.

We wanted to create a vendor neutral framework that doesn't over pivot on features that are tied to the backing of a commercial product. The other and no less important point is the ecosystem that Dapr has around messaging and state integrations. A lot of the Agentic AI frameworks you see today will not withstand a restart of the process,let alone complete cluster shutdown. Dapr has durability built-in to handle these catastrophic failures

Re:Show HN: New Agentic AI Framework in CNCF on Wednesday March 26, 2025 @12:09PM (#43483723)
Benchmarks are WIP. We're thinking about durability, task latency, agent throughput. What else would you like to see?
Re:Show HN: New Agentic AI Framework in CNCF on Wednesday March 26, 2025 @12:08PM (#43483717)
Makes total sense and we have this as WIP

Show HN: New Agentic AI Framework in CNCF

https://github.com/dapr/dapr-agents

Hi, I'm a Dapr CNCF project maintainer. We've recently released Dapr Agents which provides agentic AI features together with built-in durable execution to guarantee statefulness and reliable agentic workflows that run to completion and retry upon failure. It runs natively on Kubernetes, has built-in OTEL integration and uses a lightweight architecture where agents scale to zero, allowing you to...

( Read More... | 10 comments | 16 points | on HN )

Show HN: CNCF announces Dapr Agents, a vendor-neutral AI framework

https://github.com/dapr/dapr-agents

Hi all, I'm the creator and maintainer of Dapr. Today we announced an agentic AI framework that allows developers to run thousands of agents on a single core that can scale to/from zero with minimal latency, with a durable execution engine that supports automatic retries. Us maintainers would very much appreciate your feedback

( Read More... | 2 comments | 8 points | on HN )

Older »