
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@assistant-ui/core
Advanced tools
@assistant-ui/coreThe framework-agnostic core of assistant-ui. Defines the shared types, runtime interfaces, adapter contracts, and React bindings that the distribution packages re-export.
Most users do not install @assistant-ui/core directly. Reach for the distribution that matches your target:
| Distribution | Use this for |
|---|---|
@assistant-ui/react | Web applications. |
@assistant-ui/react-native | React Native apps. |
@assistant-ui/react-ink | Terminal/Ink apps. |
core is published so that integration libraries (for example @assistant-ui/react-ag-ui) can depend on the runtime types without pulling in DOM or native primitives.
npm install @assistant-ui/core
import { tool, ModelContextRegistry } from "@assistant-ui/core";
import { z } from "zod";
const registry = new ModelContextRegistry();
registry.addTool({
toolName: "getWeather",
...tool({
parameters: z.object({ city: z.string() }),
execute: async ({ city }) => fetchWeather(city),
}),
});
@assistant-ui/core exposes ., ./react, ./store, and ./internal sub-paths. The ./react sub-path holds the React hooks and providers consumed by @assistant-ui/react and @assistant-ui/react-native.
Full reference for message types, runtime interfaces, and adapter contracts at assistant-ui.com/docs/architecture.
FAQs
Framework-agnostic core runtime for assistant-ui
The npm package @assistant-ui/core receives a total of 438,502 weekly downloads. As such, @assistant-ui/core popularity was classified as popular.
We found that @assistant-ui/core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.