Kong's core value is as a programmable control plane for your API traffic. AI integration plugs directly into this model, acting as a dynamic logic layer within the request/response lifecycle. The primary integration surfaces are:
- Custom Plugins: Deploy Lua or Go plugins that call external LLM APIs (e.g., OpenAI, Anthropic) or internal model endpoints for tasks like dynamic request routing based on content, PII redaction, or JWT claim enrichment.
- Advanced Rate Limiting: Move beyond static quotas. Use AI models to analyze consumer behavior patterns in real-time, dynamically adjusting rate limits or triggering step-up authentication for anomalous traffic.
- Request/Response Transformation: Leverage AI within the
accessorheader_filterphases to intelligently modify payloads—summarizing lengthy responses for mobile clients, translating formats, or injecting contextual metadata. - Security Policy Enforcement: Enhance existing Kong security plugins (like Bot Detection) with AI-driven analysis to identify sophisticated API abuse patterns that rule-based systems miss.




