
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@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/concepts
docs/sdk/js/proto
Bug 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 38,818 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.