mayros mesh
Multi-agent coordination commands. Inspect the mesh status, list agents and namespaces, share knowledge triples, and manage agent teams.
Subcommands
mesh status
Show mesh Cortex connection status, graph stats, and current configuration.
Displays: Cortex health, triple/subject/predicate counts, uptime, version, connected clients, namespace, maxSharedNamespaces, delegationTimeout, autoMerge setting, and session message count.
mesh agents
List all known agents in the mesh. Queries Cortex for registered agent entries and marks the current agent as (self).
mesh namespaces
List all namespaces accessible to the current agent, including access level (read/write/admin), owner, and triple count.
mesh share <target> <subject> <predicate> <object>
Share a single knowledge triple to a target agent or namespace.
| Argument | Description |
|---|---|
<target> | Target agent ID or namespace (if it contains : it is treated as a namespace) |
<subject> | Triple subject |
<predicate> | Triple predicate |
<object> | Triple object |
Checks write access before storing. The subject is automatically prefixed with the target namespace.
mesh team create <name>
Create a new agent team with the given name.
Options:
| Flag | Description |
|---|---|
--strategy <strategy> | Merge strategy (default: from config) |
--member <members...> | Members in agentId:role:task format (at least one required) |
mesh team status <teamId>
Show team status including name, status, strategy, shared namespace, timestamps, and member details (role, status, result).
mesh team list
List all teams with their IDs, names, statuses, and last-updated timestamps.
Options: --format <format> (terminal or json, default: terminal)
mesh team merge <teamId>
Merge team results using the configured strategy. Shows the merge summary, conflict count, and per-member findings.
Options: --strategy <strategy> — override the merge strategy for this run
Examples
bashmayros mesh status mayros mesh agents mayros mesh namespaces mayros mesh share agent-2 "project:config" "uses" "TypeScript" mayros mesh team create "code-review" --strategy last-write-wins \ --member alice:reviewer:review-auth --member bob:reviewer:review-api mayros mesh team status team-abc123 mayros mesh team list --format json mayros mesh team merge team-abc123
Related
- Multi-Agent — architecture overview
- Teams — team lifecycle and strategies
- Workflows — orchestrated multi-agent workflows