Blog

Analysis on enterprise AI governance, inline policy enforcement, agentic AI security, and regulatory compliance.

AI Red Teaming Workflow: The Test-Fix-Prove Loop for Enterprise AI Deployments

AI red teaming discovers vulnerabilities in prompt handling, tool-call authorization, and response classification. The finding is one artifact. The fix is another. The evidence that the fix works is a third. This piece walks through a red-teaming workflow that produces all three artifacts inside the enterprise control boundary, and the inspection-layer architecture that turns findings into policy the enforcement layer executes.

Platform & Architecturered-teamingai-securitypenetration-testingai-engineeringai-governance
Read post →

Agent-to-Agent TLS: Mutual Authentication Between AI Agents in a Multi-Agent Workflow

A multi-agent workflow chains AI agents where each agent calls the next over an HTTP transport. The security posture of the chain depends on the mutual authentication between the agents at each hop. This piece walks through the mTLS pattern for agent-to-agent authentication, the certificate lifecycle, and the inspection-layer architecture that binds every agent-to-agent call to a verified identity pair.

Platform & Architectureagent-to-agentmtlsai-agent-securitymulti-agentai-engineering
Read post →

LLM gateway vs LLM router: what each component does and why the enforcement layer sits in only one of them

The LLM gateway and the LLM router occupy different layers in an AI stack even when a vendor bundles them under one label. The gateway is the identity-aware policy enforcement point that sits between authenticated users and any LLM. The router is the traffic-shaping component that decides which model handles a given request. Confusing the two produces predictable failure modes at audit time. This piece walks through the two components, the fields each layer records, and how the policy decision at the gateway constrains what the router is allowed to route to.

Platform & Architecturellm-gatewayllm-routerai-architectureai-policy-enforcementai-control-plane
Read post →

The LLM inference gateway: what sits between authenticated callers and the model, and what belongs somewhere else

The LLM inference gateway is the identity-aware policy enforcement point between authenticated users or agents and any model endpoint. It is the layer where authorization, data classification, and audit-record production live. This piece defines the term, walks through the four fields the gateway resolves per request, contrasts it with the inference server, model router, and API gateway it is often confused with, and shows why the audit-write path must be isolated from the caller. Applies to any deployment running an OpenAI-compatible or provider-native LLM API in production.

Platform & Architecturellm-gatewayllm-inferenceai-architectureai-control-planepolicy-enforcement
Read post →

LLM routing strategies: five patterns for production, and where the policy decision constrains each one

LLM routing strategies decide which model, provider, or endpoint handles a given request. Five patterns cover most production deployments: static routing, cost-optimized routing, quality-tiered routing, latency-budgeted routing, and fallback routing. Each pattern operates on request metadata after the policy decision at the gateway has authorized the request and produced the audit record. This piece walks through the five patterns, what each optimizes for, and the constraints the gateway places on all of them.

Platform & Architecturellm-routerllm-routingai-architectureai-gatewaymulti-model
Read post →

LLM multi-model routing: the invariants that hold when you serve traffic from more than one provider

LLM multi-model routing spreads traffic across two or more model providers so a single-vendor outage, price change, or policy shift does not stop production. The pattern is simple in principle and complicated in practice because different providers have different token formats, streaming semantics, tool-call schemas, and safety-refusal patterns. This piece walks through the six invariants that hold regardless of provider (identity resolution, classification, policy, audit, idempotency, and response normalization) and the three variances that do not (token accounting, streaming chunking, and tool-call format).

Platform & Architecturellm-routermulti-modelai-architectureai-gatewayanthropicopenaibedrock
Read post →

AI usage quota enforcement: the four counters production deployments actually need

AI usage quota enforcement is the mechanism that keeps AI spend, provider rate limits, and cross-tenant fairness under control. Production deployments need four counters at the gateway: per-caller request rate, per-tenant token throughput, per-workload cost, and per-model concurrency. Each counter answers a different failure mode. This piece walks through the four counters, where each one sits in the request flow, the fail-closed behavior each one demands, and the audit fields the enforcement decisions produce.

AI Security Solutionsai-quotarate-limitingai-gatewaycost-controlai-policy-enforcement
Read post →

AI response tool-call validation: the five checks that run before a tool call reaches the executor

When an LLM response contains a tool call, the tool call sits between the model output and a side effect in a real system. Untouched tool calls execute whatever the model produced, including hallucinated tools, malformed arguments, and unauthorized parameters. Production deployments run five checks at the gateway before the tool call reaches the executor: schema validation, tool-allowlist check, argument authorization, idempotency-key attachment, and audit-record production. This piece walks through each check, the failure modes it catches, and how the checks compose across the OpenAI, Anthropic, and Bedrock tool-call formats.

Platform & Architecturetool-callingai-agentai-gatewayagent-securityllm-response
Read post →

AI tool-use authorization: what the caller can invoke, what the model is allowed to attempt, and where the line sits

AI tool-use authorization decides which tools an LLM caller can invoke, which arguments the caller can pass, and which tool calls the model is allowed to attempt on the caller behalf. Production deployments enforce three layers: caller-role authorization (what the identity is entitled to use), argument-value authorization (what values fall inside the caller scope), and model-behavior authorization (which tool call sequences the deployer permits). This piece walks through the three layers, the failure modes each one catches, and the evidence each layer produces on the per-decision audit record.

Platform & Architecturetool-callingai-agentauthorizationai-gatewayagent-security
Read post →

SOC 2 AI Controls: Which Trust Services Criteria a Policy Gateway Actually Evidences

SOC 2 does not have an AI-specific control category, but every AI deployment inside a Type II audit surfaces control gaps under the same five Trust Services Criteria. The auditor questions center on who accessed the model, what data flowed through it, whether policy enforcement is deterministic, and whether the audit trail is tamper-evident. Application-controlled logs fail the CC7 evidence bar. The fix is architectural.

Compliance & Regulationsoc-2complianceai-governanceauditai-securitytrust-services
Read post →

ISO 27001 Annex A Controls Applied to AI Systems: Where the 2022 Revision Already Covers AI and Where It Does Not

The 2022 revision of ISO 27001 collapsed the Annex A control set from 114 to 93 controls across four themes. Several controls apply cleanly to AI systems without any AI-specific supplement. Others surface gaps the auditor tests when AI is in scope. A walk through the controls that matter (5.15 access control, 8.10 information deletion, 8.15 logging, 8.16 monitoring, 8.24 cryptography, 8.28 secure coding) with the specific evidence a policy gateway produces.

Compliance & Regulationiso-27001complianceai-governanceannex-aauditai-security
Read post →

Policy as Code for AI: The Review Pipeline That Turns AI Policy From a Config Screen Into a Reviewed Artifact

AI policies expressed as configuration screens inside a gateway UI change without version control, without code review, and without a rollback plan. The same policies expressed as code (Rego, Cedar, or JSON schemas checked into git) inherit the review pipeline the rest of the codebase runs on. This covers the operational pattern, the language choices, and how policy-as-code maps to SOC 2 CC8.1, ISO 27001 8.28, and EU AI Act Article 26 change management.

Platform & Architecturepolicy-as-codeai-governanceai-securitydevopscomplianceai-gateway
Read post →