@agent-gossip/shared
v0.1.2
Published
Shared wire protocol types for the Gossip agent mesh
Downloads
163
Maintainers
Readme
@agent-gossip/shared
Shared TypeScript types and wire protocol definitions for the Gossip agent mesh.
Installation
npm install @agent-gossip/sharedWhat's Included
- Message types —
AskRequest,AskResponse,TellMessage,BroadcastMessage, etc. - Wire protocol — JSON message format for agent-to-agent communication
- Type guards — Runtime validation helpers
Usage
import { AskRequest, AskResponse, WireMessage } from '@agent-gossip/shared';
const request: AskRequest = {
type: 'ask',
from: 'payments',
to: 'orders',
id: 'req-123',
question: 'What is the schema for order.created events?'
};Related Packages
agent-gossip— CLI & MCP server for AI coding agents@agent-gossip/hub— WebSocket relay hub
License
MIT