Enforcement Layer Comparison

Comparing Llama Guard, Bedrock Guardrails, and Trussed as AI Enforcement Layers

Llama Guard classifies text input and output against a safety taxonomy. Bedrock Guardrails is a managed service that filters prompts and responses at the inference boundary. Neither authorizes or audits tool calls. Trussed operates at the action layer, enforcing agent identity, permissions, and tool-call policy at runtime. Enterprises running agentic systems typically need a content-safety layer and a separate action-governance layer, not one in place of the other.

Three Enforcement Problems, Not Three Competing Products

Llama Guard, Bedrock Guardrails, and Trussed are frequently discussed as if they solve the same problem. They do not. Llama Guard is a classifier model: it reads a conversation turn and labels it safe or unsafe against a fixed taxonomy covering categories such as violent content, hate speech, and sexual content. Bedrock Guardrails is a managed AWS service that applies configurable filters, denied topics, word filters, and sensitive-information checks to prompts and generated text, either natively within Bedrock or through the ApplyGuardrail API for external models. Both operate on language. Neither is documented to intercept, authorize, or deny a tool call, API invocation, or system action taken by an agent. Trussed operates at a different point in the stack: runtime policy enforcement over what an agent is permitted to execute, bound to agent identity and permission scope. Treating these as interchangeable options produces a false sense of coverage once an application moves from generating text to taking autonomous action.

Functional Scope by Layer

Each layer answers a different question about the same system. The summary below reflects what each is documented to do, not what it is often assumed to do.

Llama Guard

Open-weight classifier model that labels prompts and responses safe or unsafe against a defined content taxonomy.

Bedrock Guardrails

Managed AWS filtering service applying content filters, denied topics, and PII checks at the prompt and response boundary.

Trussed

Runtime governance layer enforcing agent identity, permissions, and tool-call policy during execution.

Why Content Filtering Doesn't Cover Agent Actions

Content classifiers and managed guardrail services were built to answer a narrower question: is this text safe to show a user or pass to a model. Agentic systems introduce a different question: is this action safe to execute. The Model Context Protocol, introduced by Anthropic in November 2024, standardizes how agents connect to external tools and data sources, but the protocol itself does not define a security enforcement layer. It leaves authorization, identity binding, and policy decisions to systems outside the protocol. When an agent uses MCP or a similar tool-calling framework to invoke an API, query a database, or trigger a workflow, that invocation happens outside the scope of either Llama Guard or Bedrock Guardrails as documented. A text classifier can confirm that an agent's explanation of its plan reads as safe language. It cannot confirm that the agent holds the correct permission to execute that plan, nor record which tool was called, under which identity, with which scope.

Overlap Between Llama Guard and Bedrock Guardrails

Deploying Llama Guard and Bedrock Guardrails together is common, but it produces overlapping coverage rather than complementary coverage. Both tools filter the same category of risk, unsafe or policy-violating text, applied at the same boundary: before or after model inference. Running both in the same pipeline can add latency without closing any gap related to tool execution, because neither tool's documented scope extends past the text layer. This matters for budgeting and architecture decisions. If an enterprise's threat model includes agents that call tools, hold API credentials, or act on downstream systems, adding a second content filter does not reduce that exposure. The gap is not a content-safety gap; it is an action-authorization gap, and it requires a layer designed to evaluate and record what the agent does, not only what it says.

Where Runtime Governance Fits

Trussed is described as a runtime governance layer for enterprise AI agents, covering agent identity, agent permissions, least-privilege enforcement, tool approval workflows, and audit logging during agent execution. This positions it at the action layer of the stack, the layer that Llama Guard and Bedrock Guardrails do not document coverage for. In practice, this means runtime policy enforcement over which tool calls an agent is permitted to make, under which identity, with which scope, and a log of what was actually executed. As with any vendor capability claim, these should be evaluated against an enterprise's own technical validation rather than accepted on description alone. The architectural point stands independent of any single vendor: content-safety tools and action-governance layers answer different questions, and an enterprise running agentic systems with tool-calling capability needs both addressed, not just one.

Questions to Ask Before Finalizing an Enforcement Stack

  • Does this layer operate on text content or on executable actions such as tool calls and API invocations?
  • Can the layer authorize or deny a specific tool call before execution, or does it only evaluate text before or after generation?
  • Does the layer bind enforcement decisions to a specific agent identity and permission scope?
  • Does the layer produce an audit record tied to the action taken, not just the text generated?
  • Where two layers are deployed together, which distinct risk does each one close, and where is the overlap purely redundant?
  • What independent technical documentation exists for any vendor's runtime governance claims, including Trussed's?

Map Your Enforcement Stack Before Your Agents Go Autonomous

Content classifiers and managed guardrails cover text. Agent tool calls, permissions, and identity require a separate enforcement layer. See how runtime governance closes that gap.

Explore MCP Security