See how Trussed maps to your regulation in minutes

    No generic demo, just the controls relevant to your program.

    Book Demo

    Check your EU AI Act status

    Get a free risk tier assessment and personalized gap checklist in 5 minutes.

    Take the Assessment
    Implementation Guide

    Chaining an AI Governance Proxy Behind an Existing Corporate Egress Proxy

    Treat the AI governance proxy as an added control layer, not a replacement for the egress proxy. Keep the egress proxy as the only path to the internet, send AI traffic through the governance proxy first, and have the governance proxy use the egress proxy as its upstream.

    Why the two proxies must be designed together

    The AI governance proxy is an added control layer, not a replacement for the egress proxy. The egress proxy remains the only path to the internet, so the two layers need to be designed as one chain rather than as independent products.

    Decisions about TLS inspection, identity, and policy ownership affect both layers. Settling them together keeps the layers from duplicating or contradicting each other.

    Topology options and trade-offs

    The topology in this guide sends AI traffic through the governance proxy first. The governance proxy then uses the egress proxy as its upstream, so every request that leaves the network still passes through the corporate exit.

    Reference request path

    1. Client, agent, or tool runtimeSends AI traffic to the governance proxy by explicit configuration.
    2. AI governance proxyApplies runtime policy to model, agent, and tool-call traffic and attaches identity and correlation data.
    3. Corporate egress proxyEnforces allowlisting, network authentication, DLP, and logging as the sole exit.
    4. AI model or tool endpointReceives only traffic that passed both layers.

    Configure the key integration points

    TLS and certificate trust

    Decide on one place for content-level TLS inspection. Each runtime, including agent frameworks and tool servers, must trust the required CAs and connect without errors. The certificate chains seen at each hop should confirm that content is decrypted and inspected only at the intended points.

    Identity propagation

    Carry identity in authenticated headers between the layers. The governance proxy attaches identity and correlation data, so a single request can be traced across both proxies by one correlation ID, with user or agent identity present in both records.

    Streaming behavior

    Test streaming failures before rollout. Streaming responses should arrive incrementally, and long-running calls should not hit idle timeouts.

    Divide policy responsibility to avoid conflicts

    Split policy by responsibility. Each layer enforces the controls it is positioned to enforce, as summarized below.

    Policy responsibility by layer
    LayerResponsibility
    AI governance proxyApplies runtime policy to model, agent, and tool-call traffic, and attaches identity and correlation data.
    Corporate egress proxyEnforces allowlisting, network authentication, DLP, and logging as the sole exit.

    Verify there are no bypass paths

    The egress proxy is only effective as the sole exit if nothing can route around the governance proxy or the egress proxy. Test for bypass paths from clients, servers, and containers, and confirm that the egress proxy accepts AI destination traffic only from the governance proxy. The checklist below covers what to confirm before rollout.

    Validation checklist before rollout

    • Direct outbound connections to AI endpoints from clients, servers, and containers are blocked at the network layer.
    • The egress proxy accepts AI destination traffic only from the governance proxy's source identity.
    • Content is decrypted and inspected at the intended points only, confirmed by certificate chains seen at each hop.
    • Each runtime, including agent frameworks and tool servers, trusts the required CAs and connects without errors.
    • A single request can be traced across both proxies by one correlation ID, with user or agent identity present in both records.
    • Streaming responses arrive incrementally, and long-running calls do not hit idle timeouts.

    Plan governance for AI traffic alongside your egress controls

    Talk through where runtime policy enforcement, agent identity, and audit logging fit with your existing proxy architecture.

    Talk to an Expert