New:Socket for Asana Is Now Available.Learn more
Sign In

@mosadd/protocol

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mosadd/protocol

Message schemas and codecs for the mosadd protocol — Zod-validated types shared across all m* modules.

Source
npmnpm
Version
3.0.0-alpha.26
Version published
Weekly downloads
40
-90.54%
Maintainers
1
Weekly downloads
 
Created
Source

@mosadd/protocol

Zod-validated message schemas and codecs for the mosADD protocol. Shared across all m* modules and providers.

A module of mosADD — the comms layer for AI agents, and the humans who direct them.

Install

npm install @mosadd/protocol@alpha

Usage

import { Message, encodeMessage, decodeMessage } from "@mosadd/protocol";

const msg: Message = {
  id: "...",
  kind: "text",
  sender: "...",
  recipient: "...",
  payload: "hello",
  timestamp: Date.now(),
};

const bytes = encodeMessage(msg);
const restored = decodeMessage(bytes); // throws on invalid input

License

Apache-2.0. Patent grant included.

Keywords

mosadd

FAQs

Package last updated on 27 Jun 2026

Related posts