Drop-in Replacement
Minimal client reconfiguration
Section titled “Minimal client reconfiguration”The DeepIntShield Gateway exposes compatibility routes for popular AI SDKs. For a supported operation, you can usually retain application-level request and response handling while changing the base URL and authentication configuration.
Some clients also require a DeepIntShield header, provider prefix, beta-header allowlist, or endpoint-version change. Provider-specific and beta operations must be verified against the matching integration guide.
Point Your SDK at DeepIntShield
Section titled “Point Your SDK at DeepIntShield”DeepIntShield exposes provider-shaped endpoints for popular SDKs. Update the client configuration and test every operation you depend on. Gateway features apply according to route support and workspace configuration.
# Before: Direct to OpenAIclient = openai.OpenAI( api_key="your-openai-key")
# After: Through DeepIntShieldclient = openai.OpenAI( base_url="https://app.deepintshield.com/openai", api_key="sk-ds-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", api_key="sk-ds-your-virtual-key" # Authenticate with your DeepIntShield virtual key)Gateway-managed advanced features
Section titled “Gateway-managed 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
The Python package can construct these native clients and add the required headers for you. See Python SDK providers and frameworks.
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