Design time: write the line down before the agent exists
Every case above had a boundary nobody wrote down. In ActaClad’s AI Registry, developers define the policy and governance boundaries for each AI component: which tools, data and environments it may touch, who owns it, and which actions need a human. Four techniques sit behind that.
Capability budgets with scope attenuation. Each agent’s permissions are a set of capabilities per environment and per action, and anything it delegates can only be a subset. An agent on an evaluation task would then hold no credential that reaches production workers or control-plane secrets, which is where the Hugging Face agents ended up.
Scope declared by verified target. A boundary names the exact systems, domains and registries an agent may touch, matched on verified identity, never on a similar-looking hostname. Publishing to a public registry is a capability an evaluation agent simply is not given.
Information-flow labels. Data sources and tools are labelled private, untrusted or able to send data out. A graph check over the agent’s tool graph flags any path where private data and an outbound channel, such as URL fetching, meet without a gate. This is classic information-flow control, applied to agents.
Threat models mapped to OWASP ASI01 to ASI10. Each component gets one, and it generates the acceptance tests that build time must pass.
Approval rules by action, not by agent. Irreversible or sensitive actions are marked as needing a human decision, the step that was missing when CoSnitch ran a prompt with no separate confirmation.
The boundary is a record in the AI Registry. Build time checks against it, and run time enforces it.
Build time: check that the line was built
A boundary on paper is worth little if the code does something else. Build time compares what the agent actually does with what was declared.
Repository scanning and registration. The AI Registry scans AI repositories, captures the AI components it finds and registers them, so an agent nobody told security about still shows up. It also records how components relate, which gives us the blast radius when one is compromised.
Taint analysis across code and configuration. Untrusted sources, such as tool metadata, skill text or retrieved documents, are traced to dangerous sinks such as shell execution, credential stores or outbound requests.
A bill of materials for agents. Models, prompts, tools, MCP servers and skills are listed with versions and hashes. If a tool description changes after approval, as it did in the Deadbugz case, the change shows up as a diff and the build waits for a new review.
A conformance gate in CI. The build fails if code calls a tool, scope, environment, network destination or registry the declared boundary does not allow.
Governed test harnesses. Four of the six cases began in test environments. Evaluation runs get deny-by-default network egress, an allowlist of reachable targets, no publish rights and live monitoring.
Adversarial tests from the threat model. Their results are signed and carried forward, so run time starts with a baseline of what normal looks like.
The gate reads the boundary from the AI Registry. A pass hands signed test results to run time.
Run time: enforce the line while the agent acts
AgentGuard enforces the boundaries developers defined in the AI Registry while the agent runs. Models will still make mistakes, so what matters is that a mistake cannot cross the line.
Policy checks before each action. Every tool call is evaluated against the component’s boundary and the result is allow, deny or ask a human. The reason is recorded. A tool whose description or schema changes after approval is held until it is reviewed again.
Taint tracking through the session. Labels from design time follow the data. If something marked private is heading to an outbound channel, or untrusted text is heading to an executor, the call is stopped.
Short-lived, scoped credentials. An agent gets a token for the task, the environment and the action, not a long-lived key. A harvested or wrongly used token then buys little.
Behavioural baselines, budgets and circuit breakers. Tool-call sequences, rates, volumes and targets are compared with the baseline from build-time tests, and each agent has a budget for them. Statistical drift or a spent budget pauses the agent. In the UK AI Security Institute test, unusual traffic over Tor was how the activity was spotted; we want that signal to come from the agent’s own behaviour, not from luck.
A tamper-evident record. Each decision is chained to the one before it with hashes, so any edit to history is detectable. When something goes wrong, responders need to reconstruct, and possibly reverse, the agent’s chain of actions, and the AI Registry’s lineage shows what else the agent touched.
Every action passes through AgentGuard before it reaches a tool or target, and each decision is logged with its reason.
Why we tie the three together
Each phase on its own leaves a gap. A boundary defined at design time but never checked at build time is a wish. A build check without run-time enforcement stops at the pipeline’s edge. Run-time enforcement without a declared boundary has nothing to enforce.