
Security News
High-Severity RCE Vulnerability Disclosed in next-mdx-remote
HashiCorp disclosed a high-severity RCE in next-mdx-remote affecting versions 4.3.0 to 5.x when compiling untrusted MDX on the server.
@ag-ui/proto
Advanced tools
Protocol Buffer encoding/decoding for **Agent-User Interaction (AG-UI) Protocol** events.
Protocol Buffer encoding/decoding for Agent-User Interaction (AG-UI) Protocol events.
@ag-ui/proto provides high-performance binary serialization of AG-UI events using Protocol Buffers. It includes generated TypeScript definitions and utilities for converting between AG-UI's JSON event format and compact binary representation.
npm install @ag-ui/proto
pnpm add @ag-ui/proto
yarn add @ag-ui/proto
.proto schemasimport { encode, decode, AGUI_MEDIA_TYPE } from "@ag-ui/proto";
import { EventType } from "@ag-ui/core";
const event = {
type: EventType.TEXT_MESSAGE_START,
messageId: "msg_123",
role: "assistant",
};
// Encode to binary protobuf format
const encoded = encode(event);
// Decode back to AG-UI event
const decoded = decode(encoded);
console.log(decoded); // Original event object
docs/conceptsdocs/sdk/js/protoBug reports and pull requests are welcome! Please read our contributing guide first.
MIT © 2025 AG-UI Protocol Contributors
FAQs
Protocol Buffer encoding/decoding for **Agent-User Interaction (AG-UI) Protocol** events.
The npm package @ag-ui/proto receives a total of 200,338 weekly downloads. As such, @ag-ui/proto popularity was classified as popular.
We found that @ag-ui/proto 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
HashiCorp disclosed a high-severity RCE in next-mdx-remote affecting versions 4.3.0 to 5.x when compiling untrusted MDX on the server.

Security News
Security researchers report widespread abuse of OpenClaw skills to deliver info-stealing malware, exposing a new supply chain risk as agent ecosystems scale.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.