Core Concepts
Runtime Relationship & Process
Collaboration model and process order across console, agent, service, and extension
Runtime Relationship & Process
This page focuses on two things:
- how the four roles collaborate
- how runtime processes are started and connected
1. Role Relationship
consoleis the control center: manages agent registry and receivesconfig/service/extensionoperational commands.agentis the execution center: handles message/task/tool execution and persistence in each project.serviceis the core domain layer: provides primary business workflows.extensionis the optional capability layer: provides shared enhancements across agents.
In one line:
console governs, agent runs, service/extension provide capabilities.
2. Process Startup Model
- Start console:
sma console start - Start agent in project:
sma agent on - Agent runtime loads project
ship.json(services.*,extensions.*,llm.*) - Inbound messages/tasks enter agent scheduling
- Agent invokes service/extension to complete execution
- Runtime traces are persisted to
.ship/*
3. Operational Checklist
sma console status
sma agent status .
sma service list
sma extension list