
Security News
Happy Birthday, Shai-Hulud
It has been one year since Shai-Hulud made its first appearance on npm.
@aibind/react
Advanced tools
AI SDK bindings for React — hooks for streaming, structured output, and agents
Low-level React hooks for AI streaming. If you're using Next.js, use @aibind/nextjs instead — it wraps this package with sensible defaults and server handlers.
npm install @aibind/react ai react
Using Next.js? Install
@aibind/nextjsinstead — it includes this package and adds API route handlers and default endpoints.
This package requires you to specify an endpoint for every hook. For Next.js projects, @aibind/nextjs provides defaults automatically.
"use client";
import { useStream } from "@aibind/react";
function Chat() {
const { text, loading, send } = useStream({
endpoint: "/api/stream", // required
system: "You are a helpful assistant.",
});
return <p>{text}</p>;
}
| Entry | Exports |
|---|---|
@aibind/react | useStream, useStructuredStream, defineModels |
@aibind/react/agent | useAgent |
@aibind/react/markdown | StreamMarkdown |
@aibind/react/history | ChatHistory, MessageTree |
@aibind/react/project | Project |
Full documentation: aibind.dev
MIT
FAQs
AI SDK bindings for React — hooks for streaming, structured output, and agents
We found that @aibind/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.

Security News
GitHub Actions now supports cache-mode, a least-privilege control on the Actions cache aimed at the cache poisoning technique behind recent compromises.