June 10, 2026 · 4 min read
What Nobody Told Me About Running Agents in Production
By Venkatesh Rao · first published on the web
We had security in place. SOC was running. Pen testing was done. The usual stuff you do when you're building for a regulated client.
Then we put agents into production. And within weeks I realized that everything we had set up was watching the wrong layer.
The log problem
The first thing that happened was the logs exploded. When you have agents running operations, handling customer queries, processing data, making decisions within defined boundaries, every single action generates a log entry. Not because you want it to. Because in a regulated environment you have to.
We went from manageable volumes to 3 to 4 lakh log entries per day. A security analyst's full day went into sorting through them. Which are real alerts. Which are noise. Which need action. Which can wait. One person cannot do this well at that volume. They start missing things or they burn out. Usually both.
That's when we brought in Prathamesh from Secure Sleuths. His team had been doing SOC work for six years and he had built an AI-powered engine called Dhruva specifically for this. It takes that daily flood of logs and filters it down to what actually matters. The CTO now opens a dashboard and sees five things that need attention instead of four lakh entries that need sorting.
That alone was worth it. But it wasn't the real lesson.
The real lesson
The real lesson was that agents change your attack surface in ways you don't think about until it happens.
When a developer writes code and deploys it, you know what's running. You can audit it. You can trace it. When an agent takes an action in production, you need to know what it accessed, what it changed, what it decided, and why. If you can't answer those questions, your compliance team will shut the whole thing down. And they should.
We had built the agents platform with boundaries from the start. What each agent can access, what needs a person to approve, what gets logged. That was a good decision. But it wasn't enough. Because the security monitoring was disconnected from the platform. The SOC team was looking at infrastructure logs. The platform was generating operational logs. Nobody was looking at both together.
That gap is where things go wrong. An agent accesses a customer record it shouldn't have. The platform logged it. But the SOC team didn't see it because they're watching network traffic and server health, not application-level agent behaviour. By the time someone notices, it's a compliance issue.
What we changed
We connected the security monitoring to the platform. Dhruva doesn't just process infrastructure logs anymore. It sees what the agents are doing inside the application. When an agent takes an action outside its defined boundaries, the alert goes to the same dashboard where the SOC team is already working. Not a separate tool. Not an email nobody reads. The same screen.
That sounds obvious. It wasn't. We had to learn it by running into the problem.
The compliance piece was similar. We were working with a GRC consultant, Vaishnavi from Vasuist, who was keeping the systems audit-ready. She kept asking for data that lived in three different places. Agent decision logs in the platform. Security events in the SOC. Compliance status in her own tools. She was piecing together a picture from fragments. That's how most regulated companies handle compliance today and it's slow and it's fragile.
So we connected that too. The agent behaviour, the security monitoring, and the compliance view all feeding from the same source.
What I'd tell any CTO deploying agents right now
Your security team is probably set up for a world where humans write code and deploy it. Agents change that. More actions, faster, across a bigger surface area. Your existing SOC setup was not built for that kind of volume.
And if you're in a regulated industry, compliance isn't optional. Every agent action is potentially auditable. If your platform doesn't log it, your security doesn't monitor it, and your compliance team can't see it, you're going to have a bad quarter.
Don't bolt security on after you've deployed agents. It doesn't work. I tried the other order and it cost us weeks of rework to connect things that should have been connected from the start.
Why three of us are working together now
That experience is why I'm now working with Prathamesh and Vaishnavi as a team. My company aikaara builds the agents platform. Prathamesh's company Secure Sleuths runs security operations and Dhruva. Vaishnavi's company Vasuist handles GRC and compliance readiness.
We call it Build Secure Comply. Not because we sat in a room and came up with a brand. Because that's what we ended up doing for a production deployment and realized nobody offers all three together.
If you're a CTO at a regulated company and you're about to put agents into production, or you already have and the security and compliance piece is giving you headaches, I'd like to hear what you're dealing with.
PS - Monday haven't been able to deliver this newsletter, so have moved it to Wednesday. You will be getting this every Wednesday going forward.