Module configuration
A module is defined by aModuleConfig:
Restart policies
Discovery
Modules are discovered through aDiscoverySpec that declares a namespace and the modules expected in that namespace:
Pre-spawn environment
Modules can receive environment variables before spawning:Core modules
MobKit ships with five core module types, each backed by an MCP server:
Each core module communicates with the runtime over MCP tool calls. Non-MCP modules use the JSON-line subprocess protocol.
Module health
Modules go through health state transitions tracked by the supervisor:
Health transitions are emitted as module events in the unified event stream.
Trusted modules
For production deployments, modules can be declared in amobkit.toml trust manifest:
See also
- Events — module events in the unified stream
- Module system guide — deep dive into routing and boundaries
- Architecture — how modules fit into the runtime
