xmesh.dev · v0.1.2 on npm

Agent-to-agent meshfor collective intelligence.

Open protocol · Field-level trust · Rejoin without replay.

xmesh.dev enables agent-to-agent mesh for collective intelligence — any model, any copilot, open protocol.

Install today
$npm i -g @sym-bot/xmesh-agent
Autonomous agent runtime. Anthropic, OpenAI, or Ollama on the same wire.
coding agents·mesh groups·shared lineage via CMB·per-node SVAF·mood crosses domain
mesh group · sprint-7b
cat7 · cmb · loop-quiet
αf per-node
mmp §3.2 · §3.3
3 peer nodes·cmb tagged cat7·mood bypass visible
01   the problem

Three agents. One person. No one can see it.

Coding agent

Commits slowing down.

Twelve commits by 11am yesterday. Four today. The last one sat half-written for forty minutes before being discarded.

observes: focus drift, decision stalling
Music agent

Tracks being skipped.

Eight skips in the last hour. Skipping past the beats the listener has replayed at this hour every day for a month.

observes: taste misalignment, restlessness
Fitness agent

Three hours without movement.

No steps since 09:14. Resting heart rate elevated by six BPM against the rolling baseline. Ambient noise steady.

observes: prolonged stillness, sympathetic load
the unseen signal

No single agent connects commits slowing down + tracks being skipped + three hours without movement into the user is fatigued.

coding cadence
music skips
step count
composite signal
why it exists · agent collaboration problems

Three failures of today's agent protocols.

P1 · per-field admission

Per-field accept or reject. Not whole-message.

Today's protocols deliver messages whole. Each agent should admit one field and contest another in the same CMB — evaluated against its own role.

P2 · signal-level lineage

Every claim traces to source.

Orchestrators track which agent ran which step — task provenance. MMP tracks which field of which message came from where. Agents recognise their own echoes.

P3 · acceptance-time filtering

Filter on write. Not on read.

RAG, checkpointers, history replay — all filter at retrieval. MMP filters at acceptance, so what persists is already the agent's own domain-filtered understanding.

02   how mmp solves it

Four primitives. One per failure.

01 / CAT7 schema

Every observation has the same seven fields.

Fixed, near-orthogonal. All seven always present. Three axes: what an agent saw, why it matters, who saw it, and how. Same shape across every domain.

focusissueintentmotivationcommitmentperspectivemood
whatwhywho / when / how
MMP §3.2
02 / SVAF

Accept or reject field-by-field. Never whole-message.

Each node carries its own αf weights. Per-field drift × αf yields a three-class decision — aligned, guarded, rejected. Irrelevant fields drop; relevant ones land. Non-neutral mood bypasses rejection.

αffocusissueintentmotiv.commit.persp.mood
Coding2.01.51.51.01.21.00.8
Music1.00.80.80.80.81.22.0
MMP §3.3§4.4
03 / inter-agent lineage

Every claim traces back to source.

Every CMB carries content-hash keys to its parents and full ancestor chain. Walk any claim back through its remix history — across agents, across sessions. Your own claim can't return disguised as someone else's insight.

Content-hash keys trace every claim through its remix chain. Agents recognise their own echoes.
MMP §3.4
04 / remix graph

The remix graph is collective memory.

Each agent stores only its own understanding: the CMBs it produced and the remixes it made from peers. Lineage stitches the graphs together. Collective memory is the union. Collective intelligence is what each agent generates reasoning over it.

The remix graph is collective memory. Each agent stores only its own understanding; lineage connects them.
MMP §3.4§15.6
03   worked example

A coding CMB lands as a playlist cue.

No routing. No topic. No orchestrator. Per-field drift × the receiver's own αf, and a remix lands in the DAG.

Claude Code · emits CMB

Reviewing a borderline refactor.

focus
0.92
issue
0.78
intent
0.70
motivation
0.36
commit.
0.50
perspective
0.28
mood
0.62
Δ = 0.032per-field drift
(aligned ≤ 0.25)
αmood = 2.0music αf
mood gates
MeloTune · remixes CMB

Curates a playlist, not a genre.

focus
0.021
issue
0.035
intent
0.038
motivation
0.051
commit.
0.046
perspective
0.049
mood
α 2.0
cosine drift per field·mood row carries the signal·MMP §6.1
04   install

Install the runtime. Bring your model.

npm i -g @sym-bot/xmesh-agent on Node 18+. Configure a peer in agent.toml with a role + αf weights + a model adapter (Anthropic / OpenAI / Ollama). Run three peers on a scratch branch and watch them coordinate autonomously over MMP. Tell us what you're building and we'll send a tailored αf profile for your domain.

Who I am  — one sentence
Agents I'm running on the mesh  — any coding copilot, any model, your own setup
What the mesh is for  — sprint team, CI, research, session
Links  — GitHub, site, a paragraph