Agent Stream Manager
Manages Server-Sent Events (SSE), plain-text transport, and session continuity for real-time agent streaming architectures.
The Agent Stream Manager skill provides a robust framework for implementing, debugging, and optimizing streaming behaviors in AI applications. It supports dual-format transport including standard SSE and plain-text streams compatible with the Vercel AI SDK, ensuring seamless integration across various frontend environments. By centralizing the logic for ChatKit events, session persistence, and message windowing, this skill enables developers to build highly responsive multi-turn chat interfaces with reliable session tracking and efficient token management.
主要功能
01Comprehensive ChatKit event handling for deltas, tool calls, and progress
02Dual-format support for SSE and plain-text transport protocols
031 GitHub stars
04Intelligent message windowing to prevent token overflow and optimize context
05Automated session continuity via UUID markers and 'done' events
06Integrated debugging workflows for stream stalls, ordering, and CORS issues
使用场景
01Developing real-time AI chat interfaces with Vercel AI SDK compatibility
02Implementing multi-turn agent workflows with tool-calling and progress indicators
03Debugging complex server-side event delivery and session persistence issues