Phases 0, I and II: hardening a deployment of agents

Three rounded rack appliances stacked on a service bench, the bottom one plain, the middle one with a fitted front cover and the top one with a sealed smoked-glass compartment, a torque screwdriver lying beside them

Picture a wholesale distributor with forty people. Since the summer an agent has been reading the supplier inbox, matching delivery notes to purchase orders and entering them into the order system. It saves one person most of a day each week. Then the managing director asks the question that always comes next: are we secure?

Nobody can answer it with a yes or a no, because the question is too big. Secure against what, at which layer, and checked by whom? The distributor is hypothetical. The question is not.

The real cause: “secure” without a sequence

Companies tend to buy agent security as one thing. It is really several layers that only work in order: the machine underneath, the boundary around the agent, and the rules inside that boundary. Skip a layer and the ones above it are decoration.

In October NVIDIA published a Secure Agent Workspace reference design, part of its reference architecture for agent security. Besides the infrastructure, it contains a maturity model with three phases. We find it useful as a shared vocabulary, because it puts the layers in the order they have to be built, and because it says plainly that the phases are “additive control outcomes, not deployment-status labels”. A phase is something you can show, not something you announce.

KYBERTIS does not implement NVIDIA’s architecture, and Kyber is not part of it. Below, the three phases are used as a description of what a hardening engagement should cover.

How agent hardening goes wrong

Skipping phase 0. Policies for tool calls are pointless on a server nobody patches. If the machine can be taken over, the agent’s rules can be switched off with it.

A phase as a label. “We are at phase II” said in a meeting, with nothing to show which controls exist and when they were last tested.

Human review that reviews nothing. A person approves every write the agent proposes, forty a day, without reading. The control exists on paper and nowhere else.

Policies nobody signed. Rules for the agent live in a configuration file anyone with access can edit. There is no author, no signature and no check before a change takes effect.

Enforcement that trusts the guest. The design is blunt about this: runtime controls work only while the enforcement mechanism itself is trusted, and protection against a compromised root or kernel has to sit outside the guest system.

What we check in each phase

KYBERTIS is pre-launch, with no clients and no price list. This is how we intend to scope the work.

Phase 0: the ground. A known configuration baseline. Patching and vulnerability management that actually runs. Protection for the workloads on the machine. Images that are built, versioned and approved rather than modified by hand. Security telemetry going to whoever watches it, an internal team or an outside one. And two drills: rebuilding the machine from its image, and revoking every credential the agent holds. On Kyber this is KyberLinux with a read-only root and whole-image updates, which is what hardening is a service, not a checkbox describes in detail.

Phase I: a perimeter around the agent. The agent runs in a workspace that belongs to one user, on an approved image. Access goes through single sign-on and an access broker. Outbound traffic is limited to a list of allowed addresses. Writes go to a person for review before they happen, and every action is logged at the edge, where the agent cannot change the record.

Phase II: enforcement around every step. Control over which processes, files and network connections the agent may use inside the system; on Kyber, that is the KyberCell, described in KyberCell explained. Outbound traffic blocked by default. Signed policies checked at each tool call. Credentials brokered, so the agent never holds a raw secret. Inference only through approved paths, meaning approved models in approved places. And policies written, signed and distributed centrally, with each one verified before it becomes active.

What a company needs before phase II

Phase II enforces rules, so the rules have to exist. Before we would start it, we would ask for:

  1. Written rules for the agents: what each one may read, write and send, and what always needs a person. Writing a company’s rules for its agents is about exactly this.
  2. An owner for every policy, and a named person who signs changes.
  3. A list of connectors with what each one may write, and which writes are sensitive.
  4. Approved inference paths: which models, running where, may see which data.
  5. A reviewer with time. Human review only counts if someone reads what they approve.
  6. A tested revocation: proof that the agent’s access can be withdrawn in minutes, not found out about in a week.

If any of these is missing, phase II would enforce guesses. We would rather spend the first weeks writing them down. How the swarm itself is held in place underneath is covered in how KyberLinux keeps a swarm in its cells.

A test you can run today

Take one agent your company already runs and answer one question per phase:

  • Phase 0: if its machine failed now, how long would it take to rebuild it from an image, and who could revoke all of its credentials in the next ten minutes?
  • Phase I: which addresses can it reach? Write the list. If the honest answer is “anything”, there is no perimeter.
  • Phase II: at its last tool call, was there a signed policy that could have said no?

The first answer you cannot give is the phase you are actually in. More about KYBERTIS is on the homepage.