Convex Agents Streaming
Streams agent responses in real-time to clients without blocking. Use this for responsive UIs, long-running generations, and asynchronous streaming to multiple clients.
npx skills add majiayu000/claude-skill-registry --skill convex-agents-streaming --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Purpose Streaming allows responses to appear character-by-character in real-time, improving UX and perceived performance. Supports async streaming and multiple clients. ## When to Use This Skill - Building real-time chat interfaces with live updates - Generating long responses that benefit from progressive display - Streaming to multiple clients from single generation - Using asynchronous streaming in background actions - Implementing smooth text animation ## Basic Async Streaming Stream and save deltas to database: ```typescript export const streamResponse = action({ args: { threadId: v.string(), prompt: v.string() }, handler: async (ctx, { threadId, prompt }) => { const { thread } = await myAgent.continueThread(ctx, { threadId }); await thread.streamText( { prompt }, { saveStreamDeltas: true } ); return { success: true }; }, }); ``` ## Configure Stream Chunking ```typescript await thread.streamText( { prompt }, { saveStreamDeltas: { chunking: "line", // "word" | "line" | regex | function throttleMs: 500, // Save deltas every 500ms }, } ); ``` ## Retrieve Stream Deltas ```typescript import { vStreamArgs, syncStreams } from "@convex-dev/agent"; export const listMessagesWithStrea
- Purpose
- When to Use This Skill
- Basic Async Streaming
- Configure Stream Chunking
- Retrieve Stream Deltas
- Display Streaming in React
- Key Principles
- Next Steps
What does the Convex Agents Streaming skill do?
Streams agent responses in real-time to clients without blocking. Use this for responsive UIs, long-running generations, and asynchronous streaming to multiple clients.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill convex-agents-streaming --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
