AgentKeeper blog

Founder story

From ClawKeeper to AgentKeeper: What We Learned About Securing AI Agents

Jimmy Mesta explains how ClawKeeper's focus on OpenClaw environments evolved into AgentKeeper's runtime security model for AI agents.

By Jimmy Mesta

8 min read

I built ClawKeeper because I was spending a lot of time looking at what OpenClaw was actually capable of, and I did not think the security implications were getting enough attention.

The interesting thing about OpenClaw was not just that you could run an agent locally. It was that you could give that agent real access to a machine. It could execute code, read and write files, use credentials, connect to external services, and extend its capabilities through skills.

That is a significant change in the way software operates.

From a security perspective, the first problem was fairly straightforward. If you are going to run an autonomous agent with that much access, you should at least make sure the environment around it is configured properly.

ClawKeeper was purpose-built for this.

ClawKeeper started with the environment. AgentKeeper moves up the stack and focuses on the agent itself.

ClawKeeper took off faster than we expected

We put ClawKeeper out there, and the response was immediate. People were clearly trying to figure out how to safely run AI agents with this much access to real machines.

ClawKeeper was intentionally simple. You could run a single command, get a security assessment of your environment, fix common issues, and start monitoring the deployment. There was no complicated setup and no security platform to learn before you could understand whether you had a problem.

ClawKeeper picked up users quickly, and the adoption gave us useful feedback about what people were actually worried about when they started putting agents into their environments.

More importantly, it showed us that agent security was not going to be limited to OpenClaw. OpenClaw was one manifestation of a much bigger shift.

The problem changed as agents became more capable

As we watched ClawKeeper users deploy agents and the broader ecosystem develop, we started seeing the same problem in other environments.

Agents were showing up in developer workflows, terminals, repositories, and cloud environments. They were getting access to MCP servers, APIs, credentials, files, and other systems.

Securing the machine underneath the agent was still important, but it was only part of the problem. The bigger issue became agent behavior. That led to AgentKeeper.

ClawKeeper gave us a front-row seat to how quickly agents were being adopted and where security gaps were appearing. The more we saw, the clearer it became that the security boundary needed to move closer to the agent itself.

AgentKeeper is the natural evolution of ClawKeeper

With ClawKeeper, we were asking questions about the environment:

  • 01Is the host configured securely?
  • 02Are the right services exposed?
  • 03Are credentials protected?
  • 04Is the agent deployment using reasonable security defaults?

The questions moved into the runtime

With AgentKeeper, we are interested in the runtime activity of the agent:

  • 01What command did it execute?
  • 02What file did it access?
  • 03What tool did it invoke?
  • 04What MCP server did it communicate with?
  • 05What API did it call?
  • 06What arguments did it pass?
  • 07Was that activity expected for this user, repository, or workflow?
  • 08If it was not, what should happen?

The execution context matters

One of the things that makes agent security difficult is that permissions alone do not tell you very much.

An agent might legitimately have access to a repository, a shell, an MCP server, and a set of credentials. None of those permissions necessarily tell you whether a particular action is appropriate.

An agent may have access to a production credential but have no reason to use it during a particular development workflow. It may be allowed to read files in a repository but have no legitimate reason to access a local credentials file. It may be able to invoke an MCP tool, but the arguments could turn a routine operation into something much more concerning.

You need the context around the action to make a useful security decision. Instead of treating an agent action as an isolated event, AgentKeeper can evaluate available context across the agent, user, environment, repository, tool, and action.

That gives security teams something much closer to the information they need to make a decision.

The pivot is working

Since making the move from ClawKeeper to AgentKeeper, we have continued to see strong adoption. We have gone from a product built specifically around securing OpenClaw to a platform used by hundreds of users across the broader AI agent ecosystem.

The original ClawKeeper thesis was that people needed help securing autonomous agents. The adoption we saw after launching it validated that thesis.

The growth of AgentKeeper is validating something broader. Organizations are putting increasingly capable agents into environments where they have access to things that matter, changing the security model once again.

Why runtime matters

There is a tendency to approach AI agent security the same way we have approached other software security problems. We scan the environment, identify vulnerabilities, lock down permissions, and move on.

These controls still have value, but agents introduce a behavioral component that is difficult to capture with static analysis. Consider scenarios that would not necessarily show up in a vulnerability scan:

  • 01An agent encounters a prompt injection and changes what it does.
  • 02A skill or MCP server introduces a new capability.
  • 03A compromised credential changes the impact of an otherwise normal action.
  • 04An agent accesses sensitive data and then uses a legitimate tool to move that data somewhere it should not go.

Runtime evidence and enforcement

You need visibility into runtime activity to understand what actually happened. We built AgentKeeper around runtime behavior and policy, including pre-execution enforcement where supported integrations expose that control point, rather than treating agent security as another configuration checklist.

Security should not stop developers from using agents

The answer to the security problems created by agents is not to tell developers they cannot use them.

Agents are already becoming part of the development workflow. They are writing code, debugging systems, working with repositories, interacting with infrastructure, and connecting to services that contain sensitive information.

Security teams need a way to support that adoption without relying on blind trust. They need to understand what agents are doing across the organization so they can establish policy around specific behaviors.

When something does happen, enough runtime context can help reconstruct what the agent did and why.

Why ClawKeeper became AgentKeeper

ClawKeeper was built around the specific problem of running OpenClaw securely. It took off because people were already looking for an answer, but the problem was bigger than one agent framework. As agents moved into more developer workflows and started interacting with more systems, the security boundary moved with them.

The answer requires understanding the agent's execution context. You need visibility into its runtime behavior. Where the agent integration supports it, you also need the ability to enforce policy on the actions that matter.

ClawKeeper helped secure the environment where the agent ran. AgentKeeper is focused on securing what the agent actually does.

The adoption we have seen through both products has reinforced that people want to use these systems. The security model needs to catch up with how these agents actually operate.

Put policy closer to the actions your AI agents take.

Discuss an AgentKeeper rollout