agentscope.studio package

Submodules

Module contents

Import the entry point of AgentScope Studio.

agentscope.studio.init(host: str = '127.0.0.1', port: int = 5000, run_dirs: list[str] | str | None = None, debug: bool = False) None[source]

Start the AgentScope Studio web UI with the given configurations.

Parameters:
  • host (str, optional) – The host of the web UI. Defaults to “127.0.0.1”

  • port (int, optional) – The port of the web UI. Defaults to 5000.

  • run_dirs (Optional[Union[str, list[str]]], defaults to None) – The directories to search for the history of runtime instances.

  • debug (bool, optional) – Whether to enable the debug mode. Defaults to False.

agentscope.studio.as_studio() None[source]

Start the AgentScope Studio web UI in commandline