Categories: None [Edit]
ai_stream
A pure-Ruby, zero-dependency implementation of the Vercel AI SDK "Data Stream Protocol"
(UI Message Stream Protocol) — the Server-Sent-Events wire format that drives the AI SDK's
useChat / useCompletion / useObject frontend hooks. The protocol is language-agnostic by
design, but Ruby had no implementation; ai_stream lets a Rails/Rack backend stream text,
reasoning, tool calls, sources, files, and custom data parts to a Vercel-AI-SDK frontend
with the exact frames it expects. Provider-agnostic: it composes with ruby_llm, ruby-openai,
or any token source instead of competing with them.
Total
Ranking: 193,869 of 196,430
Downloads: 395
Daily
Ranking: 39,280 of 196,406
Downloads: 1
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | levelbrook |