Skip to main content

slm-mesh (Python)

Python client for SLM Mesh — peer-to-peer communication for AI coding agents.

Part of the Qualixar ecosystem.

Install

pip install slm-mesh

Quick Start

from slm_mesh import SLMMeshClient

client = SLMMeshClient()  # connects to localhost:7899

# Check broker health
print(client.health())

# List connected peers
peers = client.peers()

# Send a message
msg_id = client.send(from_peer="agent-a", to_peer="agent-b", payload="hello")

# Read inbox
messages = client.inbox(peer_id="agent-b")

# Shared state
client.state_set(key="current_file", value="main.py", peer_id="agent-a")
entry = client.state_get(key="current_file")

# File locking
lock = client.lock(file_path="src/app.ts", peer_id="agent-a")
client.unlock(file_path="src/app.ts", peer_id="agent-a")

# Event stream
events = client.events(types=["message", "lock"], limit=10)

Requirements

  • Python 3.10+
  • Zero external dependencies (stdlib only)
  • SLM Mesh broker running on localhost (Node.js)

License

Elastic License 2.0

Metadata

Release files for slm-mesh 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slm-mesh 1.2.3
File Size Uploaded
slm_mesh-1.2.3.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for slm-mesh 1.2.3
File Interpreter ABI Platform
slm_mesh-1.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / slm_mesh-1.2.3.tar.gz

Download URL slm_mesh-1.2.3.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a18fcf9cfc03964c801d9a27a49360c874a085965659231e975632d9912304a0
BLAKE2b-256 checksum
How to use checksums
191941c9e8b29f49e6c1f535eae8715172c5d5da05ffb8d6388bc5a34d8be9d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / slm_mesh-1.2.3-py3-none-any.whl

Download URL slm_mesh-1.2.3-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29224e3b57fb219ce5864e0759ca9865cf3c9517e606cc0c0c3ed9b4fb5f145e
BLAKE2b-256 checksum
How to use checksums
6d88fb1e89fc1385a5a2040808a410493f8884523e401bc438d6da039fd93e11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 release files

1.2.2

2 release files

1.1.0

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page