
Product
Introducing Manifest Alerts
Socket now detects supply chain risks in project manifests, starting with missing lockfiles that can make dependency installs non-reproducible.
@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 795,225 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.

Product
Socket now detects supply chain risks in project manifests, starting with missing lockfiles that can make dependency installs non-reproducible.

Research
/Security News
The trojanized extensions use TinyGo-compiled WebAssembly and Solana transaction memos to resolve command-and-control infrastructure.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.