Secure AI Agents

Agents your staff can use every day, with controls an auditor would accept.

The Problem

AI agents can now do real work: draft support replies, price campaigns, order materials, write and review code. The risk is in what they can reach. Most agent frameworks hand the agent API keys and trust it to decide what to call. If the agent makes a mistake, is manipulated by something it reads, or tries to work around a limit, nothing stops it. That's not acceptable once an agent can touch finance data, customer email or your codebase.

My Approach

The agent never controls its own access. Every agent runs behind a central gateway, and the gateway has no AI in it. It's deterministic code, so it can't be talked out of a rule.

  • No credentials in the agent: Agents never hold API keys. Every tool call goes through the gateway, so there is no way around the controls.
  • Permissions per agent, per tool: Each agent gets only the tools for its job. Write access is granted one service at a time, where it's needed.
  • Sandboxing: Each agent run gets its own sandbox, with code execution and network access limited to what its tools allow.
  • Narrow agent-to-agent paths: Agents pass messages through the gateway on defined routes only. Open-ended conversations between agents are too loose to control.
  • Risk tiers and human escalation: Low-risk actions can complete automatically. Anything above that goes to a person.
  • Full audit trail: Prompts, changes, API calls and data access are all logged.
  • In the tools people already use: Staff talk to their agents in chat, for example Google Chat, with no new app to learn.

Because permissions live in the gateway rather than the agent, you can change the model behind an agent without changing what it's allowed to do.

Experience

I built an enterprise agent platform for a health foods manufacturing and resale group. Around 45 staff across sales, production, finance, marketing and customer service use it through Google Chat. In its first month it drafted more than 300 support replies, ran many marketing campaigns, and merged 20 pull requests through a coding agent and a review agent, with anything above low risk escalated to a human. Read the case study.

Technologies

Claude Codex AI Agents Sandboxing Audit Logging AWS ECS AWS Fargate Google Chat GitHub

Got a problem like this?

Tell me what you're working on and I'll tell you whether I can help, and how.

Let's Talk