Better HN
topnewbestaskshowjobs
Log inSign up

yaronsc

68 karma · joined Oct 16, 2019 (7y ago) · 36 submissions

Submissions

1.

Pay-as-you-go is the wrong model for durable execution(medium.com ↗)

1 points · by yaronsc · 2mo ago · discuss

2.

Why Temporal Isn't Enough(diagrid.io ↗)

1 points · by yaronsc · 5mo ago · discuss

comment 5mo ago · link · parent

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.

4.

We built hash-chained workflow histories to make agent execution tamper-evident(v1-18.docs.dapr.io ↗)

2 points · by yaronsc · 5mo ago · 1 comment

5.

Verifiable Execution: Proving How Work Happened in Workflows and Agents(cncf.io ↗)

2 points · by yaronsc · 5mo ago · discuss

comment 8mo ago · link · parent

I'm the creator of the Dapr CNCF project, happy to answer any questions.

comment 8mo ago · link · parent

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.

8.

Running LangGraph, CrewAI, Google ADK with Durable Workflows(docs.diagrid.io ↗)

1 points · by yaronsc · 8mo ago · 2 comments

comment 8mo ago · link · parent

Thank you! :) (Dapr maintainer here)

comment 9mo ago · link · parent

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

11.

Checkpoints Are Not Durable Execution in Agent Frameworks(diagrid.io ↗)

4 points · by yaronsc · 9mo ago · 1 comment

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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

comment 1y ago · link · parent

Definitely fair feedback, we will look into it

comment 1y ago · link · parent

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

comment 1y ago · link · parent

Great point. Our tool does UML/BPMN as well as regular drawn diagrams without a specific notation, and will soon expand into regular prompts

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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

comment 1y ago · link · parent

Great idea and a work in progress :)

comment 1y ago · link · parent

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

21.

Show HN: Generate code-first workflows using diagrams(workflows.diagrid.io ↗)

3 points · by yaronsc · 1y ago · discuss

22.

Show HN: Turn any workflow diagram into compilable, running and stateful code(workflows.diagrid.io ↗)

109 points · by yaronsc · 1y ago · 33 comments

23.

Show HN: Document agent example that can parse and chat over unstructured data(github.com ↗)

15 points · by yaronsc · 1y ago · discuss

comment 1y ago · link · parent

Will take a look, thanks!

comment 1y ago · link · parent

Good suggestion, thank you

comment 1y ago · link · parent

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

comment 1y ago · link · parent

Benchmarks are WIP. We're thinking about durability, task latency, agent throughput. What else would you like to see?

comment 1y ago · link · parent

Makes total sense and we have this as WIP

29.

Show HN: New Agentic AI Framework in CNCF(github.com ↗)

23 points · by yaronsc · 1y ago · 10 comments

12