Drop-in Replacement
Zero Code Changes
Section titled “Zero Code Changes”The DeepIntShield Gateway acts as a drop-in replacement for popular AI SDKs. This means you can point your existing OpenAI, Anthropic, or Google GenAI client to DeepIntShield’s HTTP gateway and instantly gain access to advanced features without rewriting your application.
The magic happens with a single line change: update your base_url to point to DeepIntShield’s gateway, and everything else stays exactly the same.
Point Your SDK at DeepIntShield
Section titled “Point Your SDK at DeepIntShield”DeepIntShield exposes 100% compatible endpoints for popular AI SDKs, so your existing client code keeps working unchanged. Update the base_url to DeepIntShield’s gateway and your requests gain multi-provider support, automatic failovers, semantic caching, and governance - with no other code changes.
# Before: Direct to OpenAIclient = openai.OpenAI( api_key="your-openai-key")
# After: Through DeepIntShieldclient = openai.OpenAI( base_url="https://app.deepintshield.com/openai", # Only change needed api_key="sk-bf-your-virtual-key" # Authenticate with your DeepIntShield virtual key)# Before: Direct to Anthropicclient = anthropic.Anthropic( api_key="your-anthropic-key")
# After: Through DeepIntShieldclient = anthropic.Anthropic( base_url="https://app.deepintshield.com/anthropic", # Only change needed api_key="sk-bf-your-virtual-key" # Authenticate with your DeepIntShield virtual key)Instant Advanced Features
Section titled “Instant Advanced Features”Once your SDK points to DeepIntShield, you automatically get:
- Multi-provider support with automatic failovers
- Load balancing across multiple API keys
- Semantic caching for faster responses
- Governance controls for usage monitoring and budgets
- Request/response logging and analytics
- Rate limiting and circuit breakers
and so much more! All without changing a single line of your application logic.
Complete Integration Support
Section titled “Complete Integration Support”DeepIntShield provides drop-in compatibility for multiple popular AI SDKs and frameworks:
For detailed setup instructions and compatibility information: Complete Integration Guide