Implementation Guide
Onboarding a New LLM Provider Without Rewriting AI Policies
To onboard a new LLM provider without rewriting AI policy, write policy as provider-agnostic requirements (what must be true about data, access, logging, and tool use) and enforce those requirements in a runtime layer such as a gateway with policy decision and enforcement points. Provider-specific details then live in configuration and review records. Onboarding becomes a repeatable process: assess, map, enforce, validate, and retain evidence.
Why policies break when a provider is added
Policy breaks when it is written around the details of one provider. If requirements are expressed in provider-specific prompts or code, every new provider forces the policy to be rewritten.
The alternative is to state policy as required outcomes: what must be true about data, access, logging, and tool use, regardless of which provider handles a request.
What belongs in policy and what belongs in provider configuration
Keeping the two layers separate is what allows policy to stay stable while providers change.
| Layer | What it holds | When a provider is added |
|---|---|---|
| Policy | Provider-agnostic requirements for data, access, logging, and tool use | Stays stable |
| Provider configuration and review records | Provider-specific details | Updated for the new provider |
The runtime layer that keeps policy stable
Requirements are enforced in a runtime layer, such as a gateway with policy decision and enforcement points, rather than in provider-specific prompts or code. Because the same layer applies the controls to every provider, tool approval, permission checks, and logging can behave the same way on a new provider as on existing ones.
A repeatable onboarding process
Each new provider follows the same five stages, from first assessment to retained evidence.
| Step | Stage | What happens |
|---|---|---|
| 1 | Assess | Compare the provider's terms and capabilities with existing policy requirements. |
| 2 | Map | Link each policy control to a provider capability or a runtime compensating control. |
| 3 | Enforce | Apply controls in a runtime layer, not in provider-specific prompts or code. |
| 4 | Validate | Test conformance and probe for failures before production traffic. |
| 5 | Retain evidence | Record requests, tool calls, identities, and decisions in one format. |
Where provider differences still need human review
Runtime enforcement does not remove the need for review. When a provider's terms and capabilities are compared with existing policy requirements, any difference needs a decision: map the control to a provider capability, cover it with a runtime compensating control, or record a documented exception.
Those decisions are kept in the provider's review records, so the policy itself does not change.
Validation and audit checklist before production traffic
- Every policy requirement has a mapped control for this provider, or a documented exception.
- Conformance tests derived from policy pass on the new provider's path.
- Red-team checks cover prompt injection, data leakage, and unauthorized tool calls.
- Tool approval and permission checks behave the same as on existing providers.
- Logs for requests, tool calls, identities, and decisions use the same format as other providers.
- Assessment, mapping, test results, and approvals are stored together for review.