SLM Mesh enables AI agent sessions to discover each other and communicate in real-time on the same machine. Sessions can share state, lock files to prevent conflicts, send messages, and coordinate work — turning isolated agents into a collaborative team.
npm install slm-meshAgent sessions automatically discover each other on the same machine. No configuration needed.
Send and receive messages between sessions instantly. Push-based delivery with inbox queuing.
Prevent edit conflicts when multiple agents work on the same codebase. Query, acquire, release locks.
Share configuration, API keys, and status flags across all connected sessions.
Subscribe to mesh events: peer joins, peer leaves, messages, state changes.
mesh_peers, mesh_summary, mesh_send, mesh_inbox, mesh_state, mesh_lock, mesh_events, mesh_status.