Join our Newsletter — 33% off our NHI Course

Proxy-Based Architecture

A proxy-based architecture places an intermediary service between the application and the model provider so requests and responses can be logged as they pass through. It can simplify basic visibility, but it also couples observability to request routing and may limit what the platform can see beyond the model call itself.

Expanded Definition

Proxy-based architecture is a deployment pattern in which an intermediary sits between an application and an AI model provider, handling request forwarding, response capture, and often policy checks on the way through. In NHI Management Group terms, it is best understood as a control point for traffic visibility rather than a complete security boundary. The pattern can support logging, redaction, routing decisions, and basic enforcement, but it does not automatically provide governance over prompts, tools, secrets, or downstream actions taken by an agentic system.

Usage in the industry is still evolving because some vendors describe proxy layers as a full observability or security plane, while others treat them as a narrow mediation layer. That distinction matters: a proxy can see the call it mediates, but it may not inspect context assembled elsewhere, tool invocation chains, or internal model behavior after the request leaves the proxy. For security teams, the architectural question is whether the proxy is only an observability aid or part of a broader control design aligned to the NIST Cybersecurity Framework 2.0.

The most common misapplication is treating the proxy as a complete AI security layer, which occurs when organisations assume captured traffic alone is enough to manage model risk, data exposure, and agent actions.

Examples and Use Cases

Implementing proxy-based architecture rigorously often introduces latency, routing complexity, and a new dependency path, requiring organisations to weigh inspection and policy enforcement against operational fragility.

  • A customer support application sends every model request through a proxy so prompts and outputs can be logged for audit review and incident triage.
  • An enterprise proxy masks known secret patterns before requests reach the model, reducing accidental disclosure of API keys, tokens, or certificates.
  • A security team uses the proxy to enforce destination allowlists so only approved model endpoints can be reached from production workloads.
  • A development platform routes experimental AI traffic through a proxy for content filtering, while keeping a separate path for low-risk internal testing.
  • An agentic workflow uses the proxy to record call metadata, but the team also validates tool permissions separately because proxy visibility does not equal tool governance.

Proxy-based designs are most useful where organisations need a fast way to add oversight to existing applications without rewriting every integration. They are less effective when the core risk sits outside the model request itself, such as prompt injection arriving through upstream data, hidden system instructions, or autonomous actions performed after the model response.

Why It Matters for Security Teams

Security teams care about proxy-based architecture because it can become the first practical control layer for AI traffic, yet it can also create a false sense of coverage. If the proxy is relied on as the primary safeguard, teams may miss risks such as unapproved model switching, blind spots in tool execution, or sensitive data flowing through side channels that never touch the intermediary. That is why proxy controls should be paired with identity-aware policies, logging, and explicit authorization for non-human identities that call models on behalf of applications or agents.

The architecture also matters for governance because it shapes what can be evidenced after an incident. If a proxy is not capturing enough context, teams may struggle to reconstruct what data was sent, which policy was applied, or whether an autonomous agent changed behaviour mid-flight. In that sense, proxy-based architecture is not just a traffic design choice but a control-audit decision with direct implications for accountability, containment, and post-incident analysis under a NIST CSF style governance model. Organisations typically encounter the limitations of proxy-based architecture only after an exposure or failed investigation, at which point the need for stronger control layering becomes operationally unavoidable.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST AI RMF and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 PR.AA-01 Supports identity-aware access and accountability for AI request paths.
OWASP Agentic AI Top 10 Addresses agentic AI risks where proxy visibility does not cover tool execution or autonomy.
OWASP Non-Human Identity Top 10 Relevant where the proxy fronts non-human identities that call models and tools.
NIST AI RMF Defines governance expectations that proxy logging alone cannot satisfy.
NIST Zero Trust (SP 800-207) AC-4 Supports policy enforcement and boundary inspection concepts related to mediated traffic.

Tie proxy mediation to authenticated identities and recorded authorisation before model access is allowed.