Skip to content

Drop-in Replacement

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.

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 OpenAI
client = openai.OpenAI(
api_key="your-openai-key"
)
# After: Through DeepIntShield
client = openai.OpenAI(
base_url="http://localhost:8080/openai", # Only change needed
api_key="dummy-key" # Keys handled by DeepIntShield
)

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.

DeepIntShield provides drop-in compatibility for multiple popular AI SDKs and frameworks:

For detailed setup instructions and compatibility information: Complete Integration Guide