Agents¶
What Agents Are¶
Agents are remote workers that can execute suite steps outside the main control-plane process.
They are useful for:
- isolated workloads
- heavier resource requirements
- remote execution pools
- host separation from the control plane
Worker Lifecycle¶
The current remote worker model includes:
- registration
- heartbeat
- claim next job
- extend lease
- report state
- report log lines
- complete the job
Control Plane Endpoints¶
Registration and runtime coordination endpoints include:
GET /api/v1/agentsPOST /api/v1/agents/registerPOST /api/v1/agents/{agentId}/heartbeatDELETE /api/v1/agents/{agentId}POST /api/v1/agent-control/claims/nextPOST /api/v1/agent-control/jobs/{jobId}/leasePOST /api/v1/agent-control/jobs/{jobId}/statePOST /api/v1/agent-control/jobs/{jobId}/logsPOST /api/v1/agent-control/jobs/{jobId}/complete
Worker Process Endpoints¶
The worker process itself exposes:
GET /healthzGET /api/v1/agent/infoPOST /api/v1/agent/runPOST /api/v1/agent/jobs/{jobId}/cancelPOST /api/v1/agent/jobs/{jobId}/cleanup
Payloads¶
When the control plane assigns work, the step request includes:
- execution metadata
- suite metadata
- profile and runtime profile
- env and headers
- backend identity
- dependency alias
- resolved ref and digest
- step order and node details
Backend Integration¶
Execution backends can route work to:
- local execution
- Kubernetes execution
- remote workers
Remote agents are surfaced in platform settings as remote-agent style entries and are also tracked at runtime through the agent registry.