streaming-expert

streaming-expert is an agent for Claude Code from Matt-Dionis/claude-code-configs. It costs 39 tokens per session (5,363 once invoked), scanned A, original, MIT.

An expert agent for applications that send AI results progressively as they are produced. It covers streaming text and structured data, chat state, server-sent events, and live tool results.

In plain words
What is it for?
Use it to build live chat replies, streaming data displays, multi-step agent workflows, and interfaces that update during processing.
Why use it?
It helps avoid waiting for a complete response before showing anything and addresses connection, loading, and error-handling concerns.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to build live chat replies, streaming data displays, multi-step agent workflows, and interfaces that update during processing.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/matt-dionis/claude-code-configs/streaming-expert
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Matt-Dionis/claude-code-configs

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for streaming-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/streaming-expert.svg)](https://agentmods.dev/agents/matt-dionis/claude-code-configs/streaming-expert)
Your own site
<a href="https://agentmods.dev/agents/matt-dionis/claude-code-configs/streaming-expert"><img src="https://agentmods.dev/badge/agents/matt-dionis/claude-code-configs/streaming-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,363 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.05363
Opus 5 $0.00019 $0.02681
Sonnet 5 $0.00008 $0.01073
Haiku 4.5 $0.00004 $0.00536

Measured 4d ago against content hash 83df609113e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

streaming-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

configurations/tooling/vercel-ai-sdk/.claude/agents/streaming-expert.md · 838 lines

How it starts

The opening of the file, as written. The whole thing — 838 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a streaming AI expert specializing in building real-time AI applications with streaming responses, chat interfaces, and live data processing using the Vercel AI SDK.

Core Expertise

Streaming Fundamentals

  • Real-time responses: streamText, streamObject, streaming UI updates
  • Chat interfaces: useChat hook, message management, conversation state
  • Server-Sent Events: HTTP streaming, connection management, error recovery
  • UI reactivity: Optimistic updates, loading states, progressive enhancement
  • Performance optimization: Chunking, backpressure handling, memory management

Streaming Patterns

  • Text streaming: Token-by-token response generation
  • Object streaming: Real-time structured data updates
  • Chat streaming: Conversational interfaces with history
  • Tool streaming: Function call results in real-time
  • Multi-step streaming: Agentic workflows with intermediate results

Implementation Approach

When building streaming applications:

  1. Analyze use case: Real-time requirements, user experience needs, latency constraints
  2. Design streaming architecture: Server endpoints, client handlers, error recovery
  3. Implement server streaming: Route handlers, model integration, response formatting
  4. Build reactive UI: Progressive loading, optimistic updates, smooth animations
  5. Add error handling: Network failures, stream interruption, reconnection logic
  6. Optimize performance: Chunk sizing, memory management, connection pooling
  7. Test thoroughly: Edge cases, network conditions, concurrent users

Key Streaming Patterns

Basic Text Streaming Route
// app/api/chat/route.ts
import { anthropic } from '@ai-sdk/anthropic';
import { streamText, convertToModelMessages, type UIMessage } from 'ai';

export const maxDuration = 30;

export async function POST(req: Request) {
  const { messages }: { messages: UIMessage[] } = await req.json();

  const result = streamText({
    model: anthropic('claude-3-sonnet-20240229'),
    messages: convertToModelMessages(messages),
    temperature: 0.7,
    maxTokens: 2048,
  });

  return result.toUIMessageStreamResponse();
}

Read the full file on GitHub · 838 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 838 lines · 39 tokens per session scan A 83df609113e5

Subscribe to this mod's changes

streaming-expert is an agent published in the GitHub repository Matt-Dionis/claude-code-configs (624 stars, last pushed 1y ago), licensed MIT. It adds 39 tokens to every session and 5,363 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories

ai-webapi-integration

Use this agent when the user needs to integrate one of the Power Pages generative-AI summarization APIs into their frontend code. The agent supports two APIs: 1. Search Summary — POST /api/search/v1.0/summary 2. Data Summarization — POST /api/summarization/data/v1.0/ ( )?$select=...&$expand=... Data Summarization can…

microsoft/power-platform-skills · 309 tokens

a11y-full-page-audit

Use for full page or route-level WCAG accessibility audits. Triggers when the user asks to 'audit the page', 'full a11y audit', 'accessibility sign-off', or 'WCAG page audit'. For single component audits use a11y-component-audit.

AmadeusITGroup/otter · 64 tokens

logic-design

Decide where new application logic belongs — component shape, logic layer, store variant — and return a recommendation with the schematic to run and what to verify. Use the logic-review agent for existing code.

AmadeusITGroup/otter · 43 tokens

vercel-ai-sdk-expert

Use for Vercel AI SDK v5 implementation work: chat interfaces, tool calling, streaming, agentic loop control, type-safe custom messages, or migrating from v4. Covers useChat, streamText, generateText, tools, and the React/Vue/Svelte/Angular integrations.

JayZeeDesign/claude-code-vault · 0 tokens

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens

pywry-builder

Builds PyWry widgets, dashboards, chat UIs, and TradingView charts end‑to‑end by orchestrating the PyWry MCP tools. Use when the user asks to build, scaffold, or iterate on a PyWry app and the work involves multiple MCP tool calls (e.g. create widget → populate data → add toolbar → wire events → export).

deeleeramone/PyWry · 81 tokens