Straiker Coding Agent Buffered

Third Party

Enable Straiker Coding Agent Bufferedv3.14+

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

This configuration fails open if Straiker Defend is unreachable, covering both the request and response phase, so a Straiker outage doesn’t return a 503 for a response the model already generated. Because the response is held until it’s scored, this is the only Straiker plugin that can stop a tool_use before the client runs it, at the cost of added time to first token. Don’t attach AI Proxy to the same Route. See How it works.

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

Prerequisites

  • The Straiker Coding Agent Buffered 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, without AI Proxy attached. Set a generous read_timeout, for example 600000. It’s an inter-read timeout, not a total one, but a buffered response is only delivered once generation finishes.

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!