
Security News
Cline CLI npm Package Compromised via Suspected Cache Poisoning Attack
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.
@ag-ui/core
Advanced tools
TypeScript definitions & runtime schemas for the **Agent-User Interaction (AG-UI) Protocol**.
TypeScript definitions & runtime schemas for the Agent-User Interaction (AG-UI) Protocol.
@ag-ui/core delivers the strongly-typed building blocks that every other AG-UI package is built on: message & state models, run inputs and the full set of streaming event types.
npm install @ag-ui/core
pnpm add @ag-ui/core
yarn add @ag-ui/core
Message, Tool, Context, RunAgentInput, State …import { EventSchemas, EventType } from "@ag-ui/core";
// Validate an incoming event
EventSchemas.parse({
type: EventType.TEXT_MESSAGE_CONTENT,
messageId: "msg_123",
delta: "Hello, world!",
});
docs/conceptsdocs/sdk/js/coreBug reports and pull requests are welcome! Please read our contributing guide first.
MIT © 2025 AG-UI Protocol Contributors
FAQs
TypeScript definitions & runtime schemas for the **Agent-User Interaction (AG-UI) Protocol**.
The npm package @ag-ui/core receives a total of 279,167 weekly downloads. As such, @ag-ui/core popularity was classified as popular.
We found that @ag-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.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.