Why "safe and secure" is the part of enterprise AI we should be talking about
A few weeks ago I was having coffee with someone who does data protection for a living. A DPO, one of those people whose job it is to lose sleep over where your data goes and who gets to see it. And she said something that stuck with me. She said: “Rik, everyone keeps telling me their AI is smart and fast. Nobody can tell me it’s safe.”
And she’s right. I hear it constantly - and it bothers me. I started my career in security / identity management, and I really can’t get my head around the fact that the whole enterprise AI conversation has become a race about precision and efficiency, about who has the smartest model and who burns the fewest tokens. Which is important. Those things matter. But for the people who actually have to sign off on putting an AI agent anywhere near real company data, that is not the only interesting question. The interesting question is: what happens when this thing goes into my CRM, my ticketing system, my HR records, and starts answering questions and taking actions? Can I trust it not to do something stupid, or something dangerous?
So I wanted to write down, as clearly as I can, why I think the DevRev approach to this is genuinely different. Not “we take security seriously” different, because everybody says that. Architecturally different.
The thing most people get wrong about AI security
Here’s the thing. When you connect an AI agent to your enterprise systems, the big risk isn’t really that the model says something rude. The big risk is that it sees, or does, something it shouldn’t.
And the way most AI tools handle this is what I’d call reactive. The agent goes and fetches the data, all of it, into its context. Then, on the way out, a filter tries to catch anything the user wasn’t supposed to see. Guardrails on the output. Redaction after the fact.
Think about that for a second. The data was already retrieved. It already lived in the model’s working memory, however briefly. You are now in the business of proving that your filter caught everything. And if you’ve ever watched Microsoft Copilot accidentally surface someone’s salary or a document they were never meant to open, you know how well that goes. That whole class of “permission leak” problem comes from exactly this: access control that happens too late.
The distinction sounds academic but it’s the whole ballgame. “We filtered it out of the answer” is a much weaker position than “it was never retrieved in the first place.” One of them you have to prove worked, every single time, for every possible edge case. The other one just, structurally, cannot happen.
Enforce it at the data layer, before the model
This is where DevRev does something I think is genuinely clever, and it comes straight out of the fact that the whole platform is built around a knowledge graph. A shared memory of your business, assembled before the AI ever gets asked a question.
Because the data lives in that structured layer, permissions can be enforced there. At query time. Before anything reaches the model.

So when I ask Computer something, the agent inherits my exact permission scope. Field-level permissions, inherited from the source systems themselves, so if a field is restricted in your Salesforce or your ServiceNow, it stays restricted here. And crucially, the check is dynamic, evaluated on every single query, not cached when my session starts.
The result: data I’m not allowed to see is never fetched, never turned into tokens, never reasoned over. Not filtered afterwards. Not in the context at all. If an SDR can’t see a contract value in the CRM, Computer can’t see it either, let alone accidentally leak it to them. No shortcuts, no workarounds.
And this is the bit I really like, because it’s the honest answer to the scariest question in AI security right now: what about prompt injection? What if someone crafts a clever prompt to jailbreak the agent into coughing up data it shouldn’t? Well, if the unauthorised data was never retrieved in the first place, there is nothing to cough up. Even a successful prompt injection can’t reach data the user wasn’t authorised to see. You’ve moved the boundary from something reactive to something structural. And structural is the only kind of security I actually trust.
Trust is architecture, not a setting
I keep coming back to this idea, and I’ll say it plainly: trust in enterprise AI has to live in the data layer, not the inference layer. The moment you try to bolt trust on as a policy, a prompt-level constraint, a config toggle, you’ve built a guardrail onto a system that doesn’t inherently respect it. It’s brittle. It’s hard to audit. And it quietly costs you more tokens too.
Picture the common alternative. An agent wired up to Salesforce, Jira and Zendesk through a bunch of separate connections. Three different permission models, three data scopes, no unified place where governance actually happens. A VP and a contractor ask the exact same question and the system has no architectural way to give them different answers. So you paper over it with prompt instructions and hope. That’s not governance. That’s crossing your fingers.
Do it at the data layer instead and the whole thing becomes inspectable. Deterministic. Traceable back to the actual query that produced the answer.
And then there’s what the AI does, not just what it sees
Access control is half the story. The other half is actions. Because agentic AI doesn’t just answer, it does things. It updates records, sends follow-ups, changes state. And autonomous agents, like human operators, will make mistakes. Something like 75% of data losses over the last couple of decades came down to operator error. There is no reason to assume our AI operators will be magically immune.

So the DevRev answer is to treat agent actions a bit like database transactions:
-
Changes are staged locally at the agent before they get committed to the shared memory. Nothing lands silently.
-
Sessions can be rolled back, the whole thing, like a database transaction. If an agent went sideways, you can undo it.
-
“As-of” queries let you reconstruct what the state was at any earlier point in time. Time travel, basically.
-
Humans stay in the loop where it matters, with approval gates for sensitive actions, escalation when confidence is low, and configurable thresholds for what’s allowed to auto-execute.
And every one of those actions is logged. Immutably, at the infrastructure layer, so application code can’t switch it off or tamper with it. Which agent, which version, which user triggered it, which tool it used, what happened, when. Those audit trails are kept for years. When your compliance team asks “who did what, and why,” there is an actual answer, traceable all the way back to source.
Why the DPO people should care
Now, back to my friend with the data protection job. Here’s why I think this whole architecture is a gift to the AI governance crowd specifically, the DPOs, the CISOs, the risk and compliance people who are being asked to bless these deployments.
Everything above lines up with what they’re actually being asked to enforce. Data minimisation by design, because unauthorised data genuinely never gets processed. Human oversight, built in rather than promised. Full auditability and explainability. No training on your data, ever, contractually guaranteed, with the model providers running under zero data retention. Your data stays in the region you choose. SOC 2 Type II, ISO 27001, GDPR, HIPAA support. It maps, almost line for line, onto GDPR, the EU AI Act, DORA. The stuff that keeps these folks up at night.
And it maps not because someone wrote a compliance checklist and then reverse-engineered a story to fit it. It maps because the architecture was built this way from the start. Permission enforcement at the memory layer, deterministic retrieval, staged and reversible actions, immutable audit. Compliance falls out of the design. It isn’t painted on afterwards.
That, to me, is the actual headline. Not “our AI is safe” as a slogan, but “safety is a structural property of how this thing is built.” Precision and efficiency get you in the door. Safety and security are what let you actually deploy.
The security review is where most enterprise AI projects quietly go to die. I genuinely believe this is the kind of architecture built to walk through it, rather than get stuck at the door.
Anyway. That’s the thing I wish more people were talking about. If you’re one of the people who has to sign off on this stuff, I’d love to hear whether this matches what you’re wrestling with, or where you think it falls short.
Cheers
Rik
PS - I have actually written a short whitepaper about this too… find it over here…