Expand description
Coordinator โ lightweight gateway that manages worker registration, routing, and health monitoring.
Can run as:
- Standalone binary:
soma-coordinator --token sk-xxx --port 9090 - Embedded:
Coordinator::new().start_local()for development
The coordinator does NOT execute plans. It:
- Accepts worker registrations (with capabilities + heartbeats)
- Authenticates connections via bearer token
- Routes client plan submissions to appropriate workers
- Forwards worker events back to the client
Structsยง
- Worker
Registry - The worker registry โ tracks all known workers and their status.
- Worker
Status - Status of a registered worker.