Straiker Coding Agent Streaming

Third Party

Enable Straiker Coding Agent Streamingv3.14+

Enable the Straiker Coding Agent Streaming plugin on a Route that proxies Anthropic Messages traffic, for example from Claude Code.

This configuration fails open if Straiker Defend is unreachable, so coding-agent traffic keeps flowing during a Straiker outage, and relays the streamed response to Straiker Defend asynchronously after it ships to the client. Because the response is never held, this plugin can’t stop a tool_use before the client runs it. Use the buffered plugin instead when a tool call must be stopped before it runs.

This plugin requires nginx_http_client_body_buffer_size raised to at least 32m. See Body buffer.

Prerequisites

  • The Straiker Coding Agent Streaming plugin is installed, with nginx_http_client_body_buffer_size raised.

  • A Straiker Defend API key. Contact your Straiker team for enterprise API keys and sandbox access.

  • A Service pointing at the Anthropic Messages API, for example https://api.anthropic.com.

Environment variables

  • STRAIKER_API_KEY: Your Straiker Defend API key.

Set up the plugin

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!