Dapr 1.18 adds tamper-evident records for AI workflows
· Do Minh Tuan · Developer Corner 💻
Dapr 1.18 has shipped with a feature set called Verifiable Execution, which brings cryptographic trust and tamper-evident records to distributed applications and AI workflows. The release came from Diagrid.
Dapr, if you have not run into it, is a runtime that sits beside your services and handles the plumbing they all need: talking to databases, message queues, external APIs. Instead of every service implementing its own connector, you plug into Dapr and it does the translation.
The new part is a record of what happened that can be checked afterward. Someone changed a record, the math stops adding up, and you know.
That sounds like an audit feature, and it is. It is also the kind of feature that only becomes interesting when something goes wrong, which is exactly why it gets skipped.
Why AI agents make this urgent
A normal service does what its code says. You can read the code and know what it will do. An agent decides at runtime, using a model, based on whatever text it just read. The decision path is not reproducible in the way a function call is.
So when an agent approves an expense, changes a record, or triggers a payment, the question 'why did this happen' has no clean answer. You have logs, and logs are only as trustworthy as the system that wrote them. Anyone with access can edit them.
A tamper-evident trail changes that. What it adds is provability. If a customer disputes what your system did, or an auditor asks whether a decision was altered after the fact, you can show a record that would reveal interference.
For anyone selling an AI feature into a regulated industry, that is not a nice-to-have. It is the difference between a pilot and a contract.
What 'verifiable' does not mean
I want to be careful here, because the word carries more weight than the technology usually does.
A tamper-evident record proves that the record has not been changed since it was written, and nothing more. It does not prove the record is complete, that the decision was correct, or that the inputs were honest. If the agent was fed a poisoned document, the trail will faithfully record a bad decision made from bad input.
That is still useful. It narrows the argument from 'what did the system do' to 'was the input trustworthy', which is a question you can actually investigate. But teams should not hear 'verifiable' and assume 'correct'.
The second thing to check is key management. Cryptographic guarantees depend on who holds the keys and who can rotate them. If the same team can write the record and sign it with an unmonitored key, you have added ceremony without adding much trust. The value comes from separation: the application writes, something else signs, and the signing key is not sitting in the same environment as the app.
The announcement's pitch is that this saves you from building custom audit logging, which is true and also incomplete. You still have to decide what to record, how long to keep it, who can read it, and how to delete it when a customer asks.
And every signed record has a cost: storage, compute, and a bit of latency. For most applications I would expect that to be negligible. For a high-volume pipeline, it is a number I would measure before switching it on everywhere.
Dapr's advantage is that it sits at the boundary where these calls already happen. Configuring the state store to record transactional changes is a smaller job than retrofitting logging into every service by hand. That is the real argument for using the runtime here: the insertion point is convenient, and the cryptography does not need to be novel. Logging at the boundary also means the record matches what actually crossed it, rather than what a service believed it sent.
Who should care
If you are building an AI agent that touches money, customer records or anything with a regulator attached, this belongs on your shortlist. I think provenance will be asked for, and building it later is much more expensive than designing it in.
If you are running three microservices behind a CRUD app, this is overkill. The cost of a runtime you do not need is a second thing to operate and a second place to look when something breaks. You need logs and backups, not signed execution records. Adding a runtime to get a feature you do not need is how small systems become complicated.
The middle case is the interesting one: a product team adding an AI feature to an existing platform that already has compliance obligations. Dapr is already a reasonable fit for that architecture, and picking up verifiable execution while you are there is cheaper than bolting on a separate audit product.
What I would ask first is where the keys live and who can rotate them. Then what happens to verification if a key is compromised. If the answer is that you lose the trail, the feature is weaker than the pitch, and I would want that stated before the security review rather than during it.
I would also measure the overhead per transaction at real volume instead of accepting an estimate. And I would look at the record the way an incident responder would at 2am. If it needs a specialist to read, it will not be used, and an unread audit trail is just storage.
My view is that provenance will follow the path of encryption at rest: a differentiator first, then a checkbox. I expect the teams that build it early will have an easier time when a customer asks. What I would watch next is whether an auditor accepts a Dapr record without a custom report wrapped around it.
Written with AI assistance, reviewed and edited by Do Minh Tuan.