maple.server.daemon.VLADaemon

class maple.server.daemon.VLADaemon(port: int, device: str, health_check_interval: float = 30.0)

MAPLE daemon server for managing policies, environments, and evaluations.

The daemon provides a FastAPI-based REST API for: - Pulling and serving policy models - Pulling and serving environment containers - Running evaluations with policy-environment interaction - Health monitoring of running containers - Graceful shutdown and cleanup

The daemon uses backend plugins for policy and environment management, allowing extensibility to different model types and simulation platforms.

Methods

__init__(port, device[, health_check_interval])

Initialize the MAPLE daemon.

get_image(payload)

Extract and concatenate images from payload for video recording.

start()

Start the daemon server.