🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@mosadd/protocol

Package Overview
Dependencies
Maintainers
1
Versions
6
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.

alpha
latest
Source
npmnpm
Version
3.0.0-alpha.26
Version published
Maintainers
1
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

Did you know?

Socket

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.

Install

Related posts