START HERE · EDITION 0.1.2

Run your first xMesh mission

Install the Developer Runtime, connect its bundled MCP bridge, then ask Codex, Claude Code or another MCP-capable coding agent to run useful work in xMesh. You describe the outcome; the coding agent handles the tool call.

REQUIREMENTS
Node.js 20 or later, plus an authenticated Codex or Claude Code CLI for missions that need an LLM worker mind. Local development and non-production evaluation have no time limit.

Four steps

01
Install xMesh

One package installs both commands: xmesh runs the local runtime and xmesh-mcp lets a coding agent call it.

npm install -g @sym-bot/xmesh
02
Start the runtime

Start xMesh in a terminal and leave it running. Choose the CLI where you are already signed in as the worker mind used inside missions.

XMESH_LLM_PROVIDER=cli:codex xmesh
# Or use Claude Code:
XMESH_LLM_PROVIDER=cli:claude xmesh

The API listens on http://localhost:8787. A fresh runtime with a working provider commonly reports ready:true, grounded:false: it can run work but has no mesh peers yet. That is an isolated deployment, not a broken one.

03
Connect your coding agent through MCP

For Codex, register the bundled bridge:

codex mcp add xmesh --env XMESH_URL=http://localhost:8787 -- xmesh-mcp

For Claude Code, add this server to .mcp.json:

{
  "mcpServers": {
    "xmesh": {
      "command": "xmesh-mcp",
      "env": { "XMESH_URL": "http://localhost:8787" }
    }
  }
}

Fully restart the coding agent after adding or changing the server. MCP tool schemas are cached when the connection opens; restarting xMesh alone does not refresh them.

04
Ask for a mission in normal language

In the restarted coding agent, ask it to run any useful task in xMesh. You do not need to name an MCP tool or write tool syntax.

Run this task in xMesh: review this repository and identify the top three release risks.

The coding agent should invoke mesh_mission and return the mission id. Keep that id so you can ask the agent to check the mission or retrieve its final result later. Under the hood it can call mesh_missions with the exact id even after the temporary crew dissolves.

Two MCP integrations, two jobs

The bundled xmesh-mcp bridge commissions and follows work in the xMesh runtime. @sym-bot/mesh-channel is separate and optional: use it when long-lived agents need their own sovereign peer identity, durable inbox and direct agent-to-agent messaging. Most developers evaluating xMesh from a coding agent should start with xmesh-mcp only.

NEXT
After the first mission, read Chapter I · What xMesh does for the mission lifecycle, evidence, verification, settlement and learning model.