Managed Proxy
Configure your application or SDK with GuardAI's endpoint, API key, and model. GuardAI checks the model's draft response against your policies before delivery.
Route model calls through GuardAI's OpenAI-compatible API. Configure your policy set, then evaluate allowed, blocked, and rewritten responses with your existing application.
Set the GuardAI base URL and API key. Keep the chat-completion call structure and select your configured model.
1from openai import OpenAI23client = OpenAI(4−api_key="your_openai_key"5+base_url="https://api.guard4ai.org/v1",6+api_key="your_guardai_key"7)89response = client.chat.completions.create(10model="gpt-6-astra",11messages=[{"role": "user", "content": prompt}]12)1314# That's it. Same SDK, same models, same code.
Keep policy configuration separate from model calls. Evaluate enforcement, response quality, and latency with your application’s requests.
Check the model’s draft response against your rules before delivery. Measure the added latency with your application’s requests.
Keep policy definitions across supported models. Test model changes against your existing evaluation cases.
Test permitted requests, off-policy responses, and instruction overrides. Use failed cases to refine your policies and measure false refusals.
Review policy-decision metadata and configure content logging, storage access, and retention for your deployment.
Apply disclosure rules to responses drawn from your knowledge base, including confidential information in the model’s context.
Connect applications that support a configurable OpenAI-compatible endpoint. Check model support and request features against your integration.
Keep model selection separate from policy definitions. Verify the endpoint, model, and request features for each provider you connect.
Configure LangChain, LlamaIndex, or Haystack to call GuardAI’s endpoint with a supported model.
Use the managed API or run GuardAI containers in your own infrastructure. Both require outbound access to Vertex AI for policy evaluation.
Configure your application or SDK with GuardAI's endpoint, API key, and model. GuardAI checks the model's draft response against your policies before delivery.
Run GuardAI containers in your own VPC or on-prem infrastructure. You control network boundaries and data residency.
See the same-base-model benchmark results on the whitepaper.