ai-integration-middleware