Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.rkat.ai/llms.txt

Use this file to discover all available pages before exploring further.

A mob is Meerkat’s durable multi-agent unit. It turns several agent sessions into a coordinated team with stable member identities, role profiles, peer wiring, shared lifecycle events, and optional flows.

Why Mobs Exist

Single sessions are excellent for linear work. Mobs are for work that benefits from separate participants:
  • one lead plus several analysts
  • independent reviewers that compare findings
  • long-lived helper pools
  • incident rooms with specialized roles
  • browser-deployed teams packaged as mobpacks
Meerkat does not maintain a separate “sub-agent” substrate. Delegation and multi-agent orchestration compile to mob members.

The Objects

ObjectRole
MobDefinitionThe desired shape: profiles, wiring, topology, limits, flows
MobThe persisted aggregate: status, roster, events, flow runs, work
ProfileA reusable role contract: model, tools, skills, runtime mode
MemberA spawned agent session addressed by stable AgentIdentity
WiringThe peer graph that controls who can see and message whom
FlowA repeatable workflow across members

Stable Identity

Public mob APIs use AgentIdentity. Runtime bindings can rotate when a member respawns, moves, or reconnects, but the member’s public identity remains the key for status, wiring, work, and events.
AgentIdentity  -> durable member handle
AgentRuntimeId -> current runtime binding
FenceToken     -> stale-write guard
Generation     -> respawn counter
This is why callers wire lead-1 to analyst-1 instead of wiring internal session IDs.

Host Vs Agent Surfaces

Mobs deliberately expose two kinds of interfaces:
SurfaceCallerExamples
Agent toolsThe model inside a sessiondelegate, mob_create, mob_spawn_member, mob_wire
Host APIsApps, SDKs, CLI, and servicesmob/create, mob/spawn, mob/flow_run, Python/TypeScript/Web Mob
Public MCP toolsExternal MCP clientsmeerkat_mob_create, meerkat_mob_spawn, meerkat_mob_run_flow
Agent tools let an agent create or coordinate helpers while it is working. Host APIs let applications create, supervise, inspect, and drive teams directly.

Runtime Modes

autonomous_host is the default when a member’s runtime mode is omitted. The member behaves like a long-lived peer and receives work through the mob runtime. turn_driven is explicit. Use it when the host wants tighter control over when the member starts turns.

Flows And Work

Flows are repeatable workflows over members. Work lanes are tracked, cancellable pieces of work sent to a mob or member. Use a flow when the workflow itself is reusable; use work submission when an application needs a handle for one unit of work.

Portability

Mobpacks package a mob definition and optional assets into a .mobpack file. They are the portable deployment shape for signed teams, repeatable CLI/service deployment, and browser-target builds.

See Also

Mobs guide

Build, spawn, wire, run flows, observe, and troubleshoot mobs.

Mob architecture

Runtime ownership, identity, persistence, and flow internals.

Mobpack

Package and deploy portable mob artifacts.