maple.cmd.cli.env

Environment management commands for the MAPLE CLI.

This module provides commands for interacting with running environment containers. It allows users to setup tasks, reset environments, step through episodes, query environment information, list available tasks, and stop environment containers.

Commands: - setup: Initialize an environment with a specific task - reset: Reset an environment to its initial state - step: Execute a single action step in the environment - info: Display information about an environment - tasks: List available tasks for an environment backend - stop: Stop one or all environment containers

Functions

env_info(env_id, port)

Display information about an environment.

env_tasks(backend, suite, port)

List available tasks for an environment backend.

reset_env(env_id, port, seed)

Reset an environment to its initial state.

setup_env(env_id, port, task, seed, env_kwargs)

Initialize an environment with a specific task.

step_env(env_id, action, port)

Execute a single action step in the environment.

stop_env(env_id, port)

Stop one or all environment containers.