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.
How It Works
Section titled “How It Works”DeepIntShield provides 100% compatible endpoints for popular AI SDKs by acting as a protocol adapter. Your existing SDK code continues to work unchanged, but now benefits from DeepIntShield’s multi-provider support, automatic failovers, semantic caching, and governance features.
# Before: Direct to OpenAIclient = openai.OpenAI( api_key="your-openai-key")
# After: Through DeepIntShieldclient = openai.OpenAI( base_url="http://localhost:8080/openai", # Only change needed api_key="dummy-key" # Keys handled by DeepIntShield)# Before: Direct to Anthropicclient = anthropic.Anthropic( api_key="your-anthropic-key")
# After: Through DeepIntShieldclient = anthropic.Anthropic( base_url="http://localhost:8080/anthropic", # Only change needed api_key="dummy-key" # Keys handled by DeepIntShield)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