Skip to content

JSON Import/Export for Agents #15

Description

@gromdimon

Overview

The current GAME framework lacks convenient methods to import/export agent configurations via JSON, similarly to one in the UI of GAME Sandbox.

Expected Behavior

  1. Import: Enable setting up agent parameters from a JSON file exported from the sandbox.
  2. Export: Allow saving the agent's configuration to a JSON file, similarly to sandbox export func.

Proposed API

  • Import:

    agent.from_json(json_path)

    Sets up the agent's parameters from a JSON configuration.

  • Export:

    agent.to_json(json_path)

    Saves the agent's current state to a JSON file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions