activeAgent

abstract fun activeAgent(): AgentConfig?(source)

Retrieve the active agent configuration, if any.

The first time this method is called, the configuration is found, read, and loaded from JSON; subsequent calls use a cached version.

Return

Active and decoded agent configuration, or null, if none exists.