
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
@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 1,104,547 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.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.